Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.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.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009002/0.0009001, allocations: 179.3 kB / 17.4 MB, free: 4.422 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.395/1.395, allocations: 194.5 MB / 212.6 MB, free: 2.945 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.00162/0.00162, allocations: 123 kB / 257.9 MB, free: 4.25 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.177/0.177, allocations: 38 MB / 341.1 MB, free: 1.191 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006135/0.0006138, allocations: 16 kB / 405 MB, free: 68.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.11, allocations: 53.24 MB / 458.3 MB, free: 15.25 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4064/0.5165, allocations: 90.39 MB / 0.5358 GB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002582/0.5168, allocations: 89.77 kB / 0.5359 GB, free: 4.973 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03362/0.5504, allocations: 14.67 MB / 0.5502 GB, free: 8.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.485e-06/0.5505, allocations: 3.938 kB / 0.5502 GB, free: 8.895 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.14e-05/0.5505, allocations: 4 kB / 0.5502 GB, free: 8.891 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.0009275/0.5514, allocations: 0.5029 MB / 0.5507 GB, free: 8.352 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.5515, allocations: 8.031 kB / 0.5507 GB, free: 8.344 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001086/0.5526, allocations: 113.1 kB / 0.5508 GB, free: 8.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004769/0.5531, allocations: 274 kB / 0.5511 GB, free: 7.949 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.641e-05/0.5532, allocations: 13.25 kB / 0.5511 GB, free: 7.941 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.398e-05/0.5532, allocations: 17.38 kB / 0.5511 GB, free: 7.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006035/0.5538, allocations: 322.3 kB / 0.5514 GB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.611e-05/0.5539, allocations: 0 / 0.5514 GB, free: 7.668 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.607e-05/0.5539, allocations: 10.56 kB / 0.5514 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.608e-05/0.5539, allocations: 12 kB / 0.5514 GB, free: 7.652 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005012/0.5544, allocations: 290.2 kB / 0.5517 GB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001853/0.5563, allocations: 1.274 MB / 0.553 GB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003568/0.5567, allocations: 206.5 kB / 0.5532 GB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.034e-05/0.5568, allocations: 44.7 kB / 0.5532 GB, free: 5.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.5568, allocations: 8 kB / 0.5532 GB, free: 5.973 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.533e-05/0.5568, allocations: 33.12 kB / 0.5532 GB, free: 5.934 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/0.5569, allocations: 0 / 0.5532 GB, free: 5.934 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0003459/0.5572, allocations: 142.8 kB / 0.5534 GB, free: 5.812 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.173e-05/0.5573, allocations: 77.11 kB / 0.5534 GB, free: 5.719 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.5575, allocations: 210.5 kB / 0.5536 GB, free: 5.535 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.107e-05/0.5576, allocations: 28.33 kB / 0.5537 GB, free: 5.504 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.5577, allocations: 174.2 kB / 0.5538 GB, free: 5.348 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.923e-05/0.5577, allocations: 37.59 kB / 0.5539 GB, free: 5.316 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.554e-06/0.5578, allocations: 3.125 kB / 0.5539 GB, free: 5.316 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.5579, allocations: 324.5 kB / 0.5542 GB, free: 4.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.023e-05/0.558, allocations: 36.86 kB / 0.5542 GB, free: 4.973 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.5581, allocations: 138.9 kB / 0.5544 GB, free: 4.805 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002358/0.5584, allocations: 193.5 kB / 0.5545 GB, free: 4.605 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5584, allocations: 4 kB / 0.5545 GB, free: 4.602 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003222/0.5587, allocations: 202.8 kB / 0.5547 GB, free: 4.434 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.5588, allocations: 12 kB / 0.5547 GB, free: 4.422 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.839e-06/0.5588, allocations: 7.938 kB / 0.5548 GB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.5588, allocations: 4 kB / 0.5548 GB, free: 4.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001617/0.559, allocations: 39.98 kB / 0.5548 GB, free: 4.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.559, allocations: 11.92 kB / 0.5548 GB, free: 4.359 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.5591, allocations: 27.31 kB / 0.5548 GB, free: 4.336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5592, allocations: 8 kB / 0.5548 GB, free: 4.328 MB / 362.7 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001595/0.5593, allocations: 152 kB / 0.555 GB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.937e-05/0.5594, allocations: 27.73 kB / 0.555 GB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.5596, allocations: 116.6 kB / 0.5551 GB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.5596, allocations: 0 / 0.5551 GB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.5596, allocations: 4.062 kB / 0.5551 GB, free: 4.062 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.622e-06/0.5597, allocations: 4 kB / 0.5551 GB, free: 4.059 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008403/0.5605, allocations: 0.5734 MB / 0.5557 GB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.5605, allocations: 4 kB / 0.5557 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.183e-05/0.5606, allocations: 16 kB / 0.5557 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5606, allocations: 4 kB / 0.5557 GB, free: 3.445 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.616e-05/0.5607, allocations: 7.5 kB / 0.5557 GB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.5607, allocations: 12.17 kB / 0.5557 GB, free: 3.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.5607, allocations: 8 kB / 0.5557 GB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003577/0.5611, allocations: 284.9 kB / 0.556 GB, free: 3.125 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.159e-05/0.5612, allocations: 96.61 kB / 0.5561 GB, free: 3.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.5612, allocations: 4 kB / 0.5561 GB, free: 3.012 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001341/0.5614, allocations: 4.125 kB / 0.5561 GB, free: 3.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.5614, allocations: 19.42 kB / 0.5561 GB, free: 2.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.343e-05/0.5614, allocations: 7.938 kB / 0.5561 GB, free: 2.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001528/0.5616, allocations: 163.1 kB / 0.5563 GB, free: 2.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5616, allocations: 0 / 0.5563 GB, free: 2.848 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004467/0.562, allocations: 55.59 kB / 0.5563 GB, free: 2.797 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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.0001681/0.5622, allocations: 106.7 kB / 0.5564 GB, free: 2.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002649/0.5625, allocations: 117.6 kB / 0.5566 GB, free: 2.594 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.5625, allocations: 0 / 0.5566 GB, free: 2.594 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.5626, allocations: 44.17 kB / 0.5566 GB, free: 2.559 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005945/0.5632, allocations: 35.22 kB / 0.5566 GB, free: 2.531 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001073/0.5643, allocations: 0.524 MB / 0.5571 GB, free: 1.984 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004527/0.5648, allocations: 0.7471 MB / 0.5579 GB, free: 1.219 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.5649, allocations: 37.52 kB / 0.5579 GB, free: 1.184 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.906e-05/0.565, allocations: 19.44 kB / 0.5579 GB, free: 1.164 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.565, allocations: 0 / 0.5579 GB, free: 1.164 MB / 362.7 MB Notification: Performance of Templates: time 0.004222/0.5692, allocations: 1.13 MB / 0.559 GB, free: 48 kB / 362.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)