Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.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.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest") translateModel(PowerSystems.Examples.Generic.Test.PMeterTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009517/0.0009518, allocations: 173.5 kB / 16.76 MB, free: 5.059 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.753/1.753, allocations: 205.4 MB / 222.9 MB, free: 9.031 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.001219/0.001219, allocations: 92.98 kB / 271.3 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.5353/0.5353, allocations: 38.07 MB / 357.6 MB, free: 1.734 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007225/0.0007226, allocations: 16 kB / 423.9 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6038, allocations: 56.32 MB / 480.3 MB, free: 9.199 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2852/0.8891, allocations: 95.4 MB / 0.5622 GB, free: 6.957 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005242/0.8897, allocations: 87.95 kB / 0.5623 GB, free: 6.871 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07743/0.9672, allocations: 14.68 MB / 0.5766 GB, free: 8.016 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.534e-06/0.9672, allocations: 7.922 kB / 0.5766 GB, free: 8.008 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.38e-05/0.9673, allocations: 4 kB / 0.5766 GB, free: 8.004 MB / 410.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.001353/0.9686, allocations: 0.4951 MB / 0.5771 GB, free: 7.457 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001132/0.9688, allocations: 12.03 kB / 0.5771 GB, free: 7.445 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002002/0.9708, allocations: 116.6 kB / 0.5772 GB, free: 7.332 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007172/0.9715, allocations: 272.3 kB / 0.5775 GB, free: 7.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.419e-05/0.9716, allocations: 12.38 kB / 0.5775 GB, free: 7.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.217e-05/0.9717, allocations: 20.36 kB / 0.5775 GB, free: 6.996 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000869/0.9726, allocations: 318.4 kB / 0.5778 GB, free: 6.66 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.638e-05/0.9726, allocations: 4 kB / 0.5778 GB, free: 6.656 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.001e-05/0.9727, allocations: 4 kB / 0.5778 GB, free: 6.652 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001046/0.9729, allocations: 15.98 kB / 0.5778 GB, free: 6.637 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008998/0.9738, allocations: 291.7 kB / 0.5781 GB, free: 6.352 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003114/0.9769, allocations: 1.285 MB / 0.5794 GB, free: 4.965 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000696/0.9777, allocations: 198.3 kB / 0.5795 GB, free: 4.734 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.9778, allocations: 53.83 kB / 0.5796 GB, free: 4.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.334e-05/0.978, allocations: 7.984 kB / 0.5796 GB, free: 4.668 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.641e-05/0.9781, allocations: 30.56 kB / 0.5796 GB, free: 4.629 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 4.689e-06/0.9781, allocations: 0 / 0.5796 GB, free: 4.629 MB / 410.7 MB Notification: Performance of matching and sorting (n=10): time 0.0006223/0.9787, allocations: 137.4 kB / 0.5798 GB, free: 4.488 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.9788, allocations: 81.05 kB / 0.5798 GB, free: 4.391 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00038/0.9792, allocations: 211.8 kB / 0.58 GB, free: 4.176 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.665e-05/0.9793, allocations: 29.83 kB / 0.5801 GB, free: 4.141 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001526/0.9795, allocations: 167.6 kB / 0.5802 GB, free: 3.973 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.528e-05/0.9795, allocations: 35.45 kB / 0.5803 GB, free: 3.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.9796, allocations: 4 kB / 0.5803 GB, free: 3.934 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002138/0.9798, allocations: 330.8 kB / 0.5806 GB, free: 3.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.9799, allocations: 35.98 kB / 0.5806 GB, free: 3.566 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002566/0.9802, allocations: 132.7 kB / 0.5808 GB, free: 3.391 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003581/0.9806, allocations: 200.9 kB / 0.5809 GB, free: 3.148 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.9806, allocations: 4 kB / 0.5809 GB, free: 3.145 MB / 410.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005694/0.9812, allocations: 205.5 kB / 0.5811 GB, free: 2.938 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.9812, allocations: 4 kB / 0.5811 GB, free: 2.934 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.9813, allocations: 4 kB / 0.5811 GB, free: 2.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.9813, allocations: 4 kB / 0.5812 GB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003951/0.9817, allocations: 51.91 kB / 0.5812 GB, free: 2.875 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.851e-05/0.9817, allocations: 8 kB / 0.5812 GB, free: 2.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003253/0.9821, allocations: 19.72 kB / 0.5812 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.022e-05/0.9821, allocations: 16 kB / 0.5812 GB, free: 2.832 MB / 410.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.0003315/0.9825, allocations: 145.9 kB / 0.5814 GB, free: 2.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.922e-05/0.9826, allocations: 23.75 kB / 0.5814 GB, free: 2.656 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003305/0.9829, allocations: 123 kB / 0.5815 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.554e-06/0.9829, allocations: 0 / 0.5815 GB, free: 2.531 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.983, allocations: 4 kB / 0.5815 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.983, allocations: 0 / 0.5815 GB, free: 2.527 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.9846, allocations: 0.5758 MB / 0.5821 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.9846, allocations: 4.062 kB / 0.5821 GB, free: 1.863 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001775/0.9848, allocations: 23.92 kB / 0.5821 GB, free: 1.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.9849, allocations: 7.938 kB / 0.5821 GB, free: 1.832 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.642e-05/0.9849, allocations: 4.312 kB / 0.5821 GB, free: 1.828 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-05/0.9849, allocations: 11.94 kB / 0.5821 GB, free: 1.816 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.494e-06/0.9849, allocations: 3.938 kB / 0.5821 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005274/0.9855, allocations: 275.9 kB / 0.5824 GB, free: 1.496 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.9856, allocations: 96.91 kB / 0.5825 GB, free: 1.383 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.156e-05/0.9857, allocations: 11.94 kB / 0.5825 GB, free: 1.371 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002509/0.9859, allocations: 8.125 kB / 0.5825 GB, free: 1.363 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.788e-05/0.986, allocations: 15.98 kB / 0.5825 GB, free: 1.348 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.449e-05/0.986, allocations: 7.938 kB / 0.5825 GB, free: 1.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002507/0.9863, allocations: 153.5 kB / 0.5827 GB, free: 1.191 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.285e-06/0.9863, allocations: 0 / 0.5827 GB, free: 1.191 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007339/0.9871, allocations: 55.84 kB / 0.5827 GB, free: 1.137 MB / 410.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.0002754/0.9874, allocations: 107.1 kB / 0.5828 GB, free: 1.023 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0004454/0.9878, allocations: 119.7 kB / 0.583 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.9879, allocations: 0 / 0.583 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002146/0.9881, allocations: 53.16 kB / 0.583 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009219/0.989, allocations: 31.92 kB / 0.583 GB, free: 0.8242 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001574/0.9906, allocations: 0.5476 MB / 0.5836 GB, free: 216 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005698/0.9912, allocations: 0.7557 MB / 0.5843 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.842e-05/0.9913, allocations: 15.44 kB / 0.5843 GB, free: 15.41 MB / 426.7 MB Notification: Performance of SimCode: time 7.51e-07/0.9914, allocations: 0 / 0.5843 GB, free: 15.41 MB / 426.7 MB Notification: Performance of Templates: time 0.00712/0.9985, allocations: 2.191 MB / 0.5865 GB, free: 13.22 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.PMeterTest.pipe 2>&1)