Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [: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 3.2.2+maint.om/package.mo): time 0.001174/0.001174, allocations: 190 kB / 8.14 MB, free: 0.8672 MB / 6.77 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.284/1.284, allocations: 194.2 MB / 202.8 MB, free: 1.973 MB / 162.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001838/0.001838, allocations: 120.3 kB / 247.8 MB, free: 4.98 MB / 210.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1761/0.1761, allocations: 37.9 MB / 330.5 MB, free: 7.078 MB / 242.8 MB Notification: Performance of FrontEnd - loaded program: time 7.144e-06/7.174e-06, allocations: 0 / 389.8 MB, free: 20.17 MB / 258.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1098, allocations: 53.22 MB / 443 MB, free: 14.93 MB / 306.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4062/0.5161, allocations: 92.51 MB / 0.523 GB, free: 0.9258 MB / 354.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/0.5164, allocations: 83.19 kB / 0.5231 GB, free: 0.8828 MB / 354.8 MB Notification: Performance of FrontEnd: time 0.05722/0.5737, allocations: 23.45 MB / 0.5459 GB, free: 13.82 MB / 386.8 MB Notification: Performance of Transformations before backend: time 3.523e-05/0.5738, allocations: 12 kB / 0.546 GB, free: 13.81 MB / 386.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 114 * Number of variables: 114 Notification: Performance of Generate backend data structure: time 0.001394/0.5752, allocations: 0.6796 MB / 0.5466 GB, free: 13.12 MB / 386.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.671e-05/0.5752, allocations: 8.031 kB / 0.5466 GB, free: 13.11 MB / 386.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002031/0.5773, allocations: 215.1 kB / 0.5468 GB, free: 12.9 MB / 386.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006996/0.578, allocations: 365.5 kB / 0.5472 GB, free: 12.54 MB / 386.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.454e-05/0.578, allocations: 16 kB / 0.5472 GB, free: 12.53 MB / 386.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.5781, allocations: 31.41 kB / 0.5472 GB, free: 12.5 MB / 386.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007309/0.5789, allocations: 448 kB / 0.5477 GB, free: 12.2 MB / 386.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.5797, allocations: 0.5558 MB / 0.5482 GB, free: 11.76 MB / 386.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.772e-05/0.5797, allocations: 4 kB / 0.5482 GB, free: 11.76 MB / 386.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.331e-05/0.5798, allocations: 0 / 0.5482 GB, free: 11.76 MB / 386.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001253/0.5799, allocations: 44.28 kB / 0.5482 GB, free: 11.72 MB / 386.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003379/0.5833, allocations: 2.233 MB / 0.5504 GB, free: 9.789 MB / 386.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005978/0.5839, allocations: 463.6 kB / 0.5509 GB, free: 9.406 MB / 386.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003059/0.5842, allocations: 237.3 kB / 0.5511 GB, free: 9.25 MB / 386.8 MB Notification: Performance of preOpt evalFunc (simulation): time 4.566e-05/0.5843, allocations: 11.98 kB / 0.5511 GB, free: 9.238 MB / 386.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.116e-05/0.5843, allocations: 46.23 kB / 0.5512 GB, free: 9.188 MB / 386.8 MB Notification: Performance of pre-optimization done (n=44): time 2.174e-06/0.5844, allocations: 0 / 0.5512 GB, free: 9.188 MB / 386.8 MB Notification: Performance of matching and sorting (n=45): time 0.002205/0.5866, allocations: 1.242 MB / 0.5524 GB, free: 8.141 MB / 386.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.191e-05/0.5866, allocations: 85.11 kB / 0.5524 GB, free: 8.039 MB / 386.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002034/0.5868, allocations: 200.9 kB / 0.5526 GB, free: 7.863 MB / 386.8 MB Notification: Performance of collectPreVariables (initialization): time 3.672e-05/0.5869, allocations: 25.7 kB / 0.5527 GB, free: 7.832 MB / 386.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.587, allocations: 208.5 kB / 0.5529 GB, free: 7.645 MB / 386.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.5871, allocations: 149.5 kB / 0.553 GB, free: 7.512 MB / 386.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.072e-05/0.5871, allocations: 0 / 0.553 GB, free: 7.512 MB / 386.8 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.5873, allocations: 345.7 kB / 0.5533 GB, free: 7.18 MB / 386.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002506/0.5875, allocations: 174.4 kB / 0.5535 GB, free: 7.07 MB / 386.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003042/0.5879, allocations: 282.5 kB / 0.5538 GB, free: 6.82 MB / 386.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003117/0.5882, allocations: 225.6 kB / 0.554 GB, free: 6.668 MB / 386.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.5882, allocations: 3.938 kB / 0.554 GB, free: 6.664 MB / 386.8 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001181/0.5894, allocations: 0.6416 MB / 0.5546 GB, free: 6.16 MB / 386.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.5894, allocations: 8.062 kB / 0.5546 GB, free: 6.152 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.5894, allocations: 4 kB / 0.5546 GB, free: 6.148 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006128/0.59, allocations: 156.7 kB / 0.5548 GB, free: 6.02 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004259/0.5905, allocations: 103.2 kB / 0.5549 GB, free: 5.922 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002999/0.5935, allocations: 2.289 MB / 0.5571 GB, free: 3.836 MB / 386.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000274/0.5938, allocations: 19.92 kB / 0.5571 GB, free: 3.816 MB / 386.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.979e-05/0.5938, allocations: 19.27 kB / 0.5571 GB, free: 3.801 MB / 386.8 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: fixedLoad.terminal.i[2]:VARIABLE(flow=true unit = "A" nominal = 1.0 ) "current vector" type: Real [2] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {4 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001692/0.594, allocations: 117.1 kB / 0.5573 GB, free: 3.684 MB / 386.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.702e-05/0.5941, allocations: 35.53 kB / 0.5573 GB, free: 3.648 MB / 386.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001168/0.5953, allocations: 0.6071 MB / 0.5579 GB, free: 3.203 MB / 386.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.973e-06/0.5953, allocations: 8 kB / 0.5579 GB, free: 3.195 MB / 386.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.5953, allocations: 0 / 0.5579 GB, free: 3.195 MB / 386.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5953, allocations: 3.984 kB / 0.5579 GB, free: 3.191 MB / 386.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002622/0.5979, allocations: 1.336 MB / 0.5592 GB, free: 2.039 MB / 386.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.389e-06/0.5979, allocations: 0 / 0.5592 GB, free: 2.039 MB / 386.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004158/0.5984, allocations: 83.89 kB / 0.5593 GB, free: 1.957 MB / 386.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004664/0.5988, allocations: 132.8 kB / 0.5594 GB, free: 1.824 MB / 386.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.821e-05/0.5989, allocations: 4 kB / 0.5594 GB, free: 1.82 MB / 386.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002741/0.6016, allocations: 2.146 MB / 0.5615 GB, free: 15.55 MB / 402.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.059e-06/0.6017, allocations: 7.906 kB / 0.5615 GB, free: 15.55 MB / 402.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001482/0.6032, allocations: 0.9816 MB / 0.5625 GB, free: 14.52 MB / 402.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6033, allocations: 116.6 kB / 0.5626 GB, free: 14.39 MB / 402.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.7e-05/0.6033, allocations: 4 kB / 0.5626 GB, free: 14.38 MB / 402.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002246/0.6036, allocations: 4 kB / 0.5626 GB, free: 14.38 MB / 402.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.6036, allocations: 23.95 kB / 0.5626 GB, free: 14.36 MB / 402.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.239e-05/0.6037, allocations: 12 kB / 0.5626 GB, free: 14.34 MB / 402.8 MB Notification: Performance of sort global known variables: time 0.0001569/0.6038, allocations: 165.2 kB / 0.5628 GB, free: 14.18 MB / 402.8 MB Notification: Performance of remove unused functions: time 0.0006738/0.6045, allocations: 131.9 kB / 0.5629 GB, free: 14.05 MB / 402.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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 {3 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.000205/0.6047, allocations: 107.2 kB / 0.563 GB, free: 13.94 MB / 402.8 MB Notification: Performance of simCode: created initialization part: time 0.001248/0.606, allocations: 0.6335 MB / 0.5636 GB, free: 13.3 MB / 402.8 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.606, allocations: 0 / 0.5636 GB, free: 13.3 MB / 402.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0007061/0.6067, allocations: 401.7 kB / 0.564 GB, free: 12.89 MB / 402.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.6071, allocations: 48.33 kB / 0.5641 GB, free: 12.85 MB / 402.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.6091, allocations: 0.9093 MB / 0.5649 GB, free: 11.91 MB / 402.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006585/0.6097, allocations: 0.9134 MB / 0.5658 GB, free: 10.96 MB / 402.8 MB Notification: Performance of SimCode: time 2.4e-07/0.6097, allocations: 0 / 0.5658 GB, free: 10.96 MB / 402.8 MB Notification: Performance of Templates: time 0.01148/0.6212, allocations: 5.427 MB / 0.5711 GB, free: 5.527 MB / 402.8 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1)