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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001604/0.001604, allocations: 174.8 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.0008563/0.0008563, allocations: 70.8 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1549/0.1549, allocations: 37.98 MB / 353.5 MB, free: 1.738 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 3.18e-05/3.183e-05, allocations: 4 kB / 417.7 MB, free: 29.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09927/0.09931, allocations: 56.32 MB / 474.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3487/0.448, allocations: 110.1 MB / 0.5704 GB, free: 9.066 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002076/0.4483, allocations: 93.69 kB / 0.5705 GB, free: 9.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08201/0.5303, allocations: 29.72 MB / 0.5995 GB, free: 15.32 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5303, allocations: 0 / 0.5995 GB, free: 15.32 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.949e-05/0.5304, allocations: 27.98 kB / 0.5996 GB, free: 15.3 MB / 410.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.001968/0.5323, allocations: 1.098 MB / 0.6006 GB, free: 14.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.5324, allocations: 19.95 kB / 0.6007 GB, free: 14.18 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/0.5339, allocations: 258.2 kB / 0.6009 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003625/0.5375, allocations: 1.422 MB / 0.6023 GB, free: 12.7 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.485e-05/0.5376, allocations: 60.86 kB / 0.6023 GB, free: 12.66 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001488/0.5377, allocations: 86.86 kB / 0.6024 GB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001887/0.5396, allocations: 1.329 MB / 0.6037 GB, free: 11.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.5397, allocations: 8 kB / 0.6037 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.998e-05/0.5398, allocations: 39.17 kB / 0.6038 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001601/0.5399, allocations: 102.8 kB / 0.6039 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001502/0.5414, allocations: 1.011 MB / 0.6049 GB, free: 10.67 MB / 410.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006105/0.5475, allocations: 5.757 MB / 0.6105 GB, free: 5.336 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001123/0.5487, allocations: 0.8195 MB / 0.6113 GB, free: 4.648 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004665/0.5492, allocations: 365.5 kB / 0.6116 GB, free: 4.406 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.082e-05/0.5492, allocations: 15.98 kB / 0.6116 GB, free: 4.395 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000671/0.5499, allocations: 0.5128 MB / 0.6121 GB, free: 3.965 MB / 410.7 MB Notification: Performance of pre-optimization done (n=73): time 2.745e-06/0.5499, allocations: 0 / 0.6121 GB, free: 3.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=74): time 0.003067/0.553, allocations: 2.075 MB / 0.6142 GB, free: 2.23 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5531, allocations: 174.3 kB / 0.6143 GB, free: 2.027 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006232/0.5537, allocations: 0.5314 MB / 0.6149 GB, free: 1.594 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.851e-05/0.5538, allocations: 37.39 kB / 0.6149 GB, free: 1.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/0.5541, allocations: 0.511 MB / 0.6154 GB, free: 1.141 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001906/0.5543, allocations: 258.8 kB / 0.6156 GB, free: 0.918 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.231e-05/0.5544, allocations: 20.25 kB / 0.6157 GB, free: 0.9141 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.5546, allocations: 395.7 kB / 0.616 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.5551, allocations: 360.8 kB / 0.6164 GB, free: 316 kB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007867/0.5559, allocations: 0.7579 MB / 0.6171 GB, free: 15.5 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007082/0.5566, allocations: 0.5326 MB / 0.6176 GB, free: 15.08 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.572e-06/0.5566, allocations: 4 kB / 0.6176 GB, free: 15.08 MB / 426.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002427/0.559, allocations: 1.464 MB / 0.6191 GB, free: 13.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.623e-05/0.5591, allocations: 40.2 kB / 0.6191 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001544/0.5607, allocations: 0.8717 MB / 0.62 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007044/0.5614, allocations: 253.8 kB / 0.6202 GB, free: 12.72 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.5621, allocations: 227.5 kB / 0.6204 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004204/0.5663, allocations: 4.018 MB / 0.6243 GB, free: 8.215 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007091/0.5671, allocations: 67.84 kB / 0.6244 GB, free: 8.148 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000114/0.5672, allocations: 64.12 kB / 0.6245 GB, free: 8.086 MB / 426.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 (115): * Single equations (assignments): 110 * 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.0002293/0.5674, allocations: 210.3 kB / 0.6247 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.5675, allocations: 75.06 kB / 0.6247 GB, free: 7.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001569/0.5691, allocations: 0.9416 MB / 0.6257 GB, free: 6.832 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-05/0.5692, allocations: 15.95 kB / 0.6257 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.853e-06/0.5692, allocations: 0 / 0.6257 GB, free: 6.816 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.686e-06/0.5692, allocations: 3.984 kB / 0.6257 GB, free: 6.812 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003068/0.5723, allocations: 1.924 MB / 0.6276 GB, free: 4.809 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.512e-06/0.5723, allocations: 3.984 kB / 0.6276 GB, free: 4.805 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007746/0.5731, allocations: 167.8 kB / 0.6277 GB, free: 4.641 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.959e-06/0.5731, allocations: 8.156 kB / 0.6277 GB, free: 4.633 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.463e-05/0.5731, allocations: 23.98 kB / 0.6278 GB, free: 4.609 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.551e-06/0.5732, allocations: 4 kB / 0.6278 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5732, allocations: 0 / 0.6278 GB, free: 4.605 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002023/0.5752, allocations: 1.523 MB / 0.6292 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003808/0.5756, allocations: 212.1 kB / 0.6294 GB, free: 2.781 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.93e-05/0.5757, allocations: 23.94 kB / 0.6295 GB, free: 2.758 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004002/0.5761, allocations: 43.95 kB / 0.6295 GB, free: 2.715 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/0.5762, allocations: 44.5 kB / 0.6296 GB, free: 2.672 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.556e-05/0.5763, allocations: 39.95 kB / 0.6296 GB, free: 2.633 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004804/0.5768, allocations: 407.1 kB / 0.63 GB, free: 2.242 MB / 426.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5768, allocations: 0 / 0.63 GB, free: 2.242 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0009372/0.5777, allocations: 271.9 kB / 0.6302 GB, free: 1.977 MB / 426.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 (66): * Single equations (assignments): 62 * 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.0003067/0.5781, allocations: 184.3 kB / 0.6304 GB, free: 1.789 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00189/0.58, allocations: 1.284 MB / 0.6317 GB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.58, allocations: 0 / 0.6317 GB, free: 472 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006547/0.5806, allocations: 0.5041 MB / 0.6322 GB, free: 15.95 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.5812, allocations: 119.2 kB / 0.6323 GB, free: 15.83 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002611/0.5838, allocations: 1.614 MB / 0.6339 GB, free: 14.17 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.5846, allocations: 1.135 MB / 0.635 GB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0007754/0.5854, allocations: 290.2 kB / 0.6352 GB, free: 12.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000176/0.5856, allocations: 63.42 kB / 0.6353 GB, free: 12.66 MB / 442.7 MB Notification: Performance of SimCode: time 9.92e-07/0.5856, allocations: 7.938 kB / 0.6353 GB, free: 12.65 MB / 442.7 MB Notification: Performance of Templates: time 0.01629/0.6019, allocations: 8.898 MB / 0.644 GB, free: 3.75 MB / 442.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