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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 113.8 kB / 17.06 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.001281, allocations: 198.8 kB / 18.01 MB, free: 5.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.532/1.532, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1838/0.1838, allocations: 38.05 MB / 329.9 MB, free: 8.738 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001533, allocations: 60.09 kB / 458.1 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4671/0.4687, allocations: 58.06 MB / 0.5041 GB, free: 7.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008624/0.4773, allocations: 6.526 MB / 0.5105 GB, free: 3.184 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004437/0.4818, allocations: 2.438 MB / 0.5129 GB, free: 1.477 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000733/0.4826, allocations: 25.72 kB / 0.5129 GB, free: 1.465 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001712/0.4843, allocations: 0.603 MB / 0.5135 GB, free: 1.113 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00207/0.4864, allocations: 0.6817 MB / 0.5141 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.4879, allocations: 455.4 kB / 0.5146 GB, free: 0.5547 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002092/0.49, allocations: 1.362 MB / 0.5159 GB, free: 15.99 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008077/0.4909, allocations: 489.2 kB / 0.5164 GB, free: 15.79 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.492, allocations: 0.5676 MB / 0.5169 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001671/0.4936, allocations: 0.7887 MB / 0.5177 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002131/0.4939, allocations: 74.34 kB / 0.5178 GB, free: 15.27 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000827/0.4947, allocations: 279.2 kB / 0.518 GB, free: 15.2 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006883/0.4954, allocations: 0.5153 MB / 0.5185 GB, free: 15.04 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006862/0.4961, allocations: 0.5285 MB / 0.5191 GB, free: 14.72 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.4982, allocations: 1.332 MB / 0.5204 GB, free: 14.23 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.4982, allocations: 5.312 kB / 0.5204 GB, free: 14.22 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.799e-06/0.4982, allocations: 0.5625 kB / 0.5204 GB, free: 14.22 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.742e-05/0.4982, allocations: 0 / 0.5204 GB, free: 14.22 MB / 398.1 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.002928/0.5012, allocations: 1.356 MB / 0.5217 GB, free: 13.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.5012, allocations: 12.95 kB / 0.5217 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.5023, allocations: 202.1 kB / 0.5219 GB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001305/0.5036, allocations: 0.7138 MB / 0.5226 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.525e-05/0.5037, allocations: 65.48 kB / 0.5227 GB, free: 12.77 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002254/0.5039, allocations: 97.33 kB / 0.5227 GB, free: 12.74 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002343/0.5063, allocations: 1.392 MB / 0.5241 GB, free: 12.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/0.5063, allocations: 10.7 kB / 0.5241 GB, free: 12.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.277e-05/0.5064, allocations: 35.64 kB / 0.5241 GB, free: 12.02 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002803/0.5067, allocations: 118.6 kB / 0.5243 GB, free: 12 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001876/0.5086, allocations: 1.101 MB / 0.5253 GB, free: 11.66 MB / 398.1 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.007356/0.516, allocations: 5.939 MB / 0.5311 GB, free: 6.984 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.517, allocations: 0.7074 MB / 0.5318 GB, free: 6.559 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005079/0.5176, allocations: 324.2 kB / 0.5321 GB, free: 6.391 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.284e-05/0.5176, allocations: 10.88 kB / 0.5321 GB, free: 6.387 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007016/0.5183, allocations: 485.1 kB / 0.5326 GB, free: 6.051 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.505e-06/0.5183, allocations: 0 / 0.5326 GB, free: 6.051 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.00398/0.5223, allocations: 2.174 MB / 0.5347 GB, free: 4.719 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.5225, allocations: 168 kB / 0.5349 GB, free: 4.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008706/0.5233, allocations: 0.633 MB / 0.5355 GB, free: 4.16 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.291e-05/0.5234, allocations: 46.05 kB / 0.5356 GB, free: 4.113 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000454/0.5239, allocations: 0.5377 MB / 0.5361 GB, free: 3.633 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000202/0.5241, allocations: 246.8 kB / 0.5363 GB, free: 3.422 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002895/0.5244, allocations: 204.2 kB / 0.5365 GB, free: 3.305 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001874/0.5246, allocations: 395.8 kB / 0.5369 GB, free: 2.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005348/0.5251, allocations: 343 kB / 0.5372 GB, free: 2.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009123/0.526, allocations: 0.7617 MB / 0.538 GB, free: 2.035 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001551/0.5276, allocations: 1.248 MB / 0.5392 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/0.5276, allocations: 8.375 kB / 0.5392 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002668/0.5303, allocations: 1.442 MB / 0.5406 GB, free: 244 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.483e-05/0.5304, allocations: 41.92 kB / 0.5406 GB, free: 208 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001557/0.5319, allocations: 0.7862 MB / 0.5414 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007367/0.5327, allocations: 251.1 kB / 0.5416 GB, free: 15.7 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006967/0.5334, allocations: 213.9 kB / 0.5418 GB, free: 15.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004811/0.5382, allocations: 4.376 MB / 0.5461 GB, free: 11.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001046/0.5393, allocations: 54.48 kB / 0.5462 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001457/0.5394, allocations: 64.34 kB / 0.5462 GB, free: 11.87 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 11 (system.initime,tapChanger.cnt_2,$PRE.tapChanger.cnt_2,tapChanger.cnt_1,$PRE.tapChanger.cnt_1,$whenCondition2,$whenCondition1,tapChanger.tap_2,$PRE.tapChanger.tap_2,tapChanger.tap_1,$PRE.tapChanger.tap_1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (119): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,12,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008135/0.5403, allocations: 409.2 kB / 0.5466 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5404, allocations: 87.38 kB / 0.5467 GB, free: 11.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001429/0.5419, allocations: 0.8444 MB / 0.5475 GB, free: 10.69 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.062e-05/0.5419, allocations: 8 kB / 0.5475 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.5419, allocations: 0 / 0.5475 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.177e-06/0.5419, allocations: 3.984 kB / 0.5475 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.545, allocations: 1.768 MB / 0.5493 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.87e-06/0.545, allocations: 0 / 0.5493 GB, free: 8.828 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007087/0.5457, allocations: 155.9 kB / 0.5494 GB, free: 8.676 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.186e-05/0.5457, allocations: 8 kB / 0.5494 GB, free: 8.668 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.5458, allocations: 19.94 kB / 0.5494 GB, free: 8.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.415e-06/0.5458, allocations: 7.938 kB / 0.5494 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5458, allocations: 0 / 0.5494 GB, free: 8.641 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001879/0.5477, allocations: 1.309 MB / 0.5507 GB, free: 7.293 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000427/0.5481, allocations: 204.5 kB / 0.5509 GB, free: 7.074 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.663e-05/0.5482, allocations: 20 kB / 0.5509 GB, free: 7.055 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003692/0.5486, allocations: 31.97 kB / 0.551 GB, free: 7.023 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.5488, allocations: 44.44 kB / 0.551 GB, free: 6.98 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.768e-05/0.5489, allocations: 47.89 kB / 0.5511 GB, free: 6.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000697/0.5496, allocations: 427 kB / 0.5515 GB, free: 6.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5496, allocations: 0 / 0.5515 GB, free: 6.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001144/0.5507, allocations: 232 kB / 0.5517 GB, free: 6.293 MB / 414.1 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 (64): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001822/0.5509, allocations: 123.1 kB / 0.5518 GB, free: 6.16 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002163/0.5531, allocations: 1.24 MB / 0.553 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.5531, allocations: 0 / 0.553 GB, free: 4.887 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007964/0.5539, allocations: 463.9 kB / 0.5535 GB, free: 4.426 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008623/0.5548, allocations: 145.2 kB / 0.5536 GB, free: 4.289 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004958/0.5597, allocations: 2.005 MB / 0.5556 GB, free: 2.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001835/0.5616, allocations: 1.114 MB / 0.5566 GB, free: 1.09 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.001037/0.5627, allocations: 290.4 kB / 0.5569 GB, free: 0.8008 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.563, allocations: 55.42 kB / 0.557 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of SimCode: time 1.573e-06/0.563, allocations: 0 / 0.557 GB, free: 0.7461 MB / 414.1 MB Notification: Performance of Templates: time 0.02234/0.5853, allocations: 8.773 MB / 0.5655 GB, free: 8.031 MB / 430.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches