Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.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.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") translateModel(PowerSystems.Examples.AC3ph.Elementary.Load,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load") [: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.001836/0.001836, allocations: 183.1 kB / 7.803 MB, free: 2.449 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.725/1.725, allocations: 205.2 MB / 213.4 MB, free: 13.86 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.001274/0.001273, allocations: 89 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.2662/0.2662, allocations: 37.97 MB / 347.3 MB, free: 7.551 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.062e-05/1.087e-05, allocations: 0 / 409.3 MB, free: 47.24 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 56.33 MB / 465.6 MB, free: 6.848 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.343/0.45, allocations: 101.4 MB / 0.5538 GB, free: 9.422 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003411/0.4504, allocations: 83.95 kB / 0.5539 GB, free: 9.34 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.06584/0.5163, allocations: 13.23 MB / 0.5668 GB, free: 11.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.115e-05/0.5164, allocations: 12 kB / 0.5668 GB, free: 11.96 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.00231/0.5187, allocations: 0.7112 MB / 0.5675 GB, free: 11.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.5188, allocations: 12.03 kB / 0.5675 GB, free: 11.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009345/0.5197, allocations: 91.28 kB / 0.5676 GB, free: 11.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004221/0.5239, allocations: 0.9408 MB / 0.5685 GB, free: 10.12 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.877e-05/0.524, allocations: 12 kB / 0.5685 GB, free: 10.11 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001378/0.5242, allocations: 28 kB / 0.5685 GB, free: 10.09 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001292/0.5255, allocations: 445.8 kB / 0.569 GB, free: 9.652 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001409/0.5269, allocations: 0.627 MB / 0.5696 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.835e-05/0.5269, allocations: 0 / 0.5696 GB, free: 8.961 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.475e-05/0.527, allocations: 4 kB / 0.5696 GB, free: 8.957 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001141/0.5271, allocations: 32.77 kB / 0.5696 GB, free: 8.922 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005948/0.5331, allocations: 2.954 MB / 0.5725 GB, free: 5.844 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009355/0.5341, allocations: 325.5 kB / 0.5728 GB, free: 5.508 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004841/0.5346, allocations: 198 kB / 0.573 GB, free: 5.309 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.627e-05/0.5347, allocations: 12.19 kB / 0.573 GB, free: 5.297 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.474e-05/0.5347, allocations: 38.55 kB / 0.5731 GB, free: 5.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 3.356e-06/0.5347, allocations: 0 / 0.5731 GB, free: 5.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.003153/0.5379, allocations: 1.139 MB / 0.5742 GB, free: 4.055 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.695e-05/0.538, allocations: 85.05 kB / 0.5742 GB, free: 3.953 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006062/0.5386, allocations: 325.9 kB / 0.5746 GB, free: 3.633 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.917e-05/0.5387, allocations: 25.7 kB / 0.5746 GB, free: 3.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001829/0.5389, allocations: 301.8 kB / 0.5749 GB, free: 3.305 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/0.539, allocations: 122.2 kB / 0.575 GB, free: 3.184 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.5391, allocations: 0 / 0.575 GB, free: 3.184 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001434/0.5392, allocations: 330.8 kB / 0.5753 GB, free: 2.852 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005208/0.5398, allocations: 197.1 kB / 0.5755 GB, free: 2.656 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007019/0.5405, allocations: 378 kB / 0.5758 GB, free: 2.211 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.5412, allocations: 269 kB / 0.5761 GB, free: 1.949 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.5413, allocations: 0 / 0.5761 GB, free: 1.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003985/0.5453, allocations: 0.7814 MB / 0.5769 GB, free: 1.156 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.5453, allocations: 4 kB / 0.5769 GB, free: 1.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/0.5453, allocations: 8 kB / 0.5769 GB, free: 1.145 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003313/0.5487, allocations: 269.8 kB / 0.5771 GB, free: 0.875 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.5501, allocations: 131.8 kB / 0.5773 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008241/0.5584, allocations: 3.548 MB / 0.5807 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005495/0.559, allocations: 15.98 kB / 0.5807 GB, free: 12.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.706e-05/0.559, allocations: 24.36 kB / 0.5808 GB, free: 12.92 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (51): * Single equations (assignments): 48 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 4} * Non-linear torn systems: 1 {2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001582/0.5592, allocations: 41.58 kB / 0.5808 GB, free: 12.87 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001512/0.5594, allocations: 39.53 kB / 0.5808 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001583/0.561, allocations: 0.5286 MB / 0.5814 GB, free: 12.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.166e-05/0.561, allocations: 4 kB / 0.5814 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.561, allocations: 8 kB / 0.5814 GB, free: 12.29 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.306e-05/0.5611, allocations: 3.984 kB / 0.5814 GB, free: 12.28 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002593/0.5637, allocations: 1.023 MB / 0.5824 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.612e-06/0.5637, allocations: 0 / 0.5824 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/0.5647, allocations: 83.89 kB / 0.5825 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.417e-05/0.5647, allocations: 7.906 kB / 0.5825 GB, free: 11.12 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.692e-05/0.5648, allocations: 11.98 kB / 0.5825 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.571e-06/0.5648, allocations: 96 / 0.5825 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/0.5648, allocations: 7.938 kB / 0.5825 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001943/0.5668, allocations: 0.8713 MB / 0.5833 GB, free: 10.18 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001708/0.567, allocations: 112.6 kB / 0.5834 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/0.5671, allocations: 7.984 kB / 0.5834 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005084/0.5676, allocations: 15.98 kB / 0.5835 GB, free: 10.03 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.494e-05/0.5677, allocations: 27.62 kB / 0.5835 GB, free: 10 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.607e-05/0.5678, allocations: 8 kB / 0.5835 GB, free: 9.996 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.0004146/0.5682, allocations: 240.6 kB / 0.5837 GB, free: 9.762 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008026/0.569, allocations: 127.9 kB / 0.5838 GB, free: 9.637 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 5 (load.psi[1],load.psi[2],load.psi[3],load.Z[1],load.Z[2]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 38 * Array equations: 1 * 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.0002551/0.5693, allocations: 115.2 kB / 0.584 GB, free: 9.516 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002556/0.5718, allocations: 0.7697 MB / 0.5847 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.5719, allocations: 384 / 0.5847 GB, free: 8.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006096/0.5725, allocations: 237 kB / 0.5849 GB, free: 8.496 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007418/0.5733, allocations: 61.23 kB / 0.585 GB, free: 8.438 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003294/0.5766, allocations: 1.091 MB / 0.5861 GB, free: 7.301 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000943/0.5776, allocations: 0.9479 MB / 0.587 GB, free: 6.324 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/0.5776, allocations: 4 kB / 0.587 GB, free: 6.32 MB / 426.7 MB Notification: Performance of Templates: time 0.01775/0.5953, allocations: 7.933 MB / 0.5947 GB, free: 14.39 MB / 442.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Elementary.Load.pipe 2>&1)