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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003069/0.003069, allocations: 194 kB / 7.806 MB, free: 2.496 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 1.786/1.786, allocations: 205.2 MB / 213.4 MB, free: 13.93 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.001287/0.001287, allocations: 95.95 kB / 261.4 MB, free: 13.63 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.2681/0.2681, allocations: 37.97 MB / 347.3 MB, free: 7.547 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.925e-06/8.085e-06, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1046/0.1046, allocations: 56.32 MB / 465.6 MB, free: 6.859 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.358/0.4627, allocations: 99.42 MB / 0.5518 GB, free: 11.47 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/0.4631, allocations: 79.95 kB / 0.5519 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06006/0.5232, allocations: 12.82 MB / 0.5644 GB, free: 14.44 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.956e-05/0.5233, allocations: 16 kB / 0.5644 GB, free: 14.43 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.001795/0.5251, allocations: 0.668 MB / 0.5651 GB, free: 13.71 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5251, allocations: 8.031 kB / 0.5651 GB, free: 13.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009392/0.5261, allocations: 103.2 kB / 0.5652 GB, free: 13.6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003497/0.5296, allocations: 0.8566 MB / 0.566 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.5297, allocations: 12 kB / 0.566 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001212/0.5298, allocations: 24 kB / 0.566 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001403/0.5312, allocations: 477.6 kB / 0.5665 GB, free: 12.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001448/0.5327, allocations: 0.6109 MB / 0.5671 GB, free: 11.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.901e-05/0.5327, allocations: 11.88 kB / 0.5671 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.5328, allocations: 0 / 0.5671 GB, free: 11.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001802/0.533, allocations: 40.77 kB / 0.5671 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006343/0.5393, allocations: 2.392 MB / 0.5695 GB, free: 8.996 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007402/0.5401, allocations: 321 kB / 0.5698 GB, free: 8.664 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006031/0.5407, allocations: 262.7 kB / 0.57 GB, free: 8.402 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.133e-05/0.5408, allocations: 12.2 kB / 0.57 GB, free: 8.391 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.676e-05/0.5409, allocations: 34.84 kB / 0.5701 GB, free: 8.348 MB / 410.7 MB Notification: Performance of pre-optimization done (n=47): time 3.577e-06/0.5409, allocations: 0 / 0.5701 GB, free: 8.348 MB / 410.7 MB Notification: Performance of matching and sorting (n=48): time 0.005116/0.546, allocations: 1.552 MB / 0.5716 GB, free: 6.742 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.114e-05/0.5461, allocations: 85.14 kB / 0.5717 GB, free: 6.641 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.5465, allocations: 235.3 kB / 0.5719 GB, free: 6.402 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.5466, allocations: 25.7 kB / 0.5719 GB, free: 6.371 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002073/0.5468, allocations: 282.8 kB / 0.5722 GB, free: 6.094 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001901/0.547, allocations: 157.7 kB / 0.5723 GB, free: 5.938 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.547, allocations: 0 / 0.5723 GB, free: 5.938 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001588/0.5472, allocations: 334.7 kB / 0.5727 GB, free: 5.602 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005731/0.5478, allocations: 229 kB / 0.5729 GB, free: 5.375 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006871/0.5485, allocations: 372.9 kB / 0.5732 GB, free: 4.957 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001371/0.5499, allocations: 380 kB / 0.5736 GB, free: 4.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.5499, allocations: 4 kB / 0.5736 GB, free: 4.586 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002706/0.5526, allocations: 0.7865 MB / 0.5744 GB, free: 3.785 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.5526, allocations: 4 kB / 0.5744 GB, free: 3.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002194/0.5549, allocations: 0.6378 MB / 0.575 GB, free: 3.137 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004745/0.5553, allocations: 72.78 kB / 0.5751 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007764/0.5561, allocations: 91.89 kB / 0.5752 GB, free: 2.973 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002587/0.5587, allocations: 1.537 MB / 0.5767 GB, free: 1.324 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004556/0.5592, allocations: 16.03 kB / 0.5767 GB, free: 1.309 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.353e-05/0.5593, allocations: 16 kB / 0.5767 GB, free: 1.293 MB / 410.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 {(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.5595, allocations: 45.58 kB / 0.5767 GB, free: 1.242 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.5596, allocations: 35.53 kB / 0.5768 GB, free: 1.207 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.5618, allocations: 0.6686 MB / 0.5774 GB, free: 0.5312 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001003/0.5619, allocations: 15.98 kB / 0.5774 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.562, allocations: 0 / 0.5774 GB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/0.562, allocations: 7.984 kB / 0.5774 GB, free: 0.5078 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003875/0.5659, allocations: 1.252 MB / 0.5787 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5659, allocations: 4 kB / 0.5787 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008338/0.5667, allocations: 75.98 kB / 0.5787 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/0.5668, allocations: 4 kB / 0.5787 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.943e-05/0.5668, allocations: 11.94 kB / 0.5788 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.29e-06/0.5669, allocations: 0 / 0.5788 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.277e-06/0.5669, allocations: 4 kB / 0.5788 GB, free: 15.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002771/0.5696, allocations: 1.119 MB / 0.5798 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001329/0.5698, allocations: 104.6 kB / 0.5799 GB, free: 13.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001011/0.5699, allocations: 7.984 kB / 0.58 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000433/0.5704, allocations: 15.98 kB / 0.58 GB, free: 13.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.174e-05/0.5705, allocations: 15.97 kB / 0.58 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.5705, allocations: 12 kB / 0.58 GB, free: 13.76 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0002754/0.5708, allocations: 179.1 kB / 0.5802 GB, free: 13.58 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007253/0.5716, allocations: 123.9 kB / 0.5803 GB, free: 13.46 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.0002964/0.5719, allocations: 131.1 kB / 0.5804 GB, free: 13.32 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00197/0.5738, allocations: 0.6953 MB / 0.5811 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.5739, allocations: 0 / 0.5811 GB, free: 12.61 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008181/0.5747, allocations: 287.7 kB / 0.5814 GB, free: 12.33 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005982/0.5753, allocations: 52.84 kB / 0.5814 GB, free: 12.28 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002692/0.578, allocations: 0.9836 MB / 0.5824 GB, free: 11.26 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/0.579, allocations: 0.9292 MB / 0.5833 GB, free: 10.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5791, allocations: 0 / 0.5833 GB, free: 10.3 MB / 426.7 MB Notification: Performance of Templates: time 0.01453/0.5936, allocations: 6.438 MB / 0.5896 GB, free: 3.867 MB / 426.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)