Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo", uses=false) Using package PowerSysPro with version 2.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") translateModel(PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001703/0.001703, allocations: 189.1 kB / 7.844 MB, free: 2.508 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 221.4 MB / 229.7 MB, free: 3.348 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009642/0.0009642, allocations: 99.88 kB / 280.5 MB, free: 1.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSysPro 2.3.1/package.mo): time 0.04198/0.04198, allocations: 8.096 MB / 339.4 MB, free: 6.355 MB / 282.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_Algorithm = "Dassl" Notification: Performance of FrontEnd - loaded program: time 1.039e-05/1.041e-05, allocations: 0 / 397.9 MB, free: 68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 52.52 MB / 450.4 MB, free: 15.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3211/0.4457, allocations: 80.56 MB / 0.5185 GB, free: 13.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002219/0.446, allocations: 69.77 kB / 0.5186 GB, free: 13.57 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02451/0.4705, allocations: 9.099 MB / 0.5275 GB, free: 6.59 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.944e-05/0.4706, allocations: 8 kB / 0.5275 GB, free: 6.582 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.001485/0.4721, allocations: 0.6151 MB / 0.5281 GB, free: 5.957 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.4721, allocations: 11.97 kB / 0.5281 GB, free: 5.945 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001277/0.4723, allocations: 39.62 kB / 0.5281 GB, free: 5.906 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004426/0.4727, allocations: 253.9 kB / 0.5284 GB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.63e-05/0.4728, allocations: 68.06 kB / 0.5285 GB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.054e-05/0.4729, allocations: 19.94 kB / 0.5285 GB, free: 5.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005163/0.4734, allocations: 309.2 kB / 0.5288 GB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005283/0.4739, allocations: 300.6 kB / 0.5291 GB, free: 5.184 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.474, allocations: 4 kB / 0.5291 GB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.673e-05/0.474, allocations: 3.906 kB / 0.5291 GB, free: 5.176 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.474, allocations: 4 kB / 0.5291 GB, free: 5.172 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001955/0.476, allocations: 1.349 MB / 0.5304 GB, free: 4.027 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004819/0.4765, allocations: 368.7 kB / 0.5307 GB, free: 3.793 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002558/0.4767, allocations: 189.5 kB / 0.5309 GB, free: 3.688 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.23e-05/0.4768, allocations: 7.75 kB / 0.5309 GB, free: 3.684 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003814/0.4772, allocations: 249.1 kB / 0.5312 GB, free: 3.504 MB / 346.7 MB Notification: Performance of pre-optimization done (n=42): time 3.076e-06/0.4772, allocations: 0 / 0.5312 GB, free: 3.504 MB / 346.7 MB Notification: Performance of matching and sorting (n=42): time 0.001841/0.4791, allocations: 0.6099 MB / 0.5318 GB, free: 3.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.906e-05/0.4791, allocations: 55.41 kB / 0.5318 GB, free: 2.984 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.4793, allocations: 160.4 kB / 0.532 GB, free: 2.84 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.928e-05/0.4794, allocations: 25.7 kB / 0.532 GB, free: 2.809 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.684e-05/0.4795, allocations: 135.4 kB / 0.5321 GB, free: 2.68 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000134/0.4796, allocations: 139.3 kB / 0.5323 GB, free: 2.559 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.15e-05/0.4796, allocations: 0 / 0.5323 GB, free: 2.559 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.4798, allocations: 337.9 kB / 0.5326 GB, free: 2.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002255/0.48, allocations: 151.1 kB / 0.5327 GB, free: 2.152 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002602/0.4803, allocations: 191.2 kB / 0.5329 GB, free: 2.023 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005677/0.4809, allocations: 202.4 kB / 0.5331 GB, free: 1.898 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.046e-06/0.4809, allocations: 0 / 0.5331 GB, free: 1.898 MB / 346.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001758/0.4826, allocations: 0.6554 MB / 0.5337 GB, free: 1.414 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/0.4827, allocations: 8 kB / 0.5337 GB, free: 1.406 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.4827, allocations: 4 kB / 0.5337 GB, free: 1.402 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001198/0.4839, allocations: 281.7 kB / 0.534 GB, free: 1.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002446/0.4841, allocations: 51.89 kB / 0.5341 GB, free: 1.129 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003573/0.4877, allocations: 2.467 MB / 0.5365 GB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002568/0.488, allocations: 15.89 kB / 0.5365 GB, free: 15.1 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.256e-05/0.4881, allocations: 20.67 kB / 0.5365 GB, free: 15.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,brk2.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of prepare postOptimizeDAE: time 0.0001283/0.4882, allocations: 112.8 kB / 0.5366 GB, free: 14.96 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.984e-05/0.4883, allocations: 27.72 kB / 0.5366 GB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001835/0.4901, allocations: 0.6911 MB / 0.5373 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.975e-06/0.4901, allocations: 4 kB / 0.5373 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4901, allocations: 128 / 0.5373 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.596e-06/0.4901, allocations: 4 kB / 0.5373 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/0.4907, allocations: 448.4 kB / 0.5378 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.4907, allocations: 0 / 0.5378 GB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.4909, allocations: 59.72 kB / 0.5378 GB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001116/0.492, allocations: 274.4 kB / 0.5381 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.217e-05/0.492, allocations: 7.984 kB / 0.5381 GB, free: 13.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003453/0.4955, allocations: 2.459 MB / 0.5405 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.4955, allocations: 0 / 0.5405 GB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001656/0.4972, allocations: 0.6539 MB / 0.5411 GB, free: 11.26 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.4973, allocations: 119.3 kB / 0.5412 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.757e-05/0.4974, allocations: 0 / 0.5412 GB, free: 11.12 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002297/0.4976, allocations: 15.98 kB / 0.5412 GB, free: 11.11 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.008e-05/0.4977, allocations: 27.02 kB / 0.5413 GB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.4977, allocations: 18.19 kB / 0.5413 GB, free: 11.07 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.0001061/0.4978, allocations: 133.8 kB / 0.5414 GB, free: 10.96 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004815/0.4983, allocations: 111.1 kB / 0.5415 GB, free: 10.86 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,brk2.BrkOpen) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002049/0.4985, allocations: 107.2 kB / 0.5416 GB, free: 10.74 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001214/0.4998, allocations: 0.5958 MB / 0.5422 GB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4998, allocations: 0 / 0.5422 GB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008258/0.5006, allocations: 428.4 kB / 0.5426 GB, free: 9.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/0.5009, allocations: 23.58 kB / 0.5426 GB, free: 9.953 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.5018, allocations: 366.4 kB / 0.543 GB, free: 9.637 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004283/0.5022, allocations: 0.8034 MB / 0.5438 GB, free: 8.809 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.5022, allocations: 0 / 0.5438 GB, free: 8.809 MB / 362.7 MB Notification: Performance of Templates: time 0.01109/0.5133, allocations: 6.319 MB / 0.5499 GB, free: 2.512 MB / 362.7 MB make -j1 -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.makefile (rm -f PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; mkfifo PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe ; head -c 1048576 < PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe >> ../files/PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.sim & ./PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSysPro_PowerSysPro.Examples.UsingDiesel.OneDieselRescuingOneLoad.pipe 2>&1)