Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo", uses=false) Using package PowerSystems with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger") translateModel(PowerSystems.Examples.AC3ph.Transformation.TapChanger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001122/0.001122, allocations: 190 kB / 8.136 MB, free: 2.195 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.219/1.219, allocations: 194.2 MB / 202.8 MB, free: 8.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001551/0.001551, allocations: 110.9 kB / 247.7 MB, free: 6.387 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1626/0.1626, allocations: 37.93 MB / 330.6 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 8.686e-06/8.706e-06, allocations: 0 / 389.8 MB, free: 78.14 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0978/0.09783, allocations: 53.24 MB / 443 MB, free: 24.98 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3254/0.4232, allocations: 104.1 MB / 0.5343 GB, free: 3.516 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002329/0.4235, allocations: 86.14 kB / 0.5344 GB, free: 3.473 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.1359/0.5594, allocations: 48.35 MB / 0.5816 GB, free: 10.27 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001183/0.5596, allocations: 39.94 kB / 0.5817 GB, free: 10.23 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: 423 * Number of variables: 423 Notification: Performance of Generate backend data structure: time 0.005076/0.5647, allocations: 1.574 MB / 0.5832 GB, free: 8.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.489e-05/0.5647, allocations: 8.031 kB / 0.5832 GB, free: 8.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003389/0.5682, allocations: 437.3 kB / 0.5836 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006189/0.5744, allocations: 2.081 MB / 0.5856 GB, free: 6.398 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.642e-05/0.5745, allocations: 47.91 kB / 0.5857 GB, free: 6.352 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004749/0.575, allocations: 88 kB / 0.5858 GB, free: 6.266 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003324/0.5783, allocations: 1.591 MB / 0.5873 GB, free: 4.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003906/0.5822, allocations: 2.073 MB / 0.5894 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.725e-05/0.5823, allocations: 15.84 kB / 0.5894 GB, free: 2.43 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/0.5824, allocations: 4 kB / 0.5894 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003222/0.5827, allocations: 194.7 kB / 0.5896 GB, free: 2.234 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01109/0.5938, allocations: 9.093 MB / 0.5984 GB, free: 8.711 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00187/0.5958, allocations: 1.273 MB / 0.5997 GB, free: 7.422 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008334/0.5966, allocations: 0.6538 MB / 0.6003 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.537e-05/0.5967, allocations: 28.91 kB / 0.6003 GB, free: 6.734 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001091/0.5978, allocations: 0.886 MB / 0.6012 GB, free: 5.805 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 4.008e-06/0.5978, allocations: 0 / 0.6012 GB, free: 5.805 MB / 410.7 MB Notification: Performance of matching and sorting (n=143): time 0.005725/0.6035, allocations: 3.414 MB / 0.6045 GB, free: 2.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001464/0.6037, allocations: 286.3 kB / 0.6048 GB, free: 1.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009725/0.6047, allocations: 0.7162 MB / 0.6055 GB, free: 1.242 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.791e-05/0.6048, allocations: 29.64 kB / 0.6056 GB, free: 1.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/0.6053, allocations: 0.6344 MB / 0.6062 GB, free: 0.5586 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003688/0.6057, allocations: 473.2 kB / 0.6066 GB, free: 92 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.454e-05/0.6057, allocations: 0 / 0.6066 GB, free: 92 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.606, allocations: 438.7 kB / 0.607 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008415/0.6068, allocations: 0.5974 MB / 0.6076 GB, free: 15.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001147/0.608, allocations: 1.135 MB / 0.6087 GB, free: 13.68 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/0.6092, allocations: 0.8376 MB / 0.6095 GB, free: 12.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.655e-06/0.6092, allocations: 7.938 kB / 0.6096 GB, free: 12.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.004127/0.6133, allocations: 2.31 MB / 0.6118 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.6134, allocations: 8 kB / 0.6118 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003022/0.6164, allocations: 1.649 MB / 0.6134 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.6181, allocations: 0.5517 MB / 0.614 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.6193, allocations: 311.5 kB / 0.6143 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008807/0.6281, allocations: 8.022 MB / 0.6221 GB, free: 15.49 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/0.6295, allocations: 52.02 kB / 0.6222 GB, free: 15.44 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001812/0.6297, allocations: 95.88 kB / 0.6222 GB, free: 15.34 MB / 442.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.0003891/0.63, allocations: 237.6 kB / 0.6225 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001836/0.6302, allocations: 122.5 kB / 0.6226 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002681/0.6329, allocations: 1.521 MB / 0.6241 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.754e-05/0.633, allocations: 23.98 kB / 0.6241 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.633, allocations: 0 / 0.6241 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.633, allocations: 3.984 kB / 0.6241 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005065/0.6381, allocations: 3.124 MB / 0.6271 GB, free: 10.17 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.826e-06/0.6381, allocations: 4 kB / 0.6272 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001559/0.6397, allocations: 308 kB / 0.6274 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.667e-05/0.6397, allocations: 11.91 kB / 0.6275 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.717e-05/0.6398, allocations: 23.98 kB / 0.6275 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.124e-05/0.6398, allocations: 11.94 kB / 0.6275 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/0.6398, allocations: 4 kB / 0.6275 GB, free: 9.812 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003371/0.6432, allocations: 2.623 MB / 0.6301 GB, free: 7.043 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006214/0.6438, allocations: 315.5 kB / 0.6304 GB, free: 6.715 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001873/0.644, allocations: 23.89 kB / 0.6304 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006723/0.6447, allocations: 39.91 kB / 0.6304 GB, free: 6.652 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001896/0.6449, allocations: 76.8 kB / 0.6305 GB, free: 6.578 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/0.6451, allocations: 83.86 kB / 0.6306 GB, free: 6.496 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0007118/0.6458, allocations: 0.5193 MB / 0.6311 GB, free: 5.965 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001582/0.6474, allocations: 392 kB / 0.6315 GB, free: 5.582 MB / 442.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.0004005/0.6478, allocations: 208.6 kB / 0.6317 GB, free: 5.371 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003237/0.6511, allocations: 2.169 MB / 0.6338 GB, free: 3.148 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.618e-06/0.6511, allocations: 4 kB / 0.6338 GB, free: 3.145 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.6523, allocations: 0.9608 MB / 0.6347 GB, free: 2.172 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009203/0.6532, allocations: 163.3 kB / 0.6349 GB, free: 2.008 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005391/0.6586, allocations: 2.938 MB / 0.6377 GB, free: 14.97 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001444/0.6601, allocations: 1.57 MB / 0.6393 GB, free: 13.38 MB / 458.7 MB Notification: Performance of SimCode: time 9.72e-07/0.6601, allocations: 0 / 0.6393 GB, free: 13.38 MB / 458.7 MB Notification: Performance of Templates: time 0.0287/0.6888, allocations: 16.58 MB / 0.6555 GB, free: 12.8 MB / 474.7 MB make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.makefile (rm -f PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)