View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000532 | ascend | pygtk gui | public | 2012-03-21 04:35 | 2012-04-28 10:25 |
Reporter | john | ||||
Assigned To | |||||
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Platform | Windows | OS | Windows | OS Version | 7 |
Product Version | 0.9.8 | ||||
Target Version | 1.0 | Fixed in Version | |||
Summary | 0000532: Model reload is really slow on Win7 64-bit | ||||
Description | On Linux, reloading a model is fast, but on 64-bit Windows, it seems to be slow. Need to characterise why that is... perhaps the 64-bit migration has added a bug, or perhaps there's something we're doing inefficiently. Or perhaps it's just a slowdown from using MALLOC_DEBUG in the binaries. | ||||
Tags | No tags attached. | ||||
|
might be related to bug 0000537? |
|
Appears not to be related to bug 537. Models with ExtPy seem to be getting RE-loaded during the process of clearing the library. See here: ascxx/library.cpp:390 (clear): Clearing library... ascend/compiler/module.c:1008 (ModuleSearchPath): File 'models/johnpye/fprops/combinedcycle_fprops.a4c' opened directly, without path search Note: Module combinedcycle_fprops.a4c<0>: Module for 'models/johnpye/fprops/combinedcycle_fprops.a4c' created OK. ascxx/library.cpp:117 (load): Beginning parse of combinedcycle_fprops.a4c<0> models/johnpye/extpy/extpy.c:348 (extpy_import): Importing Python script /home/john/ascend/models/johnpye/fprops/cycle_plot.py models/johnpye/extpy/extpy.c:351 (extpy_import): Python was already initialised models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a simple Rankine cycle models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a regenerative Rankine cycle models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a regenerative Rankine cycle (bleed steam regen) models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagran for regenerative gas turbine models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for combined-cycle gas turbine models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-H diagram of heat transfer in a heater_closed model models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-H diagram of heat transfer in a heater_closed model ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "system.a4l" already PROVIDEd models/johnpye/extpy/extpy.c:348 (extpy_import): Importing Python script /home/john/ascend/models/johnpye/fprops/cycle_plot.py models/johnpye/extpy/extpy.c:351 (extpy_import): Python was already initialised models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a simple Rankine cycle models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a regenerative Rankine cycle models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a regenerative Rankine cycle (bleed steam regen) models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagran for regenerative gas turbine models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for combined-cycle gas turbine models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-H diagram of heat transfer in a heater_closed model models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-H diagram of heat transfer in a heater_closed model ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "johnpye/thermo_types.a4c" already PROVIDEd ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "atoms.a4l" already PROVIDEd ascend/compiler/scanner.l:837 (Asc_ScannerPushBuffer): REQUIREd module "johnpye/thermo_types.a4c" already PROVIDEd models/johnpye/extpy/extpy.c:348 (extpy_import): Importing Python script /home/john/ascend/models/johnpye/fprops/cycle_plot.py models/johnpye/extpy/extpy.c:351 (extpy_import): Python was already initialised models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a simple Rankine cycle models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a regenerative Rankine cycle models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for a regenerative Rankine cycle (bleed steam regen) models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagran for regenerative gas turbine models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-s diagram for combined-cycle gas turbine models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-H diagram of heat transfer in a heater_closed model models/johnpye/extpy/extpy.c:269 (extpy_registermethod): DOCSTRING: Plot T-H diagram of heat transfer in a heater_closed model ascxx/library.cpp:141 (load): 7 library entries loaded from models/johnpye/fprops/combinedcycle_fprops.a4c Relation sharing set to True Binary compilation set to False Pass1RealExecuteFOR called models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: water models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: water models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: water models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: water models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: water models/johnpye/fprops/asc_helmholtz.c:182 (helmholtz_prepare): COMPONENT: water ascxx/simulation.cpp:230 (run): Running method 'on_load' on simulation 'combinedcycle_water_sim'... ascxx/simulation.cpp:563 (build): Building system... ascend/system/system.c:95 (system_build): System built (time <1ms) ascxx/simulation.cpp:583 (build): System built OK PYTHON: SOLVER is now QRSlv |