Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(PowerSystems.Examples.AC3ph.Elementary.Transformer,fileNamePrefix="PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer",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.3+maint.om/package.mo): time 0.001488/0.001489, allocations: 182 kB / 8.132 MB, free: 2.219 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.19/1.19, allocations: 205.2 MB / 213.7 MB, free: 13.86 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008527/0.0008529, allocations: 81.36 kB / 261.7 MB, free: 13.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1636/0.1636, allocations: 37.98 MB / 347.7 MB, free: 7.469 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1825/0.3461, allocations: 62.43 MB / 410.1 MB, free: 46.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09043/0.4365, allocations: 56.32 MB / 466.4 MB, free: 6.375 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2998/0.7363, allocations: 109.4 MB / 0.5623 GB, free: 1.074 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.7366, allocations: 87.95 kB / 0.5624 GB, free: 0.9883 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.08635/0.823, allocations: 30.31 MB / 0.592 GB, free: 2.25 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.855e-05/0.823, allocations: 8 kB / 0.592 GB, free: 2.242 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001806/0.8249, allocations: 262.3 kB / 0.5922 GB, free: 1.984 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004275/0.8292, allocations: 1.442 MB / 0.5936 GB, free: 0.5039 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.536e-05/0.8293, allocations: 28 kB / 0.5937 GB, free: 488 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002742/0.8295, allocations: 55.91 kB / 0.5937 GB, free: 432 kB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001824/0.8314, allocations: 0.9176 MB / 0.5946 GB, free: 15.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002002/0.8334, allocations: 1.236 MB / 0.5958 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.8334, allocations: 7.938 kB / 0.5958 GB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.264e-05/0.8335, allocations: 7.984 kB / 0.5958 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001684/0.8337, allocations: 101.9 kB / 0.5959 GB, free: 14.05 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006512/0.8402, allocations: 5.647 MB / 0.6015 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/0.8413, allocations: 0.7831 MB / 0.6022 GB, free: 7.297 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004587/0.8418, allocations: 364 kB / 0.6026 GB, free: 6.938 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.801e-05/0.8419, allocations: 12.47 kB / 0.6026 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006408/0.8425, allocations: 0.4965 MB / 0.6031 GB, free: 6.398 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 3.397e-06/0.8425, allocations: 4 kB / 0.6031 GB, free: 6.395 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.003127/0.8457, allocations: 1.911 MB / 0.6049 GB, free: 4.426 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.736e-05/0.8458, allocations: 166.9 kB / 0.6051 GB, free: 4.223 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005742/0.8464, allocations: 0.507 MB / 0.6056 GB, free: 3.711 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.782e-05/0.8464, allocations: 25.7 kB / 0.6056 GB, free: 3.68 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.8467, allocations: 461.9 kB / 0.6061 GB, free: 3.219 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001777/0.8469, allocations: 248.4 kB / 0.6063 GB, free: 2.973 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.8469, allocations: 7.969 kB / 0.6063 GB, free: 2.965 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001261/0.8471, allocations: 390.8 kB / 0.6067 GB, free: 2.574 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005076/0.8476, allocations: 358.5 kB / 0.607 GB, free: 2.223 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007177/0.8483, allocations: 0.7387 MB / 0.6077 GB, free: 1.301 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007366/0.8491, allocations: 0.5107 MB / 0.6082 GB, free: 0.7891 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8491, allocations: 4 kB / 0.6082 GB, free: 0.7852 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002436/0.8515, allocations: 1.352 MB / 0.6096 GB, free: 15.42 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.164e-05/0.8516, allocations: 8 kB / 0.6096 GB, free: 15.41 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001718/0.8533, allocations: 0.8583 MB / 0.6104 GB, free: 14.55 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008953/0.8542, allocations: 249.5 kB / 0.6106 GB, free: 14.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008509/0.8551, allocations: 211.6 kB / 0.6108 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00418/0.8593, allocations: 3.737 MB / 0.6145 GB, free: 10.12 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008678/0.8602, allocations: 39.94 kB / 0.6145 GB, free: 10.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/0.8603, allocations: 59.97 kB / 0.6146 GB, free: 10.03 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,$whenCondition1,$whenCondition2,$PRE.tapChanger.cnt_1,tapChanger.cnt_1,$PRE.tapChanger.cnt_2,tapChanger.cnt_2,$PRE.tapChanger.tap_1,tapChanger.tap_1,$PRE.tapChanger.tap_2,tapChanger.tap_2) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (116): * Single equations (assignments): 111 * Array equations: 2 * Algorithm blocks: 1 * 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: 2 {(2,100.0%) 12,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.8606, allocations: 175.6 kB / 0.6148 GB, free: 9.844 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.8607, allocations: 79.05 kB / 0.6148 GB, free: 9.766 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001498/0.8622, allocations: 0.8749 MB / 0.6157 GB, free: 8.879 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.666e-05/0.8623, allocations: 16.03 kB / 0.6157 GB, free: 8.863 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.8623, allocations: 0 / 0.6157 GB, free: 8.863 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.8623, allocations: 3.984 kB / 0.6157 GB, free: 8.859 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002824/0.8651, allocations: 1.728 MB / 0.6174 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.8652, allocations: 4.062 kB / 0.6174 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008269/0.866, allocations: 163.9 kB / 0.6176 GB, free: 6.906 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-05/0.866, allocations: 4 kB / 0.6176 GB, free: 6.902 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.063e-05/0.8661, allocations: 15.98 kB / 0.6176 GB, free: 6.887 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.939e-06/0.8661, allocations: 4 kB / 0.6176 GB, free: 6.883 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.8661, allocations: 3.938 kB / 0.6176 GB, free: 6.879 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002074/0.8682, allocations: 1.472 MB / 0.619 GB, free: 5.336 MB / 458.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.002589/0.8708, allocations: 2.324 MB / 0.6213 GB, free: 2.938 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003733/0.8712, allocations: 220.1 kB / 0.6215 GB, free: 2.703 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.8713, allocations: 8 kB / 0.6215 GB, free: 2.695 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004862/0.8718, allocations: 27.97 kB / 0.6215 GB, free: 2.668 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.8719, allocations: 44.34 kB / 0.6216 GB, free: 2.625 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.65e-05/0.872, allocations: 35.97 kB / 0.6216 GB, free: 2.59 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0004679/0.8725, allocations: 379.1 kB / 0.622 GB, free: 2.223 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001537/0.874, allocations: 240.2 kB / 0.6222 GB, free: 1.988 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (trafo.i1[1],trafo.i1[2],trafo.i1[3]) * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,tapChanger.tap_1,tapChanger.tap_2,tapChanger.cnt_1,tapChanger.cnt_2,system.initime) * Number of discrete states: 6 (tapChanger.tap_2,tapChanger.cnt_2,$whenCondition2,tapChanger.tap_1,tapChanger.cnt_1,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 63 * Array equations: 2 * Algorithm blocks: 1 * 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.0003163/0.8744, allocations: 159 kB / 0.6224 GB, free: 1.824 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001702/0.8761, allocations: 1.189 MB / 0.6235 GB, free: 0.6094 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8761, allocations: 3.938 kB / 0.6235 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000587/0.8767, allocations: 491.5 kB / 0.624 GB, free: 124 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005835/0.8773, allocations: 107.9 kB / 0.6241 GB, free: 20 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002845/0.8801, allocations: 1.625 MB / 0.6257 GB, free: 14.35 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009251/0.8811, allocations: 1.208 MB / 0.6269 GB, free: 13.12 MB / 474.7 MB Notification: Performance of SimCode: time 7.81e-07/0.8811, allocations: 0 / 0.6269 GB, free: 13.12 MB / 474.7 MB (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat --tempDir=temp_PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer_fmu --startTime=0 --stopTime=3 --timeout=50 --tolerance=1e-06 PowerSystems_latest_PowerSystems_Examples_AC3ph_Elementary_Transformer.fmu > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1)