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.001421/0.001421, allocations: 114.8 kB / 17.75 MB, free: 5.355 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.001406/0.001406, allocations: 184.5 kB / 18.67 MB, free: 4.441 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.378/1.378, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1826/0.1826, allocations: 38.04 MB / 330.6 MB, free: 8.742 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 64.09 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.331/0.3325, allocations: 58.05 MB / 0.5048 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007115/0.3396, allocations: 6.532 MB / 0.5111 GB, free: 3.203 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004195/0.3439, allocations: 2.437 MB / 0.5135 GB, free: 1.496 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006797/0.3446, allocations: 23.5 kB / 0.5135 GB, free: 1.488 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001815/0.3464, allocations: 0.6146 MB / 0.5141 GB, free: 1.125 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001962/0.3484, allocations: 0.6807 MB / 0.5148 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.3498, allocations: 455.8 kB / 0.5152 GB, free: 0.5664 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002122/0.352, allocations: 1.363 MB / 0.5166 GB, free: 4 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008338/0.3528, allocations: 486.8 kB / 0.517 GB, free: 15.81 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001227/0.354, allocations: 0.5828 MB / 0.5176 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001672/0.3557, allocations: 0.7855 MB / 0.5184 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000224/0.356, allocations: 74.47 kB / 0.5184 GB, free: 15.29 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008253/0.3568, allocations: 283 kB / 0.5187 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006904/0.3575, allocations: 0.5125 MB / 0.5192 GB, free: 15.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000655/0.3582, allocations: 0.5311 MB / 0.5197 GB, free: 14.73 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001914/0.3601, allocations: 1.33 MB / 0.521 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3601, allocations: 0.7031 kB / 0.521 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3601, allocations: 0 / 0.521 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.87e-05/0.3602, allocations: 1.25 kB / 0.521 GB, free: 14.24 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.002816/0.363, allocations: 1.323 MB / 0.5223 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.363, allocations: 13.48 kB / 0.5223 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001114/0.3641, allocations: 196.4 kB / 0.5225 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001329/0.3655, allocations: 0.7108 MB / 0.5232 GB, free: 12.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.211e-05/0.3656, allocations: 63.08 kB / 0.5233 GB, free: 12.83 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002248/0.3658, allocations: 98.45 kB / 0.5234 GB, free: 12.8 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/0.368, allocations: 1.388 MB / 0.5247 GB, free: 12.11 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.317e-05/0.368, allocations: 15.75 kB / 0.5247 GB, free: 12.1 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.3681, allocations: 38.12 kB / 0.5248 GB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003089/0.3684, allocations: 116.4 kB / 0.5249 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001939/0.3704, allocations: 1.092 MB / 0.526 GB, free: 11.73 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.007029/0.3774, allocations: 5.939 MB / 0.5318 GB, free: 7.031 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001039/0.3785, allocations: 0.7105 MB / 0.5325 GB, free: 6.602 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004311/0.3789, allocations: 318.7 kB / 0.5328 GB, free: 6.438 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.948e-05/0.379, allocations: 11.5 kB / 0.5328 GB, free: 6.434 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006725/0.3797, allocations: 476.5 kB / 0.5332 GB, free: 6.105 MB / 398.1 MB Notification: Performance of pre-optimization done (n=65): time 2.415e-06/0.3797, allocations: 0 / 0.5332 GB, free: 6.105 MB / 398.1 MB Notification: Performance of matching and sorting (n=66): time 0.003571/0.3833, allocations: 2.147 MB / 0.5353 GB, free: 4.797 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.895e-05/0.3834, allocations: 176.4 kB / 0.5355 GB, free: 4.598 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007683/0.3842, allocations: 0.6344 MB / 0.5361 GB, free: 4.23 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.684e-05/0.3842, allocations: 37.02 kB / 0.5361 GB, free: 4.191 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004092/0.3847, allocations: 0.5286 MB / 0.5367 GB, free: 3.719 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.3848, allocations: 229.3 kB / 0.5369 GB, free: 3.523 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003059/0.3852, allocations: 204.1 kB / 0.5371 GB, free: 3.406 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3853, allocations: 388.5 kB / 0.5374 GB, free: 3.039 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005117/0.3858, allocations: 346.4 kB / 0.5378 GB, free: 2.879 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007888/0.3866, allocations: 0.7696 MB / 0.5385 GB, free: 2.133 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001473/0.3881, allocations: 1.243 MB / 0.5397 GB, free: 1.098 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.123e-05/0.3881, allocations: 3.812 kB / 0.5397 GB, free: 1.098 MB / 398.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.0027/0.3909, allocations: 1.435 MB / 0.5411 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.477e-05/0.3909, allocations: 42.36 kB / 0.5412 GB, free: 324 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001456/0.3924, allocations: 0.786 MB / 0.542 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007691/0.3932, allocations: 251.4 kB / 0.5422 GB, free: 15.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007148/0.3939, allocations: 213.6 kB / 0.5424 GB, free: 15.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004587/0.3985, allocations: 4.381 MB / 0.5467 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007689/0.3993, allocations: 55.88 kB / 0.5467 GB, free: 11.99 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001399/0.3994, allocations: 67.64 kB / 0.5468 GB, free: 11.97 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.0007102/0.4002, allocations: 404.7 kB / 0.5472 GB, free: 11.67 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.4004, allocations: 78.25 kB / 0.5473 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001463/0.4018, allocations: 0.8437 MB / 0.5481 GB, free: 10.76 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-06/0.4018, allocations: 12 kB / 0.5481 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.4019, allocations: 0 / 0.5481 GB, free: 10.75 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.546e-06/0.4019, allocations: 3.984 kB / 0.5481 GB, free: 10.74 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.4047, allocations: 1.763 MB / 0.5498 GB, free: 8.898 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.301e-06/0.4048, allocations: 8.156 kB / 0.5498 GB, free: 8.891 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007168/0.4055, allocations: 147.8 kB / 0.55 GB, free: 8.746 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.113e-05/0.4055, allocations: 4 kB / 0.55 GB, free: 8.742 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.373e-05/0.4056, allocations: 16 kB / 0.55 GB, free: 8.727 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.257e-06/0.4056, allocations: 11.92 kB / 0.55 GB, free: 8.715 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.4056, allocations: 7.938 kB / 0.55 GB, free: 8.707 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4073, allocations: 1.309 MB / 0.5513 GB, free: 7.359 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003678/0.4077, allocations: 204.2 kB / 0.5515 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001369/0.4079, allocations: 19.98 kB / 0.5515 GB, free: 7.121 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003995/0.4083, allocations: 27.98 kB / 0.5515 GB, free: 7.094 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001117/0.4084, allocations: 44.44 kB / 0.5516 GB, free: 7.051 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-05/0.4085, allocations: 47.95 kB / 0.5516 GB, free: 7.004 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005406/0.409, allocations: 427 kB / 0.552 GB, free: 6.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.409, allocations: 0 / 0.552 GB, free: 6.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.001128/0.4102, allocations: 228 kB / 0.5522 GB, free: 6.367 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.0001839/0.4104, allocations: 127.1 kB / 0.5524 GB, free: 6.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002033/0.4124, allocations: 1.238 MB / 0.5536 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.4124, allocations: 0 / 0.5536 GB, free: 4.961 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000585/0.413, allocations: 470.9 kB / 0.554 GB, free: 4.492 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009434/0.414, allocations: 140.1 kB / 0.5541 GB, free: 4.363 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003973/0.4179, allocations: 2.058 MB / 0.5562 GB, free: 2.254 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008348/0.4188, allocations: 1.114 MB / 0.5572 GB, free: 1.109 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.419, allocations: 67.42 kB / 0.5573 GB, free: 1.043 MB / 414.1 MB Notification: Performance of SimCode: time 8.92e-07/0.419, allocations: 0 / 0.5573 GB, free: 1.043 MB / 414.1 MB Notification: Performance of Templates: time 0.02032/0.4394, allocations: 14.03 MB / 0.571 GB, free: 3.027 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches