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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001368/0.001368, allocations: 107.1 kB / 20.44 MB, free: 1.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001466/0.001466, allocations: 206 kB / 23.73 MB, free: 4.402 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.636/1.636, allocations: 230.6 MB / 257.5 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1886/0.1886, allocations: 38.56 MB / 352.5 MB, free: 12.32 MB / 286.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Elementary.Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,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") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002146/0.002146, allocations: 70.72 kB / 493 MB, free: 4.211 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4054/0.4075, allocations: 62.47 MB / 0.5424 GB, free: 436 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.00923/0.4168, allocations: 6.236 MB / 0.5485 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006091/0.4228, allocations: 2.306 MB / 0.5508 GB, free: 9.879 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007618/0.4236, allocations: 33.69 kB / 0.5508 GB, free: 9.859 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001959/0.4256, allocations: 0.5986 MB / 0.5514 GB, free: 9.402 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.4276, allocations: 0.6903 MB / 0.5521 GB, free: 8.867 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001737/0.4293, allocations: 459.3 kB / 0.5525 GB, free: 8.543 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.003088/0.4324, allocations: 1.36 MB / 0.5538 GB, free: 7.797 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.4337, allocations: 417.4 kB / 0.5542 GB, free: 7.516 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001919/0.4356, allocations: 0.5916 MB / 0.5548 GB, free: 7.18 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002253/0.4379, allocations: 0.8357 MB / 0.5556 GB, free: 6.68 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004206/0.4383, allocations: 76 kB / 0.5557 GB, free: 6.605 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.4397, allocations: 295.5 kB / 0.556 GB, free: 6.316 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.4409, allocations: 0.5299 MB / 0.5565 GB, free: 5.785 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00151/0.4424, allocations: 449.8 kB / 0.5569 GB, free: 5.344 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003049/0.4454, allocations: 1.35 MB / 0.5582 GB, free: 3.988 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.794e-06/0.4454, allocations: 3.984 kB / 0.5582 GB, free: 3.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.755e-06/0.4454, allocations: 0 / 0.5582 GB, free: 3.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.15e-05/0.4455, allocations: 0 / 0.5582 GB, free: 3.984 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.004292/0.4498, allocations: 1.277 MB / 0.5595 GB, free: 2.664 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.638e-05/0.4499, allocations: 15.98 kB / 0.5595 GB, free: 2.648 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001756/0.4516, allocations: 275.9 kB / 0.5598 GB, free: 2.379 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.4535, allocations: 0.6379 MB / 0.5604 GB, free: 1.711 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.779e-05/0.4535, allocations: 62.36 kB / 0.5605 GB, free: 1.648 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/0.4538, allocations: 96.09 kB / 0.5605 GB, free: 1.555 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002635/0.4565, allocations: 1.417 MB / 0.5619 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.66e-05/0.4565, allocations: 7.938 kB / 0.5619 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.4567, allocations: 44.06 kB / 0.562 GB, free: 15.98 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003114/0.457, allocations: 113.9 kB / 0.5621 GB, free: 15.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002126/0.4591, allocations: 1.122 MB / 0.5632 GB, free: 14.73 MB / 414.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.007877/0.467, allocations: 5.352 MB / 0.5684 GB, free: 9.148 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001148/0.4681, allocations: 0.6123 MB / 0.569 GB, free: 8.512 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005135/0.4687, allocations: 316.8 kB / 0.5693 GB, free: 8.191 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.097e-05/0.4687, allocations: 12.48 kB / 0.5693 GB, free: 8.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008128/0.4695, allocations: 0.4907 MB / 0.5698 GB, free: 7.656 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 3.596e-06/0.4695, allocations: 0 / 0.5698 GB, free: 7.656 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.004099/0.4736, allocations: 2.176 MB / 0.5719 GB, free: 5.418 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001339/0.4738, allocations: 162.9 kB / 0.5721 GB, free: 5.223 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009676/0.4747, allocations: 0.6678 MB / 0.5727 GB, free: 4.551 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-05/0.4748, allocations: 41.69 kB / 0.5728 GB, free: 4.504 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005227/0.4753, allocations: 0.5424 MB / 0.5733 GB, free: 3.953 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002354/0.4755, allocations: 246 kB / 0.5735 GB, free: 3.711 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002995/0.4758, allocations: 206.8 kB / 0.5737 GB, free: 3.504 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002092/0.4761, allocations: 386.7 kB / 0.5741 GB, free: 3.117 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006157/0.4767, allocations: 372.1 kB / 0.5745 GB, free: 2.746 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009309/0.4776, allocations: 0.7953 MB / 0.5752 GB, free: 1.738 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/0.4792, allocations: 1.25 MB / 0.5765 GB, free: 284 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.52e-05/0.4792, allocations: 7.938 kB / 0.5765 GB, free: 276 kB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002852/0.4821, allocations: 1.466 MB / 0.5779 GB, free: 14.78 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.688e-05/0.4821, allocations: 41.88 kB / 0.5779 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001499/0.4836, allocations: 0.7799 MB / 0.5787 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008048/0.4844, allocations: 257.4 kB / 0.5789 GB, free: 13.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007141/0.4851, allocations: 215.6 kB / 0.5791 GB, free: 13.47 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004986/0.4901, allocations: 4.094 MB / 0.5831 GB, free: 9.176 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007993/0.4909, allocations: 55.97 kB / 0.5832 GB, free: 9.121 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.4911, allocations: 68.09 kB / 0.5833 GB, free: 9.055 MB / 430.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.00079/0.4919, allocations: 395.1 kB / 0.5836 GB, free: 8.652 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001972/0.4921, allocations: 83.48 kB / 0.5837 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001611/0.4937, allocations: 0.879 MB / 0.5846 GB, free: 7.664 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.248e-06/0.4937, allocations: 7.938 kB / 0.5846 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.825e-06/0.4937, allocations: 0 / 0.5846 GB, free: 7.656 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.4937, allocations: 7.984 kB / 0.5846 GB, free: 7.648 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/0.4969, allocations: 1.606 MB / 0.5862 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.4969, allocations: 0 / 0.5862 GB, free: 5.973 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007139/0.4976, allocations: 147.8 kB / 0.5863 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.311e-05/0.4976, allocations: 4 kB / 0.5863 GB, free: 5.824 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/0.4977, allocations: 27.92 kB / 0.5863 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.4977, allocations: 0 / 0.5863 GB, free: 5.797 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.4977, allocations: 8.156 kB / 0.5863 GB, free: 5.789 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.4997, allocations: 1.377 MB / 0.5877 GB, free: 4.359 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004134/0.5001, allocations: 131.5 kB / 0.5878 GB, free: 4.23 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.5002, allocations: 15.98 kB / 0.5878 GB, free: 4.215 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00041/0.5006, allocations: 35.97 kB / 0.5879 GB, free: 4.18 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001147/0.5008, allocations: 40.42 kB / 0.5879 GB, free: 4.141 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.424e-05/0.5008, allocations: 43.97 kB / 0.5879 GB, free: 4.098 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.00057/0.5014, allocations: 423 kB / 0.5883 GB, free: 3.688 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5014, allocations: 3.938 kB / 0.5883 GB, free: 3.684 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001078/0.5025, allocations: 239.9 kB / 0.5886 GB, free: 3.449 MB / 430.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.0002085/0.5027, allocations: 118.1 kB / 0.5887 GB, free: 3.324 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002344/0.505, allocations: 1.257 MB / 0.5899 GB, free: 2.016 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.505, allocations: 4.25 kB / 0.5899 GB, free: 2.012 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000676/0.5057, allocations: 447.8 kB / 0.5904 GB, free: 1.555 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008413/0.5066, allocations: 139.5 kB / 0.5905 GB, free: 1.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003901/0.5105, allocations: 2.041 MB / 0.5925 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008039/0.5113, allocations: 0.5194 MB / 0.593 GB, free: 14.79 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0007882/0.5121, allocations: 282.4 kB / 0.5933 GB, free: 14.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001965/0.5123, allocations: 63.42 kB / 0.5933 GB, free: 14.44 MB / 446.1 MB Notification: Performance of SimCode: time 1.092e-06/0.5123, allocations: 0 / 0.5933 GB, free: 14.44 MB / 446.1 MB Notification: Performance of Templates: time 0.02064/0.5329, allocations: 9.816 MB / 0.6029 GB, free: 4.766 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.909793769940734]