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: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|meter1.i.1.|meter1.i.2.|meter1.i.3.|meter1.p.1.|meter1.p.2.|meter1.p.3.|meter1.v.1.|meter1.v.2.|meter1.v.3.|meter2.i.1.|meter2.i.2.|meter2.i.3.|meter2.p.1.|meter2.p.2.|meter2.p.3.|meter2.v.1.|meter2.v.2.|meter2.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") [: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.0009914/0.0009915, allocations: 181.8 kB / 8.134 MB, free: 2.207 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.176/1.176, 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.001001/0.001001, allocations: 89.28 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.1686/0.1686, allocations: 37.97 MB / 347.7 MB, free: 7.48 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 8.295e-06/8.335e-06, allocations: 0 / 410 MB, free: 46.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1209, allocations: 56.31 MB / 466.3 MB, free: 6.477 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.369/0.4899, allocations: 109.4 MB / 0.5622 GB, free: 1.25 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.4903, allocations: 91.94 kB / 0.5623 GB, free: 1.16 MB / 394.7 MB Notification: Performance of FrontEnd: time 0.08337/0.5737, allocations: 29.2 MB / 0.5908 GB, free: 3.598 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.279e-05/0.5738, allocations: 20 kB / 0.5908 GB, free: 3.578 MB / 426.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.002104/0.5759, allocations: 1.093 MB / 0.5919 GB, free: 2.426 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/0.576, allocations: 8.031 kB / 0.5919 GB, free: 2.418 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001578/0.5775, allocations: 254.3 kB / 0.5921 GB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003922/0.5815, allocations: 1.442 MB / 0.5936 GB, free: 0.6875 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.298e-05/0.5815, allocations: 28 kB / 0.5936 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001332/0.5817, allocations: 55.91 kB / 0.5936 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001606/0.5833, allocations: 0.9176 MB / 0.5945 GB, free: 15.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/0.585, allocations: 1.24 MB / 0.5957 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.585, allocations: 7.938 kB / 0.5957 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.823e-05/0.5851, allocations: 0 / 0.5957 GB, free: 14.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001573/0.5853, allocations: 105.9 kB / 0.5958 GB, free: 14.23 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.5917, allocations: 5.648 MB / 0.6014 GB, free: 8.32 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5928, allocations: 0.7831 MB / 0.6021 GB, free: 7.48 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004757/0.5933, allocations: 364.1 kB / 0.6025 GB, free: 7.121 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.867e-05/0.5934, allocations: 12.44 kB / 0.6025 GB, free: 7.109 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006281/0.594, allocations: 0.5082 MB / 0.603 GB, free: 6.57 MB / 442.7 MB Notification: Performance of pre-optimization done (n=74): time 2.484e-06/0.594, allocations: 0 / 0.603 GB, free: 6.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=75): time 0.003217/0.5973, allocations: 1.907 MB / 0.6048 GB, free: 4.605 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.773e-05/0.5974, allocations: 170.9 kB / 0.605 GB, free: 4.398 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/0.598, allocations: 0.507 MB / 0.6055 GB, free: 3.887 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.598, allocations: 25.7 kB / 0.6055 GB, free: 3.855 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.5984, allocations: 462 kB / 0.606 GB, free: 3.395 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.5986, allocations: 252.3 kB / 0.6062 GB, free: 3.145 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.785e-05/0.5986, allocations: 0 / 0.6062 GB, free: 3.145 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001568/0.5988, allocations: 386.8 kB / 0.6066 GB, free: 2.758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004982/0.5993, allocations: 358.5 kB / 0.6069 GB, free: 2.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007387/0.6, allocations: 0.7465 MB / 0.6076 GB, free: 1.473 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.6007, allocations: 0.5107 MB / 0.6081 GB, free: 0.9609 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.6008, allocations: 4 kB / 0.6082 GB, free: 0.957 MB / 442.7 MB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002304/0.6031, allocations: 1.347 MB / 0.6095 GB, free: 15.6 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6031, allocations: 8.938 kB / 0.6095 GB, free: 15.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001532/0.6046, allocations: 0.8576 MB / 0.6103 GB, free: 14.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000694/0.6053, allocations: 245.5 kB / 0.6105 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007763/0.6061, allocations: 215.6 kB / 0.6108 GB, free: 14.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004012/0.6101, allocations: 3.737 MB / 0.6144 GB, free: 10.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007265/0.6109, allocations: 39.88 kB / 0.6144 GB, free: 10.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/0.611, allocations: 55.98 kB / 0.6145 GB, free: 10.21 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.0002921/0.6113, allocations: 187.6 kB / 0.6147 GB, free: 10.01 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000147/0.6115, allocations: 75.06 kB / 0.6147 GB, free: 9.938 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001571/0.6131, allocations: 0.871 MB / 0.6156 GB, free: 9.055 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.704e-05/0.6131, allocations: 15.94 kB / 0.6156 GB, free: 9.039 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.6131, allocations: 7.922 kB / 0.6156 GB, free: 9.031 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.6131, allocations: 4 kB / 0.6156 GB, free: 9.027 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003032/0.6162, allocations: 1.728 MB / 0.6173 GB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/0.6162, allocations: 0 / 0.6173 GB, free: 7.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008445/0.6171, allocations: 155.8 kB / 0.6175 GB, free: 7.086 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.6171, allocations: 4 kB / 0.6175 GB, free: 7.082 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.162e-05/0.6171, allocations: 11.98 kB / 0.6175 GB, free: 7.07 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.6171, allocations: 4 kB / 0.6175 GB, free: 7.066 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6172, allocations: 3.938 kB / 0.6175 GB, free: 7.062 MB / 458.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001926/0.6191, allocations: 1.468 MB / 0.6189 GB, free: 5.523 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003344/0.6194, allocations: 216.1 kB / 0.6191 GB, free: 5.289 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.6196, allocations: 7.984 kB / 0.6191 GB, free: 5.281 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004214/0.62, allocations: 27.88 kB / 0.6192 GB, free: 5.254 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001151/0.6201, allocations: 48.39 kB / 0.6192 GB, free: 5.207 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.239e-05/0.6202, allocations: 39.95 kB / 0.6192 GB, free: 5.168 MB / 458.7 MB Notification: Performance of sort global known variables: time 0.0004256/0.6206, allocations: 375.1 kB / 0.6196 GB, free: 4.805 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00102/0.6217, allocations: 231.9 kB / 0.6198 GB, free: 4.578 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.000334/0.622, allocations: 175.1 kB / 0.62 GB, free: 4.398 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001756/0.6238, allocations: 1.192 MB / 0.6211 GB, free: 3.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6238, allocations: 1.625 kB / 0.6212 GB, free: 3.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006422/0.6244, allocations: 491.5 kB / 0.6216 GB, free: 2.695 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005848/0.625, allocations: 107.2 kB / 0.6217 GB, free: 2.594 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002887/0.6279, allocations: 1.613 MB / 0.6233 GB, free: 0.9336 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009588/0.6289, allocations: 1.2 MB / 0.6245 GB, free: 15.71 MB / 474.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6289, allocations: 0 / 0.6245 GB, free: 15.71 MB / 474.7 MB Notification: Performance of Templates: time 0.01749/0.6464, allocations: 9.456 MB / 0.6337 GB, free: 6.25 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile (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 & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches