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.0009785/0.0009786, allocations: 181.2 kB / 16.39 MB, free: 5.762 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.287/1.287, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0008921/0.0008921, allocations: 91.78 kB / 270.9 MB, free: 8.367 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1587/0.1587, allocations: 38.05 MB / 357.2 MB, free: 1.891 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003866/0.0003869, allocations: 12 kB / 424 MB, free: 37.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2915, allocations: 56.31 MB / 480.3 MB, free: 9.551 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1436/0.4351, allocations: 110.2 MB / 0.5766 GB, free: 8.238 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.4355, allocations: 87.95 kB / 0.5767 GB, free: 8.152 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08381/0.5193, allocations: 29.74 MB / 0.6058 GB, free: 10.03 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.5194, allocations: 4 kB / 0.6058 GB, free: 10.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 4.677e-05/0.5194, allocations: 27.88 kB / 0.6058 GB, free: 9.996 MB / 442.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.002079/0.5215, allocations: 1.198 MB / 0.607 GB, free: 8.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.5215, allocations: 8.031 kB / 0.607 GB, free: 8.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/0.5229, allocations: 254.5 kB / 0.6072 GB, free: 8.48 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003394/0.5263, allocations: 1.449 MB / 0.6086 GB, free: 6.984 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.338e-05/0.5264, allocations: 61.98 kB / 0.6087 GB, free: 6.926 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001297/0.5265, allocations: 83.98 kB / 0.6088 GB, free: 6.844 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001744/0.5283, allocations: 1.345 MB / 0.6101 GB, free: 5.395 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.94e-05/0.5283, allocations: 15.84 kB / 0.6101 GB, free: 5.379 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.473e-05/0.5284, allocations: 35.98 kB / 0.6101 GB, free: 5.344 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001398/0.5286, allocations: 97.94 kB / 0.6102 GB, free: 5.25 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001479/0.53, allocations: 1.026 MB / 0.6112 GB, free: 4.219 MB / 442.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.005817/0.5359, allocations: 5.765 MB / 0.6169 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.537, allocations: 0.8309 MB / 0.6177 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.537, allocations: 12.61 kB / 0.6177 GB, free: 13.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006505/0.5377, allocations: 0.521 MB / 0.6182 GB, free: 12.72 MB / 458.7 MB Notification: Performance of pre-optimization done (n=73): time 2.485e-06/0.5377, allocations: 0 / 0.6182 GB, free: 12.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=74): time 0.003311/0.541, allocations: 2.627 MB / 0.6207 GB, free: 9.965 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.367e-05/0.5411, allocations: 170.7 kB / 0.6209 GB, free: 9.762 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005424/0.5416, allocations: 0.5343 MB / 0.6214 GB, free: 9.223 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.672e-05/0.5417, allocations: 37.7 kB / 0.6215 GB, free: 9.18 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002945/0.542, allocations: 0.5135 MB / 0.622 GB, free: 8.656 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000223/0.5422, allocations: 252.5 kB / 0.6222 GB, free: 8.406 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.62e-05/0.5423, allocations: 20 kB / 0.6222 GB, free: 8.387 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001469/0.5424, allocations: 394.8 kB / 0.6226 GB, free: 7.992 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005105/0.543, allocations: 370.4 kB / 0.623 GB, free: 7.629 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007147/0.5437, allocations: 0.7612 MB / 0.6237 GB, free: 6.684 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006616/0.5443, allocations: 0.5395 MB / 0.6242 GB, free: 6.137 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.5444, allocations: 4 kB / 0.6242 GB, free: 6.133 MB / 458.7 MB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002277/0.5466, allocations: 1.475 MB / 0.6257 GB, free: 4.641 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.807e-05/0.5467, allocations: 37.7 kB / 0.6257 GB, free: 4.598 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001435/0.5481, allocations: 0.8778 MB / 0.6266 GB, free: 3.715 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006945/0.5488, allocations: 257.5 kB / 0.6268 GB, free: 3.457 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007006/0.5496, allocations: 219.6 kB / 0.627 GB, free: 3.242 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003962/0.5535, allocations: 4.134 MB / 0.6311 GB, free: 14.84 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005694/0.5541, allocations: 59.95 kB / 0.6311 GB, free: 14.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.083e-05/0.5542, allocations: 63.97 kB / 0.6312 GB, free: 14.72 MB / 474.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 () * Number of clocked 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.0004746/0.5547, allocations: 403 kB / 0.6316 GB, free: 14.31 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.171e-05/0.5548, allocations: 75.06 kB / 0.6316 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.5562, allocations: 0.9508 MB / 0.6326 GB, free: 13.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.461e-05/0.5562, allocations: 12 kB / 0.6326 GB, free: 13.25 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.5562, allocations: 11.83 kB / 0.6326 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.185e-06/0.5563, allocations: 7.984 kB / 0.6326 GB, free: 13.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002796/0.5591, allocations: 1.918 MB / 0.6345 GB, free: 11.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.5591, allocations: 12 kB / 0.6345 GB, free: 11.22 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007687/0.5599, allocations: 164 kB / 0.6346 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.5599, allocations: 4 kB / 0.6346 GB, free: 11.06 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.155e-05/0.5599, allocations: 23.98 kB / 0.6347 GB, free: 11.04 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.66e-06/0.5599, allocations: 4 kB / 0.6347 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5599, allocations: 3.938 kB / 0.6347 GB, free: 11.03 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.5617, allocations: 1.543 MB / 0.6362 GB, free: 9.406 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.5621, allocations: 212.1 kB / 0.6364 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-05/0.5622, allocations: 16 kB / 0.6364 GB, free: 9.164 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003971/0.5626, allocations: 47.84 kB / 0.6364 GB, free: 9.117 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.5627, allocations: 48.44 kB / 0.6365 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.552e-05/0.5627, allocations: 35.97 kB / 0.6365 GB, free: 9.035 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003954/0.5631, allocations: 411 kB / 0.6369 GB, free: 8.641 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5631, allocations: 0 / 0.6369 GB, free: 8.641 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008335/0.564, allocations: 275.9 kB / 0.6372 GB, free: 8.371 MB / 474.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) * Number of clocked states: 0 () * 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.0002809/0.5643, allocations: 181.5 kB / 0.6373 GB, free: 8.184 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00171/0.566, allocations: 1.297 MB / 0.6386 GB, free: 6.852 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.566, allocations: 0 / 0.6386 GB, free: 6.852 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006518/0.5667, allocations: 0.5184 MB / 0.6391 GB, free: 6.316 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005471/0.5672, allocations: 118.8 kB / 0.6392 GB, free: 6.199 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003082/0.5703, allocations: 2.41 MB / 0.6416 GB, free: 3.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007149/0.571, allocations: 1.139 MB / 0.6427 GB, free: 2.578 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006963/0.5717, allocations: 286.2 kB / 0.643 GB, free: 2.293 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000165/0.5719, allocations: 63.42 kB / 0.643 GB, free: 2.23 MB / 474.7 MB Notification: Performance of SimCode: time 4.21e-07/0.5719, allocations: 0 / 0.643 GB, free: 2.23 MB / 474.7 MB Notification: Performance of Templates: time 0.1896/0.7615, allocations: 8.672 MB / 0.6515 GB, free: 132.8 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