Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001612/0.001612, allocations: 185.2 kB / 13.19 MB, free: 2.125 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 2.012/2.012, allocations: 205.2 MB / 218.9 MB, free: 9.219 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.00112/0.001119, allocations: 88.89 kB / 267.1 MB, free: 9.277 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.3111/0.3111, allocations: 37.98 MB / 353.1 MB, free: 3.059 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.865e-05, allocations: 0 / 416.8 MB, free: 41.3 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 56.32 MB / 473.1 MB, free: 0.9219 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4823/0.5859, allocations: 100.1 MB / 0.5598 GB, free: 3.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.5863, allocations: 75.97 kB / 0.5599 GB, free: 3.555 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06396/0.6502, allocations: 13.27 MB / 0.5728 GB, free: 6.156 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6503, allocations: 0 / 0.5728 GB, free: 6.156 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.913e-05/0.6504, allocations: 12 kB / 0.5728 GB, free: 6.145 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001943/0.6523, allocations: 0.6717 MB / 0.5735 GB, free: 5.426 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.6524, allocations: 8.031 kB / 0.5735 GB, free: 5.418 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.6534, allocations: 99.27 kB / 0.5736 GB, free: 5.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003707/0.6572, allocations: 0.8486 MB / 0.5744 GB, free: 4.426 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.271e-05/0.6573, allocations: 28.78 kB / 0.5744 GB, free: 4.398 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000149/0.6574, allocations: 39.98 kB / 0.5745 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001714/0.6591, allocations: 0.6553 MB / 0.5751 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.234e-05/0.6592, allocations: 0 / 0.5751 GB, free: 3.664 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.36e-05/0.6593, allocations: 16 kB / 0.5751 GB, free: 3.648 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002128/0.6595, allocations: 44.75 kB / 0.5752 GB, free: 3.605 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001822/0.6614, allocations: 0.6279 MB / 0.5758 GB, free: 2.98 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006114/0.6675, allocations: 2.413 MB / 0.5781 GB, free: 456 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009491/0.6685, allocations: 358 kB / 0.5785 GB, free: 76 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006138/0.6692, allocations: 250.4 kB / 0.5787 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.844e-05/0.6693, allocations: 4.281 kB / 0.5787 GB, free: 15.82 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.6693, allocations: 46.8 kB / 0.5788 GB, free: 15.76 MB / 426.7 MB Notification: Performance of pre-optimization done (n=47): time 4.348e-06/0.6693, allocations: 0 / 0.5788 GB, free: 15.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=48): time 0.003364/0.6727, allocations: 1.275 MB / 0.58 GB, free: 14.44 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.206e-05/0.6728, allocations: 81.11 kB / 0.5801 GB, free: 14.34 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004468/0.6733, allocations: 251.3 kB / 0.5803 GB, free: 14.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.6734, allocations: 33.69 kB / 0.5804 GB, free: 14.06 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000234/0.6736, allocations: 298.2 kB / 0.5807 GB, free: 13.76 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002074/0.6738, allocations: 165.5 kB / 0.5808 GB, free: 13.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.504e-05/0.6739, allocations: 8 kB / 0.5808 GB, free: 13.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.6741, allocations: 334.8 kB / 0.5811 GB, free: 13.25 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005693/0.6747, allocations: 217 kB / 0.5813 GB, free: 13.04 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007013/0.6754, allocations: 353.3 kB / 0.5817 GB, free: 12.64 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007122/0.6761, allocations: 285 kB / 0.582 GB, free: 12.36 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.304e-06/0.6761, allocations: 4 kB / 0.582 GB, free: 12.36 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002104/0.6783, allocations: 0.7002 MB / 0.5826 GB, free: 11.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.745e-05/0.6783, allocations: 8.516 kB / 0.5827 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001548/0.6799, allocations: 0.5124 MB / 0.5832 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000525/0.6804, allocations: 72.8 kB / 0.5832 GB, free: 11.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.6813, allocations: 99.81 kB / 0.5833 GB, free: 10.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002505/0.6838, allocations: 1.596 MB / 0.5849 GB, free: 9.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.6845, allocations: 27.97 kB / 0.5849 GB, free: 9.188 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.914e-05/0.6846, allocations: 20 kB / 0.5849 GB, free: 9.168 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (53): * Single equations (assignments): 49 * Array equations: 3 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002128/0.6848, allocations: 141.6 kB / 0.5851 GB, free: 9.023 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.685, allocations: 39.59 kB / 0.5851 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.6865, allocations: 0.544 MB / 0.5856 GB, free: 8.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.023e-05/0.6866, allocations: 12 kB / 0.5856 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.6867, allocations: 0 / 0.5856 GB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.371e-05/0.6867, allocations: 7.984 kB / 0.5856 GB, free: 8.41 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003398/0.6901, allocations: 1.178 MB / 0.5868 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-05/0.6901, allocations: 0 / 0.5868 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008599/0.691, allocations: 91.81 kB / 0.5869 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/0.6911, allocations: 0 / 0.5869 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.155e-05/0.6911, allocations: 11.98 kB / 0.5869 GB, free: 7.066 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.506e-06/0.6911, allocations: 4 kB / 0.5869 GB, free: 7.062 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6912, allocations: 7.891 kB / 0.5869 GB, free: 7.055 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002212/0.6934, allocations: 0.9738 MB / 0.5879 GB, free: 6.031 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/0.6936, allocations: 108.8 kB / 0.588 GB, free: 5.906 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.393e-05/0.6937, allocations: 11.98 kB / 0.588 GB, free: 5.895 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004391/0.6942, allocations: 31.97 kB / 0.588 GB, free: 5.863 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.505e-05/0.6943, allocations: 23.97 kB / 0.588 GB, free: 5.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.185e-05/0.6943, allocations: 11.98 kB / 0.588 GB, free: 5.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003338/0.6947, allocations: 191.1 kB / 0.5882 GB, free: 5.645 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6947, allocations: 0 / 0.5882 GB, free: 5.645 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008113/0.6955, allocations: 135.9 kB / 0.5883 GB, free: 5.512 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 33 * Array equations: 3 * 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.0003415/0.6959, allocations: 147.1 kB / 0.5885 GB, free: 5.359 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00181/0.6977, allocations: 0.6637 MB / 0.5891 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.6977, allocations: 0 / 0.5891 GB, free: 4.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006454/0.6984, allocations: 265.1 kB / 0.5894 GB, free: 4.422 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006714/0.6991, allocations: 69.12 kB / 0.5895 GB, free: 4.352 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00267/0.7018, allocations: 0.9922 MB / 0.5904 GB, free: 3.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006932/0.7025, allocations: 0.8831 MB / 0.5913 GB, free: 2.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003031/0.7029, allocations: 43.42 kB / 0.5913 GB, free: 2.367 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/0.7029, allocations: 0 / 0.5913 GB, free: 2.367 MB / 426.7 MB Notification: Performance of Templates: time 0.01686/0.7197, allocations: 6.272 MB / 0.5975 GB, free: 12.09 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1)