Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.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.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger") [: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.002262/0.002262, allocations: 182.5 kB / 7.798 MB, free: 2.324 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.638/1.638, allocations: 205.2 MB / 213.4 MB, free: 13.92 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.001653/0.001653, allocations: 94.73 kB / 261.4 MB, free: 13.62 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.3007/0.3007, allocations: 37.98 MB / 347.3 MB, free: 7.543 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 7.815e-06/7.905e-06, allocations: 0 / 409.3 MB, free: 47.25 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09947/0.0995, allocations: 56.33 MB / 465.6 MB, free: 6.855 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3553/0.4549, allocations: 109.2 MB / 0.5614 GB, free: 1.664 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.4553, allocations: 96.97 kB / 0.5614 GB, free: 1.57 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.2194/0.6747, allocations: 48.38 MB / 0.6087 GB, free: 0.5859 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001133/0.6749, allocations: 39.94 kB / 0.6087 GB, free: 0.5469 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.005795/0.6807, allocations: 1.565 MB / 0.6103 GB, free: 14.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.772e-05/0.6808, allocations: 8.031 kB / 0.6103 GB, free: 14.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005252/0.686, allocations: 445.3 kB / 0.6107 GB, free: 14.47 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008991/0.6951, allocations: 2.092 MB / 0.6127 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001092/0.6952, allocations: 48 kB / 0.6128 GB, free: 12.28 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006621/0.6959, allocations: 84 kB / 0.6129 GB, free: 12.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005701/0.7016, allocations: 1.595 MB / 0.6144 GB, free: 10.6 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006445/0.7081, allocations: 2.081 MB / 0.6164 GB, free: 8.367 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.494e-05/0.7083, allocations: 11.94 kB / 0.6165 GB, free: 8.355 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002012/0.7085, allocations: 8 kB / 0.6165 GB, free: 8.348 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000559/0.7091, allocations: 190.7 kB / 0.6166 GB, free: 8.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02206/0.7311, allocations: 9.085 MB / 0.6255 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00417/0.7354, allocations: 1.282 MB / 0.6268 GB, free: 13.35 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00209/0.7375, allocations: 0.6539 MB / 0.6274 GB, free: 12.69 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001333/0.7377, allocations: 20.97 kB / 0.6274 GB, free: 12.67 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002272/0.74, allocations: 0.8744 MB / 0.6283 GB, free: 11.75 MB / 474.7 MB Notification: Performance of pre-optimization done (n=142): time 5.37e-06/0.7401, allocations: 0 / 0.6283 GB, free: 11.75 MB / 474.7 MB Notification: Performance of matching and sorting (n=143): time 0.01132/0.7514, allocations: 3.43 MB / 0.6316 GB, free: 8.246 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002262/0.7517, allocations: 278.3 kB / 0.6319 GB, free: 7.914 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.7533, allocations: 0.7162 MB / 0.6326 GB, free: 7.176 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003158/0.7536, allocations: 29.7 kB / 0.6326 GB, free: 7.141 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007318/0.7544, allocations: 0.6485 MB / 0.6333 GB, free: 6.48 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007576/0.7551, allocations: 469.2 kB / 0.6337 GB, free: 6.016 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.7553, allocations: 4 kB / 0.6337 GB, free: 6.012 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002402/0.7555, allocations: 382.8 kB / 0.6341 GB, free: 5.629 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001851/0.7574, allocations: 0.6052 MB / 0.6347 GB, free: 5.023 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002505/0.7599, allocations: 1.131 MB / 0.6358 GB, free: 3.648 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.7626, allocations: 0.8337 MB / 0.6366 GB, free: 2.812 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.816e-05/0.7627, allocations: 4 kB / 0.6366 GB, free: 2.809 MB / 474.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.008108/0.7708, allocations: 2.277 MB / 0.6388 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.7709, allocations: 4 kB / 0.6388 GB, free: 0.5078 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1753/0.9462, allocations: 1.639 MB / 0.6404 GB, free: 178.6 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00281/0.9491, allocations: 0.537 MB / 0.6409 GB, free: 178.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002383/0.9515, allocations: 318.3 kB / 0.6412 GB, free: 178.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01392/0.9655, allocations: 8.017 MB / 0.6491 GB, free: 173.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001726/0.9672, allocations: 46.91 kB / 0.6491 GB, free: 173.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004121/0.9677, allocations: 97.19 kB / 0.6492 GB, free: 173.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 21 (system.initime,$whenCondition3,$whenCondition4,$PRE.tapRelay1.cnt_1,tapRelay1.cnt_1,$PRE.tapRelay1.cnt_2,tapRelay1.cnt_2,$whenCondition1,$whenCondition2,$PRE.tapRelay2.cnt_1,tapRelay2.cnt_1,$PRE.tapRelay2.cnt_2,tapRelay2.cnt_2,$PRE.tapRelay2.tap_1,tapRelay2.tap_1,$PRE.tapRelay2.tap_2,tapRelay2.tap_2,$PRE.tapRelay1.tap_1,tapRelay1.tap_1,$PRE.tapRelay1.tap_2,tapRelay1.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 161 * Array equations: 3 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(3,77.8%) 10,(2,100.0%) 12,(3,77.8%) 10} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004625/0.9682, allocations: 156.2 kB / 0.6494 GB, free: 173.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003598/0.9686, allocations: 124.4 kB / 0.6495 GB, free: 173.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00454/0.9731, allocations: 1.526 MB / 0.651 GB, free: 173.7 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.754e-05/0.9732, allocations: 21.16 kB / 0.651 GB, free: 173.7 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9732, allocations: 0 / 0.651 GB, free: 173.7 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.69e-05/0.9733, allocations: 9.641 kB / 0.651 GB, free: 173.7 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008253/0.9815, allocations: 3.125 MB / 0.6541 GB, free: 173 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-05/0.9816, allocations: 2.719 kB / 0.6541 GB, free: 173 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00309/0.9847, allocations: 304.1 kB / 0.6543 GB, free: 173 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.997e-05/0.9848, allocations: 7.531 kB / 0.6544 GB, free: 173 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002739/0.9851, allocations: 30.81 kB / 0.6544 GB, free: 173 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-05/0.9851, allocations: 12.38 kB / 0.6544 GB, free: 173 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.935e-06/0.9851, allocations: 6.156 kB / 0.6544 GB, free: 173 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.005932/0.9911, allocations: 2.622 MB / 0.657 GB, free: 172.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001116/0.9922, allocations: 324.9 kB / 0.6573 GB, free: 172.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004131/0.9927, allocations: 15.5 kB / 0.6573 GB, free: 172.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001544/0.9943, allocations: 40.22 kB / 0.6573 GB, free: 172.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002748/0.9946, allocations: 79.52 kB / 0.6574 GB, free: 172.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001887/0.9948, allocations: 79.23 kB / 0.6575 GB, free: 172.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0009929/0.9958, allocations: 0.5222 MB / 0.658 GB, free: 172.2 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.002249/0.9981, allocations: 388.7 kB / 0.6584 GB, free: 172.2 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 6 (trafo1.i1[1],trafo1.i1[2],trafo1.i1[3],trafo2.i1[1],trafo2.i1[2],trafo2.i1[3]) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,tapRelay2.tap_1,tapRelay2.tap_2,tapRelay2.cnt_1,tapRelay2.cnt_2,tapRelay1.tap_1,tapRelay1.tap_2,tapRelay1.cnt_1,tapRelay1.cnt_2,system.initime) * Number of discrete states: 12 (tapRelay1.tap_2,tapRelay1.cnt_2,$whenCondition4,tapRelay1.tap_1,tapRelay1.cnt_1,$whenCondition3,tapRelay2.tap_2,tapRelay2.cnt_2,$whenCondition2,tapRelay2.tap_1,tapRelay2.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 118 * Array equations: 3 * Algorithm blocks: 2 * 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.0005285/0.9986, allocations: 211.2 kB / 0.6586 GB, free: 172.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00504/1.004, allocations: 2.178 MB / 0.6607 GB, free: 171.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.773e-06/1.004, allocations: 0 / 0.6607 GB, free: 171.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002063/1.006, allocations: 0.9606 MB / 0.6616 GB, free: 171.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00162/1.007, allocations: 160.4 kB / 0.6618 GB, free: 171.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008495/1.016, allocations: 3.066 MB / 0.6648 GB, free: 170.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002152/1.018, allocations: 1.602 MB / 0.6663 GB, free: 170.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.193e-06/1.018, allocations: 0 / 0.6663 GB, free: 170.1 MB / 474.7 MB Notification: Performance of Templates: time 0.05137/1.07, allocations: 28.45 MB / 0.6941 GB, free: 165.2 MB / 474.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)