Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.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.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") translateModel(PowerSystems.Examples.Generic.Test.ImpedanceTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002302/0.002308, allocations: 185.7 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.237/2.237, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 94.44 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.263/0.263, allocations: 37.99 MB / 347.7 MB, free: 5.77 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.643e-05/1.649e-05, allocations: 4 kB / 409.9 MB, free: 35.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1221, allocations: 56.32 MB / 466.2 MB, free: 10.83 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.482/0.6042, allocations: 93.25 MB / 0.5463 GB, free: 11.21 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002978/0.6046, allocations: 85.23 kB / 0.5464 GB, free: 11.2 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04712/0.6517, allocations: 13.08 MB / 0.5592 GB, free: 5.746 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.6518, allocations: 0 / 0.5592 GB, free: 5.746 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.743e-05/0.6518, allocations: 3.969 kB / 0.5592 GB, free: 5.746 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.0007242/0.6525, allocations: 482.1 kB / 0.5596 GB, free: 5.309 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.6526, allocations: 11.66 kB / 0.5596 GB, free: 5.305 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00126/0.6539, allocations: 105 kB / 0.5597 GB, free: 5.258 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005029/0.6544, allocations: 264.6 kB / 0.56 GB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.316e-05/0.6545, allocations: 7.719 kB / 0.56 GB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.562e-05/0.6545, allocations: 11.53 kB / 0.56 GB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004929/0.655, allocations: 189.5 kB / 0.5602 GB, free: 4.992 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005202/0.6556, allocations: 282.6 kB / 0.5605 GB, free: 4.863 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.6556, allocations: 3.906 kB / 0.5605 GB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.16e-05/0.6556, allocations: 0 / 0.5605 GB, free: 4.859 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000137/0.6558, allocations: 27.28 kB / 0.5605 GB, free: 4.852 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002089/0.6579, allocations: 1.244 MB / 0.5617 GB, free: 3.676 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/0.6584, allocations: 158.5 kB / 0.5619 GB, free: 3.539 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.6585, allocations: 55.77 kB / 0.5619 GB, free: 3.492 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.816e-05/0.6585, allocations: 11.52 kB / 0.5619 GB, free: 3.484 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/0.6586, allocations: 34.56 kB / 0.562 GB, free: 3.441 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.687e-06/0.6586, allocations: 0 / 0.562 GB, free: 3.441 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0008641/0.6595, allocations: 271.4 kB / 0.5622 GB, free: 3.203 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.6595, allocations: 80.39 kB / 0.5623 GB, free: 3.109 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.6597, allocations: 159.9 kB / 0.5624 GB, free: 2.961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.644e-05/0.6597, allocations: 29.64 kB / 0.5625 GB, free: 2.926 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.158e-05/0.6598, allocations: 224.7 kB / 0.5627 GB, free: 2.719 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.994e-05/0.6599, allocations: 50.3 kB / 0.5627 GB, free: 2.676 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.01e-05/0.6599, allocations: 0 / 0.5627 GB, free: 2.676 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.164e-05/0.66, allocations: 314.7 kB / 0.563 GB, free: 2.363 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.816e-05/0.6601, allocations: 45.67 kB / 0.5631 GB, free: 2.332 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000141/0.6602, allocations: 143.5 kB / 0.5632 GB, free: 2.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.6604, allocations: 70.41 kB / 0.5633 GB, free: 2.117 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.6604, allocations: 0 / 0.5633 GB, free: 2.117 MB / 362.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005696/0.661, allocations: 223.8 kB / 0.5635 GB, free: 1.922 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.661, allocations: 8 kB / 0.5635 GB, free: 1.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.6611, allocations: 4 kB / 0.5635 GB, free: 1.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003073/0.6614, allocations: 41.02 kB / 0.5635 GB, free: 1.871 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002581/0.6616, allocations: 47.84 kB / 0.5636 GB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001196/0.6629, allocations: 1.283 MB / 0.5648 GB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002403/0.6631, allocations: 4 kB / 0.5648 GB, free: 488 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.165e-05/0.6632, allocations: 10.75 kB / 0.5649 GB, free: 480 kB / 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.507e-05/0.6633, allocations: 116.8 kB / 0.565 GB, free: 356 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.019e-05/0.6633, allocations: 19.8 kB / 0.565 GB, free: 336 kB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004886/0.6638, allocations: 163.1 kB / 0.5651 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.6639, allocations: 0 / 0.5651 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/0.6639, allocations: 0 / 0.5651 GB, free: 200 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.6639, allocations: 4 kB / 0.5651 GB, free: 196 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.665, allocations: 0.5092 MB / 0.5656 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/0.665, allocations: 0 / 0.5656 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.6652, allocations: 27.42 kB / 0.5657 GB, free: 15.67 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002305/0.6655, allocations: 36.41 kB / 0.5657 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.162e-05/0.6655, allocations: 4 kB / 0.5657 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001409/0.6669, allocations: 1.264 MB / 0.5669 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.648e-06/0.667, allocations: 4.031 kB / 0.5669 GB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006336/0.6676, allocations: 321.3 kB / 0.5673 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.846e-05/0.6678, allocations: 96.92 kB / 0.5673 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.237e-05/0.6678, allocations: 0 / 0.5673 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001804/0.668, allocations: 4 kB / 0.5674 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.6681, allocations: 15.81 kB / 0.5674 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.324e-05/0.6681, allocations: 7.984 kB / 0.5674 GB, free: 13.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001668/0.6683, allocations: 131.7 kB / 0.5675 GB, free: 13.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.6683, allocations: 0 / 0.5675 GB, free: 13.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005512/0.6688, allocations: 55.94 kB / 0.5676 GB, free: 13.65 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000184/0.669, allocations: 99.23 kB / 0.5676 GB, free: 13.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006924/0.6697, allocations: 237.5 kB / 0.5679 GB, free: 13.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.934e-06/0.6698, allocations: 4 kB / 0.5679 GB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003095/0.6701, allocations: 165.1 kB / 0.568 GB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.6705, allocations: 35.5 kB / 0.5681 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008887/0.6714, allocations: 323.3 kB / 0.5684 GB, free: 12.82 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00048/0.6719, allocations: 0.7666 MB / 0.5691 GB, free: 12.04 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.978e-05/0.672, allocations: 15.44 kB / 0.5691 GB, free: 12.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.672, allocations: 0 / 0.5691 GB, free: 12.02 MB / 378.7 MB Notification: Performance of Templates: time 0.008114/0.6801, allocations: 3.015 MB / 0.5721 GB, free: 9.031 MB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Generic.Test.ImpedanceTest.pipe 2>&1)