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: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Transformation.TapChanger,fileNamePrefix="PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger",fmuType="me",version="2.0",platforms={"static"}) [: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.0009349/0.0009349, allocations: 178.1 kB / 8.128 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 0.9748/0.9748, allocations: 194.2 MB / 202.8 MB, free: 8.68 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.001589/0.001589, allocations: 124.1 kB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0/package.mo): time 0.1493/0.1493, allocations: 37.92 MB / 330.5 MB, free: 6.934 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1667/0.3161, allocations: 59.34 MB / 389.9 MB, free: 78.05 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06878/0.3849, allocations: 53.23 MB / 443.1 MB, free: 24.91 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.608, allocations: 104.1 MB / 0.5344 GB, free: 3.648 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001557/0.6082, allocations: 86.89 kB / 0.5345 GB, free: 3.605 MB / 346.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.1312/0.7394, allocations: 49.97 MB / 0.5833 GB, free: 8.836 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.433e-05/0.7395, allocations: 8 kB / 0.5833 GB, free: 8.828 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002564/0.742, allocations: 441.3 kB / 0.5837 GB, free: 8.395 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00528/0.7473, allocations: 2.076 MB / 0.5857 GB, free: 6.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.7474, allocations: 47.91 kB / 0.5858 GB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002631/0.7477, allocations: 88 kB / 0.5859 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002687/0.7504, allocations: 1.587 MB / 0.5874 GB, free: 4.684 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.7534, allocations: 2.085 MB / 0.5895 GB, free: 2.445 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.7535, allocations: 19.83 kB / 0.5895 GB, free: 2.426 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/0.7536, allocations: 4 kB / 0.5895 GB, free: 2.422 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002842/0.7539, allocations: 194.7 kB / 0.5897 GB, free: 2.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01079/0.7647, allocations: 9.085 MB / 0.5985 GB, free: 8.715 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001911/0.7666, allocations: 1.278 MB / 0.5998 GB, free: 7.418 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008468/0.7675, allocations: 0.6499 MB / 0.6004 GB, free: 6.766 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.881e-05/0.7676, allocations: 20.98 kB / 0.6004 GB, free: 6.742 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.7687, allocations: 0.8899 MB / 0.6013 GB, free: 5.809 MB / 410.7 MB Notification: Performance of pre-optimization done (n=142): time 3.477e-06/0.7687, allocations: 0 / 0.6013 GB, free: 5.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=143): time 0.005754/0.7745, allocations: 3.414 MB / 0.6046 GB, free: 2.32 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001402/0.7746, allocations: 290.4 kB / 0.6049 GB, free: 1.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008556/0.7755, allocations: 0.7084 MB / 0.6056 GB, free: 1.246 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.168e-05/0.7756, allocations: 33.64 kB / 0.6056 GB, free: 1.207 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004468/0.776, allocations: 0.6421 MB / 0.6063 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.7764, allocations: 465.2 kB / 0.6067 GB, free: 92 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.56e-05/0.7764, allocations: 4 kB / 0.6067 GB, free: 88 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.7766, allocations: 430.8 kB / 0.6071 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008551/0.7775, allocations: 0.6052 MB / 0.6077 GB, free: 15.05 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.7787, allocations: 1.131 MB / 0.6088 GB, free: 13.67 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001194/0.7799, allocations: 0.8376 MB / 0.6096 GB, free: 12.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.7799, allocations: 4 kB / 0.6096 GB, free: 12.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=231) (initialization): time 0.00404/0.784, allocations: 2.308 MB / 0.6119 GB, free: 10.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.784, allocations: 12.25 kB / 0.6119 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002937/0.7869, allocations: 1.652 MB / 0.6135 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001581/0.7885, allocations: 0.5446 MB / 0.6141 GB, free: 8.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.7896, allocations: 319.5 kB / 0.6144 GB, free: 7.957 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008574/0.7982, allocations: 8.029 MB / 0.6222 GB, free: 15.48 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.7993, allocations: 51.94 kB / 0.6223 GB, free: 15.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/0.7994, allocations: 95.95 kB / 0.6223 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.0003092/0.7998, allocations: 232.7 kB / 0.6226 GB, free: 15.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001651/0.7999, allocations: 122.5 kB / 0.6227 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002428/0.8024, allocations: 1.525 MB / 0.6242 GB, free: 13.44 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.893e-05/0.8024, allocations: 20 kB / 0.6242 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.8024, allocations: 0 / 0.6242 GB, free: 13.42 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.8024, allocations: 7.969 kB / 0.6242 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004465/0.8069, allocations: 3.124 MB / 0.6272 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.8069, allocations: 0 / 0.6272 GB, free: 10.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/0.8084, allocations: 308 kB / 0.6275 GB, free: 9.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-05/0.8084, allocations: 11.91 kB / 0.6276 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.941e-05/0.8085, allocations: 23.98 kB / 0.6276 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.657e-05/0.8085, allocations: 11.98 kB / 0.6276 GB, free: 9.816 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.8086, allocations: 11.94 kB / 0.6276 GB, free: 9.805 MB / 442.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003152/0.8117, allocations: 2.611 MB / 0.6301 GB, free: 7.047 MB / 442.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.004344/0.8161, allocations: 3.882 MB / 0.6339 GB, free: 3.016 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/0.8167, allocations: 315.5 kB / 0.6342 GB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.8168, allocations: 23.98 kB / 0.6343 GB, free: 2.664 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006606/0.8175, allocations: 35.91 kB / 0.6343 GB, free: 2.629 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/0.8177, allocations: 80.8 kB / 0.6344 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001314/0.8178, allocations: 79.86 kB / 0.6345 GB, free: 2.473 MB / 442.7 MB Notification: Performance of sort global known variables: time 0.0006474/0.8185, allocations: 0.5193 MB / 0.635 GB, free: 1.941 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.001971/0.8205, allocations: 392.1 kB / 0.6353 GB, free: 1.559 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.0003581/0.8208, allocations: 224.5 kB / 0.6355 GB, free: 1.332 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003039/0.8239, allocations: 2.177 MB / 0.6377 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.8239, allocations: 0 / 0.6377 GB, free: 15.11 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00116/0.825, allocations: 0.9527 MB / 0.6386 GB, free: 14.14 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008049/0.8259, allocations: 171.5 kB / 0.6388 GB, free: 13.97 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004905/0.8308, allocations: 2.938 MB / 0.6416 GB, free: 10.94 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001451/0.8322, allocations: 1.586 MB / 0.6432 GB, free: 9.324 MB / 458.7 MB Notification: Performance of SimCode: time 5.51e-07/0.8323, allocations: 0 / 0.6432 GB, free: 9.324 MB / 458.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 PowerSystems_PowerSystems_Examples_AC3ph_Transformation_TapChanger.fmu > PowerSystems_PowerSystems.Examples.AC3ph.Transformation.TapChanger.pipe 2>&1)