Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=20000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001624/0.001624, allocations: 186.3 kB / 15.77 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.054/2.054, allocations: 205.4 MB / 221.9 MB, free: 13.8 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001163/0.001163, allocations: 90.88 kB / 270.2 MB, free: 13.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2736/0.2736, allocations: 38.05 MB / 356.6 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006703/0.0006706, allocations: 12 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1421, allocations: 56.33 MB / 479 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.009187/0.1514, allocations: 4.116 MB / 483.2 MB, free: 13.89 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.003863/0.1553, allocations: 1.128 MB / 484.3 MB, free: 12.76 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000495/0.1559, allocations: 23.81 kB / 484.3 MB, free: 12.74 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.1562, allocations: 51.59 kB / 484.4 MB, free: 12.69 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001152/0.1573, allocations: 203.3 kB / 484.6 MB, free: 12.49 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006143/0.158, allocations: 119.8 kB / 484.7 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008131/0.1588, allocations: 275.4 kB / 484.9 MB, free: 12.1 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003993/0.1592, allocations: 110.2 kB / 485 MB, free: 12 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005167/0.1598, allocations: 159.4 kB / 485.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006071/0.1604, allocations: 179.4 kB / 485.4 MB, free: 11.67 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 8.471e-05/0.1605, allocations: 16 kB / 485.4 MB, free: 11.65 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.1606, allocations: 12 kB / 485.4 MB, free: 11.64 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001709/0.1608, allocations: 103.7 kB / 485.5 MB, free: 11.54 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001176/0.1609, allocations: 81.52 kB / 485.6 MB, free: 11.45 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004287/0.1614, allocations: 275.3 kB / 485.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.1614, allocations: 0 / 485.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.833e-06/0.1614, allocations: 0 / 485.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.964e-06/0.1614, allocations: 0 / 485.9 MB, free: 11.18 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 64 * Number of variables: 64 Notification: Performance of Generate backend data structure: time 0.001794/0.1632, allocations: 0.6476 MB / 486.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.1633, allocations: 8.031 kB / 486.5 MB, free: 10.48 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.1634, allocations: 43.48 kB / 486.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009309/0.1644, allocations: 378.6 kB / 486.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.037e-05/0.1644, allocations: 20.56 kB / 486.9 MB, free: 10 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/0.1645, allocations: 35.98 kB / 487 MB, free: 9.969 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008971/0.1654, allocations: 348.7 kB / 487.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.1654, allocations: 0 / 487.3 MB, free: 9.594 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.72e-05/0.1655, allocations: 12 kB / 487.3 MB, free: 9.582 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.1655, allocations: 11.95 kB / 487.3 MB, free: 9.57 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007023/0.1662, allocations: 258 kB / 487.6 MB, free: 9.32 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.169, allocations: 1.446 MB / 489 MB, free: 7.777 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.1695, allocations: 157 kB / 489.2 MB, free: 7.605 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.1695, allocations: 4.062 kB / 489.2 MB, free: 7.602 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.551e-05/0.1696, allocations: 34.52 kB / 489.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 3.386e-06/0.1696, allocations: 0 / 489.2 MB, free: 7.559 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.00171/0.1713, allocations: 0.6682 MB / 489.9 MB, free: 6.836 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.418e-05/0.1714, allocations: 93.17 kB / 490 MB, free: 6.727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004694/0.1719, allocations: 296.5 kB / 490.3 MB, free: 6.422 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.175e-05/0.1719, allocations: 29.7 kB / 490.3 MB, free: 6.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002059/0.1722, allocations: 266.1 kB / 490.6 MB, free: 6.125 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.761e-05/0.1722, allocations: 59.19 kB / 490.6 MB, free: 6.066 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.863e-05/0.1723, allocations: 4 kB / 490.6 MB, free: 6.062 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1724, allocations: 318.8 kB / 490.9 MB, free: 5.742 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.1726, allocations: 67.94 kB / 491 MB, free: 5.676 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002653/0.1729, allocations: 160.8 kB / 491.2 MB, free: 5.473 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002716/0.1732, allocations: 99.84 kB / 491.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.099e-06/0.1732, allocations: 0 / 491.3 MB, free: 5.375 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006557/0.1739, allocations: 269.2 kB / 491.5 MB, free: 5.105 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.1739, allocations: 7.953 kB / 491.5 MB, free: 5.098 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.174, allocations: 4 kB / 491.5 MB, free: 5.094 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/0.174, allocations: 4.438 kB / 491.5 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004691/0.1745, allocations: 59.91 kB / 491.6 MB, free: 5.031 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.879e-05/0.1745, allocations: 19.92 kB / 491.6 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002979/0.1748, allocations: 11.91 kB / 491.6 MB, free: 5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.1749, allocations: 15.98 kB / 491.6 MB, free: 4.984 MB / 330.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 (29): * Single equations (assignments): 29 * 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.000261/0.1751, allocations: 165.7 kB / 491.8 MB, free: 4.812 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.511e-05/0.1752, allocations: 23.72 kB / 491.8 MB, free: 4.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006178/0.1758, allocations: 231.5 kB / 492.1 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/0.1759, allocations: 4 kB / 492.1 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.1759, allocations: 7.953 kB / 492.1 MB, free: 4.547 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.1759, allocations: 3.984 kB / 492.1 MB, free: 4.543 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001243/0.1772, allocations: 0.6162 MB / 492.7 MB, free: 3.867 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.992e-06/0.1772, allocations: 3.984 kB / 492.7 MB, free: 3.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003755/0.1776, allocations: 39.92 kB / 492.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.1776, allocations: 0 / 492.7 MB, free: 3.824 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.873e-05/0.1776, allocations: 11.95 kB / 492.7 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.1776, allocations: 0 / 492.7 MB, free: 3.812 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.1777, allocations: 8.016 kB / 492.7 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009075/0.1786, allocations: 444.4 kB / 493.2 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.1787, allocations: 112.7 kB / 493.3 MB, free: 3.207 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.937e-05/0.1788, allocations: 7.984 kB / 493.3 MB, free: 3.199 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002724/0.1791, allocations: 16.05 kB / 493.3 MB, free: 3.184 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.445e-05/0.1791, allocations: 11.98 kB / 493.3 MB, free: 3.172 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.309e-05/0.1792, allocations: 8 kB / 493.3 MB, free: 3.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003252/0.1795, allocations: 207.1 kB / 493.5 MB, free: 2.961 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1795, allocations: 0 / 493.5 MB, free: 2.961 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005244/0.18, allocations: 60 kB / 493.6 MB, free: 2.902 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (zLoadAC.psi) * 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 (20): * Single equations (assignments): 19 * 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.0001435/0.1802, allocations: 99.23 kB / 493.7 MB, free: 2.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000537/0.1808, allocations: 187.7 kB / 493.9 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1808, allocations: 0 / 493.9 MB, free: 2.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002364/0.181, allocations: 91.83 kB / 494 MB, free: 2.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006249/0.1817, allocations: 61.56 kB / 494 MB, free: 2.461 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001757/0.1834, allocations: 0.8385 MB / 494.9 MB, free: 1.59 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005717/0.184, allocations: 0.8106 MB / 495.7 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.1842, allocations: 31.42 kB / 495.7 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1842, allocations: 0 / 495.7 MB, free: 0.7227 MB / 330.7 MB Notification: Performance of Templates: time 0.009931/0.1942, allocations: 3.773 MB / 499.5 MB, free: 12.95 MB / 346.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1)