Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Frequency.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.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") translateModel(PowerSystems.Examples.Introductory.Frequency,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Frequency") [: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.001027/0.001027, allocations: 189.6 kB / 8.137 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.165/1.165, allocations: 194.2 MB / 202.8 MB, free: 8.664 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001709/0.001709, allocations: 110.6 kB / 247.7 MB, free: 6.379 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1697/0.1697, allocations: 37.91 MB / 330.5 MB, free: 6.914 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 6.933e-06/6.973e-06, allocations: 0 / 389.8 MB, free: 78.1 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1062, allocations: 53.23 MB / 443 MB, free: 24.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3357/0.4419, allocations: 89.36 MB / 0.5199 GB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000225/0.4422, allocations: 77.98 kB / 0.52 GB, free: 10.68 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.02699/0.4692, allocations: 9.802 MB / 0.5295 GB, free: 6.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.915e-05/0.4692, allocations: 10.56 kB / 0.5296 GB, free: 6.879 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001231/0.4705, allocations: 0.6749 MB / 0.5302 GB, free: 6.34 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.4705, allocations: 12.88 kB / 0.5302 GB, free: 6.336 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001795/0.4707, allocations: 56.31 kB / 0.5303 GB, free: 6.305 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002563/0.4733, allocations: 1.013 MB / 0.5313 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.4733, allocations: 11.97 kB / 0.5313 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.271e-05/0.4734, allocations: 21.5 kB / 0.5313 GB, free: 5.793 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000544/0.474, allocations: 276.5 kB / 0.5316 GB, free: 5.766 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005886/0.4746, allocations: 397.7 kB / 0.5319 GB, free: 5.578 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.122e-05/0.4746, allocations: 5.328 kB / 0.532 GB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.311e-05/0.4746, allocations: 1.156 kB / 0.532 GB, free: 5.574 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.4747, allocations: 14.22 kB / 0.532 GB, free: 5.57 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001889/0.4766, allocations: 1.687 MB / 0.5336 GB, free: 4.246 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000189/0.4768, allocations: 124.5 kB / 0.5337 GB, free: 4.168 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.392e-05/0.4768, allocations: 51.36 kB / 0.5338 GB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.959e-05/0.4769, allocations: 5.156 kB / 0.5338 GB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.202e-05/0.4769, allocations: 38.95 kB / 0.5338 GB, free: 4.098 MB / 346.7 MB Notification: Performance of pre-optimization done (n=14): time 2.405e-06/0.4769, allocations: 1.375 kB / 0.5338 GB, free: 4.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=15): time 0.0008711/0.4778, allocations: 0.5424 MB / 0.5344 GB, free: 3.652 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.531e-05/0.4779, allocations: 116 kB / 0.5345 GB, free: 3.516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003105/0.4782, allocations: 284.7 kB / 0.5347 GB, free: 3.387 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.4782, allocations: 25.7 kB / 0.5348 GB, free: 3.355 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.4783, allocations: 237.9 kB / 0.535 GB, free: 3.168 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.067e-05/0.4784, allocations: 54.77 kB / 0.535 GB, free: 3.129 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.466e-06/0.4784, allocations: 0 / 0.535 GB, free: 3.129 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.4785, allocations: 346.4 kB / 0.5354 GB, free: 2.805 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.4785, allocations: 38.06 kB / 0.5354 GB, free: 2.805 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.4787, allocations: 185.5 kB / 0.5356 GB, free: 2.613 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.4788, allocations: 84.5 kB / 0.5357 GB, free: 2.551 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.4788, allocations: 3.938 kB / 0.5357 GB, free: 2.547 MB / 346.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0003216/0.4792, allocations: 239.9 kB / 0.5359 GB, free: 2.34 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.4792, allocations: 4 kB / 0.5359 GB, free: 2.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.4792, allocations: 4 kB / 0.5359 GB, free: 2.332 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.4792, allocations: 11.91 kB / 0.5359 GB, free: 2.32 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/0.4795, allocations: 72.34 kB / 0.536 GB, free: 2.254 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.095e-05/0.4795, allocations: 7.938 kB / 0.536 GB, free: 2.246 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.4797, allocations: 15.98 kB / 0.536 GB, free: 2.23 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.81e-05/0.4797, allocations: 12 kB / 0.536 GB, free: 2.219 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (37): * Single equations (assignments): 37 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.85e-05/0.4798, allocations: 119.8 kB / 0.5361 GB, free: 2.098 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.4799, allocations: 31.62 kB / 0.5362 GB, free: 2.066 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002378/0.4801, allocations: 156.6 kB / 0.5363 GB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.4801, allocations: 0 / 0.5363 GB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4801, allocations: 0 / 0.5363 GB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.4802, allocations: 8 kB / 0.5363 GB, free: 1.93 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005146/0.4807, allocations: 474.1 kB / 0.5368 GB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.4807, allocations: 0 / 0.5368 GB, free: 1.496 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001927/0.4809, allocations: 35.92 kB / 0.5368 GB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.4809, allocations: 0 / 0.5368 GB, free: 1.461 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.4809, allocations: 4 kB / 0.5368 GB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.4809, allocations: 0 / 0.5368 GB, free: 1.457 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/0.4809, allocations: 4 kB / 0.5368 GB, free: 1.453 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003077/0.4813, allocations: 414.9 kB / 0.5372 GB, free: 1.051 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.381e-05/0.4813, allocations: 116.7 kB / 0.5373 GB, free: 0.9219 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.057e-05/0.4814, allocations: 4.094 kB / 0.5373 GB, free: 0.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.4816, allocations: 3.938 kB / 0.5373 GB, free: 0.9141 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.4816, allocations: 11.98 kB / 0.5373 GB, free: 0.9023 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.297e-06/0.4816, allocations: 4.25 kB / 0.5373 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0001634/0.4818, allocations: 218.2 kB / 0.5376 GB, free: 0.7266 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003981/0.4822, allocations: 68 kB / 0.5376 GB, free: 0.6602 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (voltage2.theta,ind2.i,ind1.i) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001135/0.4823, allocations: 103.2 kB / 0.5377 GB, free: 0.5469 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002013/0.4825, allocations: 136.9 kB / 0.5378 GB, free: 452 kB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.4825, allocations: 0 / 0.5378 GB, free: 452 kB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.762e-05/0.4826, allocations: 52.94 kB / 0.5379 GB, free: 412 kB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.4831, allocations: 86.5 kB / 0.538 GB, free: 352 kB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.4843, allocations: 0.6171 MB / 0.5386 GB, free: 15.73 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005105/0.4848, allocations: 0.8823 MB / 0.5394 GB, free: 14.84 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.4848, allocations: 0 / 0.5394 GB, free: 14.84 MB / 362.7 MB Notification: Performance of Templates: time 0.00707/0.4919, allocations: 2.895 MB / 0.5423 GB, free: 12 MB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.makefile (rm -f PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Frequency.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Frequency -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Frequency.pipe 2>&1)