Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.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.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") translateModel(PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase") [: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.002413/0.002413, allocations: 188.8 kB / 7.807 MB, free: 2.438 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.85/1.85, allocations: 205.2 MB / 213.4 MB, free: 13.91 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.001319/0.001319, allocations: 90.78 kB / 261.4 MB, free: 13.61 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.2691/0.2691, allocations: 37.97 MB / 347.3 MB, free: 7.523 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.029e-05/1.033e-05, allocations: 0 / 409.3 MB, free: 47.22 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1164, allocations: 56.32 MB / 465.6 MB, free: 6.828 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.366/0.4825, allocations: 98.15 MB / 0.5506 GB, free: 12.7 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.4828, allocations: 91.94 kB / 0.5507 GB, free: 12.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.0484/0.5313, allocations: 10.5 MB / 0.5609 GB, free: 1.977 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.51e-05/0.5313, allocations: 15.94 kB / 0.5609 GB, free: 1.961 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 101 * Number of variables: 101 Notification: Performance of Generate backend data structure: time 0.001625/0.533, allocations: 0.6879 MB / 0.5616 GB, free: 1.227 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.533, allocations: 8.031 kB / 0.5616 GB, free: 1.219 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001495/0.5332, allocations: 55.34 kB / 0.5617 GB, free: 1.164 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004978/0.5382, allocations: 1.193 MB / 0.5628 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.063e-05/0.5383, allocations: 16 kB / 0.5628 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.547e-05/0.5384, allocations: 24 kB / 0.5629 GB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001296/0.5397, allocations: 341.6 kB / 0.5632 GB, free: 15.56 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.5412, allocations: 444.8 kB / 0.5636 GB, free: 15.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.426e-05/0.5413, allocations: 7.922 kB / 0.5636 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.794e-05/0.5413, allocations: 0 / 0.5636 GB, free: 15.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.215e-05/0.5414, allocations: 20.77 kB / 0.5636 GB, free: 15.06 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004244/0.5456, allocations: 2.023 MB / 0.5656 GB, free: 12.91 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006427/0.5463, allocations: 217.7 kB / 0.5658 GB, free: 12.68 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003964/0.5467, allocations: 122.1 kB / 0.5659 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.5468, allocations: 4.188 kB / 0.566 GB, free: 12.55 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.5468, allocations: 34.75 kB / 0.566 GB, free: 12.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=22): time 3.146e-06/0.5468, allocations: 0 / 0.566 GB, free: 12.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=23): time 0.001579/0.5484, allocations: 0.6584 MB / 0.5666 GB, free: 11.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.589e-05/0.5485, allocations: 85.14 kB / 0.5667 GB, free: 11.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005902/0.5491, allocations: 304.7 kB / 0.567 GB, free: 11.39 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.5492, allocations: 25.7 kB / 0.567 GB, free: 11.36 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002638/0.5494, allocations: 309.6 kB / 0.5673 GB, free: 11.05 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.48e-05/0.5496, allocations: 74.92 kB / 0.5674 GB, free: 10.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.684e-05/0.5496, allocations: 0 / 0.5674 GB, free: 10.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5498, allocations: 326.8 kB / 0.5677 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.55, allocations: 80.8 kB / 0.5678 GB, free: 10.57 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003841/0.5504, allocations: 260.4 kB / 0.568 GB, free: 10.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/0.5508, allocations: 129.5 kB / 0.5682 GB, free: 10.11 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.5508, allocations: 4 kB / 0.5682 GB, free: 10.11 MB / 410.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001112/0.5519, allocations: 382.2 kB / 0.5685 GB, free: 9.723 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.885e-05/0.5519, allocations: 8.156 kB / 0.5685 GB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.686e-05/0.552, allocations: 8 kB / 0.5685 GB, free: 9.707 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002855/0.5523, allocations: 48.83 kB / 0.5686 GB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000558/0.5528, allocations: 79.91 kB / 0.5687 GB, free: 9.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002113/0.555, allocations: 1.412 MB / 0.57 GB, free: 8.047 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.5554, allocations: 8 kB / 0.57 GB, free: 8.039 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.036e-05/0.5554, allocations: 20.06 kB / 0.5701 GB, free: 8.02 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,trafo.tap_2_internal,trafo.tap_1_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001221/0.5556, allocations: 45.59 kB / 0.5701 GB, free: 7.969 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.5557, allocations: 39.53 kB / 0.5701 GB, free: 7.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006554/0.5564, allocations: 225 kB / 0.5704 GB, free: 7.703 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.496e-06/0.5564, allocations: 4 kB / 0.5704 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.5564, allocations: 0 / 0.5704 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5564, allocations: 0 / 0.5704 GB, free: 7.699 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.5578, allocations: 0.6021 MB / 0.571 GB, free: 7.051 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/0.5579, allocations: 7.938 kB / 0.571 GB, free: 7.043 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.5584, allocations: 47.98 kB / 0.571 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-06/0.5584, allocations: 0 / 0.571 GB, free: 6.996 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.359e-05/0.5585, allocations: 7.984 kB / 0.571 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.5585, allocations: 0 / 0.571 GB, free: 6.988 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.061e-06/0.5585, allocations: 3.938 kB / 0.571 GB, free: 6.984 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0009915/0.5595, allocations: 447.7 kB / 0.5714 GB, free: 6.512 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002285/0.5597, allocations: 124.6 kB / 0.5716 GB, free: 6.371 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.334e-05/0.5598, allocations: 4.188 kB / 0.5716 GB, free: 6.367 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002676/0.5601, allocations: 8 kB / 0.5716 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.941e-05/0.5602, allocations: 15.92 kB / 0.5716 GB, free: 6.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.105e-05/0.5602, allocations: 4 kB / 0.5716 GB, free: 6.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.0003917/0.5606, allocations: 235.3 kB / 0.5718 GB, free: 6.113 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0006872/0.5613, allocations: 87.94 kB / 0.5719 GB, free: 6.027 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (trafo.i1) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002819/0.5616, allocations: 135.1 kB / 0.572 GB, free: 5.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009724/0.5626, allocations: 347.2 kB / 0.5724 GB, free: 5.539 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.828e-06/0.5626, allocations: 0 / 0.5724 GB, free: 5.539 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002287/0.5628, allocations: 92.05 kB / 0.5724 GB, free: 5.449 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008488/0.5637, allocations: 85.53 kB / 0.5725 GB, free: 5.363 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001902/0.5656, allocations: 0.6243 MB / 0.5731 GB, free: 4.703 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008658/0.5665, allocations: 0.897 MB / 0.574 GB, free: 3.777 MB / 410.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5666, allocations: 0 / 0.574 GB, free: 3.777 MB / 410.7 MB Notification: Performance of Templates: time 0.01526/0.5818, allocations: 6.036 MB / 0.5799 GB, free: 13.74 MB / 426.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC1ph_DC.Transformation.OnePhase.pipe 2>&1)