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.001028/0.001028, allocations: 173.1 kB / 15.77 MB, free: 6.32 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0008638/0.0008638, allocations: 90.36 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1714/0.1714, allocations: 38.07 MB / 356.6 MB, free: 0.8047 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005122/0.0005124, allocations: 16 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1388, allocations: 56.34 MB / 479.1 MB, free: 2.043 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.00584/0.1448, allocations: 4.255 MB / 483.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.1473, allocations: 1.12 MB / 484.4 MB, free: 12.64 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004817/0.1478, allocations: 23.81 kB / 484.5 MB, free: 12.61 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003067/0.1481, allocations: 55.53 kB / 484.5 MB, free: 12.56 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008591/0.149, allocations: 234.8 kB / 484.7 MB, free: 12.33 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.1495, allocations: 119.8 kB / 484.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008309/0.1503, allocations: 0.51 MB / 485.4 MB, free: 11.7 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.1506, allocations: 110.2 kB / 485.5 MB, free: 11.6 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004345/0.1511, allocations: 175.1 kB / 485.7 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000485/0.1516, allocations: 239.1 kB / 485.9 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 6.228e-05/0.1516, allocations: 12 kB / 485.9 MB, free: 11.18 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.996e-05/0.1517, allocations: 16 kB / 485.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001284/0.1519, allocations: 103.7 kB / 486 MB, free: 11.06 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.152, allocations: 89.52 kB / 486.1 MB, free: 10.97 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003304/0.1524, allocations: 271.3 kB / 486.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.66e-06/0.1524, allocations: 4 kB / 486.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.258e-06/0.1524, allocations: 0 / 486.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.738e-05/0.1524, allocations: 3.938 kB / 486.4 MB, free: 10.7 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.001431/0.1538, allocations: 0.64 MB / 487 MB, free: 10 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/0.1539, allocations: 8.031 kB / 487 MB, free: 9.996 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001436/0.154, allocations: 43.48 kB / 487.1 MB, free: 9.953 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.1547, allocations: 370.6 kB / 487.4 MB, free: 9.551 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.1548, allocations: 16.56 kB / 487.4 MB, free: 9.535 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.876e-05/0.1549, allocations: 27.98 kB / 487.5 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006339/0.1555, allocations: 360.7 kB / 487.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.1555, allocations: 0 / 487.8 MB, free: 9.121 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.253e-05/0.1556, allocations: 12 kB / 487.8 MB, free: 9.109 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.298e-05/0.1556, allocations: 11.95 kB / 487.8 MB, free: 9.098 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004297/0.156, allocations: 250 kB / 488.1 MB, free: 8.855 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00231/0.1583, allocations: 1.454 MB / 489.5 MB, free: 7.305 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002676/0.1586, allocations: 161 kB / 489.7 MB, free: 7.129 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001241/0.1588, allocations: 73.73 kB / 489.8 MB, free: 7.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1588, allocations: 11.94 kB / 489.8 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.161e-05/0.1588, allocations: 38.52 kB / 489.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.395e-06/0.1588, allocations: 0 / 489.8 MB, free: 6.992 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001232/0.1601, allocations: 0.672 MB / 490.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.907e-05/0.1601, allocations: 81.11 kB / 490.6 MB, free: 6.168 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003223/0.1605, allocations: 304.6 kB / 490.9 MB, free: 5.855 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.008e-05/0.1605, allocations: 29.7 kB / 490.9 MB, free: 5.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.1607, allocations: 215.6 kB / 491.1 MB, free: 5.605 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.841e-05/0.1607, allocations: 55.2 kB / 491.2 MB, free: 5.551 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.182e-05/0.1607, allocations: 4 kB / 491.2 MB, free: 5.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/0.1609, allocations: 342.8 kB / 491.5 MB, free: 5.203 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.161, allocations: 63.95 kB / 491.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001729/0.1612, allocations: 168.8 kB / 491.7 MB, free: 4.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.1613, allocations: 100 kB / 491.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1613, allocations: 0 / 491.8 MB, free: 4.832 MB / 330.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0004076/0.1617, allocations: 288.8 kB / 492.1 MB, free: 4.543 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1618, allocations: 7.953 kB / 492.1 MB, free: 4.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.547e-06/0.1618, allocations: 4 kB / 492.1 MB, free: 4.531 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.1618, allocations: 7.938 kB / 492.1 MB, free: 4.523 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002627/0.1621, allocations: 55.91 kB / 492.2 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1621, allocations: 4.438 kB / 492.2 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000174/0.1623, allocations: 19.98 kB / 492.2 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.159e-05/0.1623, allocations: 16 kB / 492.2 MB, free: 4.43 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.0001718/0.1625, allocations: 173.6 kB / 492.4 MB, free: 4.25 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.071e-05/0.1625, allocations: 23.72 kB / 492.4 MB, free: 4.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003888/0.1629, allocations: 235.4 kB / 492.6 MB, free: 3.992 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.236e-06/0.163, allocations: 4 kB / 492.7 MB, free: 3.988 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.566e-06/0.163, allocations: 3.953 kB / 492.7 MB, free: 3.984 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.469e-06/0.163, allocations: 4 kB / 492.7 MB, free: 3.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.1637, allocations: 0.6085 MB / 493.3 MB, free: 3.312 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.295e-06/0.1638, allocations: 3.938 kB / 493.3 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002046/0.164, allocations: 43.97 kB / 493.3 MB, free: 3.266 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-06/0.164, allocations: 3.953 kB / 493.3 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.164, allocations: 0 / 493.3 MB, free: 3.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.164, allocations: 4 kB / 493.3 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.164, allocations: 0 / 493.3 MB, free: 3.258 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005225/0.1645, allocations: 437 kB / 493.8 MB, free: 2.809 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.1646, allocations: 104.8 kB / 493.9 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.871e-05/0.1647, allocations: 4 kB / 493.9 MB, free: 2.684 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1648, allocations: 11.95 kB / 493.9 MB, free: 2.672 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.289e-05/0.1649, allocations: 11.98 kB / 493.9 MB, free: 2.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.1649, allocations: 7.984 kB / 493.9 MB, free: 2.652 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001896/0.1651, allocations: 211.1 kB / 494.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1651, allocations: 0 / 494.1 MB, free: 2.445 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003195/0.1654, allocations: 60 kB / 494.2 MB, free: 2.387 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.0001104/0.1655, allocations: 99.19 kB / 494.2 MB, free: 2.277 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003138/0.1659, allocations: 192.2 kB / 494.4 MB, free: 2.09 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.1659, allocations: 4.25 kB / 494.4 MB, free: 2.086 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.166, allocations: 87.89 kB / 494.5 MB, free: 2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004885/0.1665, allocations: 64.55 kB / 494.6 MB, free: 1.938 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.1677, allocations: 0.8377 MB / 495.4 MB, free: 1.07 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003639/0.168, allocations: 0.8106 MB / 496.2 MB, free: 240 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.839e-05/0.1681, allocations: 27.42 kB / 496.3 MB, free: 212 kB / 330.7 MB Notification: Performance of SimCode: time 2.11e-07/0.1681, allocations: 4 kB / 496.3 MB, free: 208 kB / 330.7 MB Notification: Performance of Templates: time 0.006437/0.1746, allocations: 3.821 MB / 0.4884 GB, free: 12.38 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)