Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line") translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=4000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001531/0.00153, allocations: 180.8 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 221.9 MB, free: 13.61 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001197/0.001197, allocations: 102.7 kB / 270.3 MB, free: 13.13 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2995/0.2995, allocations: 38.06 MB / 356.6 MB, free: 0.7539 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004648/0.0004649, allocations: 8 kB / 422.7 MB, free: 26.42 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1059, allocations: 56.33 MB / 479 MB, free: 2.027 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.478/0.584, allocations: 98.61 MB / 0.5641 GB, free: 1.121 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003025/0.5843, allocations: 100.1 kB / 0.5642 GB, free: 1.066 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0514/0.6357, allocations: 11.14 MB / 0.5751 GB, free: 7.391 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.6358, allocations: 0 / 0.5751 GB, free: 7.391 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.874e-05/0.6359, allocations: 11.98 kB / 0.5751 GB, free: 7.379 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.003169/0.639, allocations: 0.8779 MB / 0.576 GB, free: 6.488 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.6391, allocations: 8.031 kB / 0.576 GB, free: 6.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002826/0.6394, allocations: 59.33 kB / 0.576 GB, free: 6.422 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005444/0.6448, allocations: 1.27 MB / 0.5773 GB, free: 5.309 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.887e-05/0.6449, allocations: 24.25 kB / 0.5773 GB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000258/0.6452, allocations: 59.2 kB / 0.5773 GB, free: 5.254 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001842/0.6471, allocations: 0.7868 MB / 0.5781 GB, free: 4.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.945e-05/0.6471, allocations: 3.938 kB / 0.5781 GB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.234e-05/0.6472, allocations: 14.44 kB / 0.5781 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.6473, allocations: 11.95 kB / 0.5781 GB, free: 4.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001127/0.6484, allocations: 447.9 kB / 0.5786 GB, free: 4.266 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006439/0.6548, allocations: 2.708 MB / 0.5812 GB, free: 1.918 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001212/0.6561, allocations: 483.6 kB / 0.5817 GB, free: 1.578 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.606e-05/0.6562, allocations: 7.188 kB / 0.5817 GB, free: 1.574 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.343e-05/0.6563, allocations: 53.94 kB / 0.5817 GB, free: 1.516 MB / 378.7 MB Notification: Performance of pre-optimization done (n=32): time 2.866e-06/0.6563, allocations: 0 / 0.5817 GB, free: 1.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.01716/0.6734, allocations: 3.785 MB / 0.5854 GB, free: 14.19 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.779e-05/0.6736, allocations: 85.14 kB / 0.5855 GB, free: 14.09 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006356/0.6742, allocations: 335.5 kB / 0.5858 GB, free: 13.81 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001423/0.6744, allocations: 35.89 kB / 0.5859 GB, free: 13.77 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.6746, allocations: 291.9 kB / 0.5861 GB, free: 13.54 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002314/0.6748, allocations: 158 kB / 0.5863 GB, free: 13.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.852e-05/0.6749, allocations: 10.19 kB / 0.5863 GB, free: 13.41 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001407/0.6751, allocations: 328.4 kB / 0.5866 GB, free: 13.09 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009827/0.6761, allocations: 426.3 kB / 0.587 GB, free: 12.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001107/0.6772, allocations: 0.5353 MB / 0.5875 GB, free: 12.34 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001115/0.6783, allocations: 489.5 kB / 0.588 GB, free: 12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.6784, allocations: 0 / 0.588 GB, free: 12 MB / 394.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.006781/0.6852, allocations: 2.103 MB / 0.5901 GB, free: 10.32 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.6852, allocations: 6.812 kB / 0.5901 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.6853, allocations: 4 kB / 0.5901 GB, free: 10.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01129/0.6966, allocations: 2.79 MB / 0.5928 GB, free: 7.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006881/0.6973, allocations: 91.08 kB / 0.5929 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.847e-05/0.6973, allocations: 11.98 kB / 0.5929 GB, free: 7.832 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.6979, allocations: 34.67 kB / 0.5929 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001651/0.6981, allocations: 70.03 kB / 0.593 GB, free: 7.742 MB / 394.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(7,32.7%),(7,32.7%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004646/0.6986, allocations: 203.7 kB / 0.5932 GB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001607/0.6988, allocations: 39.53 kB / 0.5932 GB, free: 7.527 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01066/0.7094, allocations: 2.221 MB / 0.5954 GB, free: 5.621 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.916e-05/0.7095, allocations: 4 kB / 0.5954 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.01e-05/0.7095, allocations: 0 / 0.5954 GB, free: 5.617 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.602e-05/0.7095, allocations: 3.984 kB / 0.5954 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01234/0.7219, allocations: 3.011 MB / 0.5983 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/0.7219, allocations: 0 / 0.5983 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003986/0.7224, allocations: 43.88 kB / 0.5984 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01811/0.7405, allocations: 3.248 MB / 0.6016 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003021/0.7408, allocations: 101.9 kB / 0.6017 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01964/0.7605, allocations: 9.478 MB / 0.6109 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.7605, allocations: 0 / 0.6109 GB, free: 7.695 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01449/0.775, allocations: 2.627 MB / 0.6135 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002886/0.7754, allocations: 120.2 kB / 0.6136 GB, free: 5.293 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004843/0.7759, allocations: 87.5 kB / 0.6137 GB, free: 5.223 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008831/0.7768, allocations: 30.61 kB / 0.6137 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006081/0.7774, allocations: 79.2 kB / 0.6138 GB, free: 5.125 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002326/0.7777, allocations: 66.89 kB / 0.6138 GB, free: 5.062 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0006707/0.7784, allocations: 259.2 kB / 0.6141 GB, free: 4.859 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7784, allocations: 4 kB / 0.6141 GB, free: 4.855 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001628/0.78, allocations: 185.9 kB / 0.6143 GB, free: 4.688 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4]) * 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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {8,6} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004187/0.7805, allocations: 147.5 kB / 0.6144 GB, free: 4.539 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003762/0.7843, allocations: 1.083 MB / 0.6155 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.7843, allocations: 0 / 0.6155 GB, free: 3.668 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004019/0.7883, allocations: 0.9161 MB / 0.6164 GB, free: 2.871 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001287/0.7897, allocations: 105.2 kB / 0.6165 GB, free: 2.797 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007476/0.7972, allocations: 2.596 MB / 0.619 GB, free: 276 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008367/0.7981, allocations: 0.8859 MB / 0.6199 GB, free: 15.36 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002235/0.7983, allocations: 35.44 kB / 0.6199 GB, free: 15.32 MB / 426.7 MB Notification: Performance of SimCode: time 1.012e-06/0.7983, allocations: 0 / 0.6199 GB, free: 15.32 MB / 426.7 MB Notification: Performance of Templates: time 0.0448/0.8432, allocations: 16.15 MB / 0.6357 GB, free: 15.15 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1)