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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001331/0.001331, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001393/0.001393, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.2464/0.2464, allocations: 38.52 MB / 344.5 MB, free: 2.578 MB / 270.1 MB " [Timeout remaining time 179] 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=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: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 71.88 kB / 482.1 MB, free: 12.06 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.37, allocations: 61.25 MB / 0.5306 GB, free: 5.496 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007217/0.3772, allocations: 6.688 MB / 0.5371 GB, free: 0.7656 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004603/0.3818, allocations: 2.455 MB / 0.5395 GB, free: 14.8 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004738/0.3823, allocations: 23 kB / 0.5395 GB, free: 14.79 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.3842, allocations: 0.6254 MB / 0.5401 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.386, allocations: 0.6846 MB / 0.5408 GB, free: 13.78 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00135/0.3874, allocations: 459.7 kB / 0.5412 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001876/0.3892, allocations: 1.359 MB / 0.5426 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006437/0.3899, allocations: 340.5 kB / 0.5429 GB, free: 12.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.3909, allocations: 0.5744 MB / 0.5435 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001321/0.3922, allocations: 0.8589 MB / 0.5443 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.3924, allocations: 74.44 kB / 0.5444 GB, free: 11.67 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007049/0.3931, allocations: 291.5 kB / 0.5446 GB, free: 11.55 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008508/0.3939, allocations: 0.5307 MB / 0.5452 GB, free: 11.22 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009349/0.3949, allocations: 0.5285 MB / 0.5457 GB, free: 10.87 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.3978, allocations: 1.331 MB / 0.547 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.883e-06/0.3978, allocations: 0 / 0.547 GB, free: 9.992 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3978, allocations: 1.188 kB / 0.547 GB, free: 9.992 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.699e-05/0.3978, allocations: 4 kB / 0.547 GB, free: 9.988 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.0045/0.4023, allocations: 1.353 MB / 0.5483 GB, free: 8.938 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.936e-05/0.4024, allocations: 13.52 kB / 0.5483 GB, free: 8.934 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001754/0.4041, allocations: 202.4 kB / 0.5485 GB, free: 8.836 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.4063, allocations: 0.7124 MB / 0.5492 GB, free: 8.293 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.496e-05/0.4064, allocations: 68.14 kB / 0.5493 GB, free: 8.258 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003538/0.4067, allocations: 95.81 kB / 0.5494 GB, free: 8.223 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003503/0.4102, allocations: 1.389 MB / 0.5507 GB, free: 7.301 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.026e-05/0.4103, allocations: 10.61 kB / 0.5507 GB, free: 7.293 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001498/0.4104, allocations: 42.08 kB / 0.5508 GB, free: 7.262 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000403/0.4108, allocations: 116.7 kB / 0.5509 GB, free: 7.227 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002901/0.4137, allocations: 1.099 MB / 0.5519 GB, free: 6.504 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.01171/0.4255, allocations: 5.943 MB / 0.5578 GB, free: 252 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001718/0.4272, allocations: 0.6661 MB / 0.5584 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007044/0.4279, allocations: 283.3 kB / 0.5587 GB, free: 15.26 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.954e-05/0.428, allocations: 12.55 kB / 0.5587 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001174/0.4291, allocations: 484.6 kB / 0.5591 GB, free: 14.75 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 5.249e-06/0.4291, allocations: 0 / 0.5591 GB, free: 14.75 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.006482/0.4356, allocations: 2.174 MB / 0.5613 GB, free: 12.5 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002096/0.4358, allocations: 166.8 kB / 0.5614 GB, free: 12.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001332/0.4372, allocations: 0.6329 MB / 0.562 GB, free: 11.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 7.626e-05/0.4372, allocations: 45.69 kB / 0.5621 GB, free: 11.61 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006863/0.4379, allocations: 0.5424 MB / 0.5626 GB, free: 11.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003209/0.4382, allocations: 246 kB / 0.5629 GB, free: 10.82 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004155/0.4387, allocations: 198.8 kB / 0.563 GB, free: 10.62 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002987/0.439, allocations: 394.7 kB / 0.5634 GB, free: 10.22 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008173/0.4398, allocations: 342.3 kB / 0.5637 GB, free: 9.887 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001331/0.4411, allocations: 0.7659 MB / 0.5645 GB, free: 8.918 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002402/0.4435, allocations: 1.24 MB / 0.5657 GB, free: 7.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.485e-05/0.4435, allocations: 8 kB / 0.5657 GB, free: 7.457 MB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.004031/0.4476, allocations: 1.447 MB / 0.5671 GB, free: 5.988 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.4476, allocations: 41.64 kB / 0.5672 GB, free: 5.941 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002126/0.4497, allocations: 0.7776 MB / 0.5679 GB, free: 5.156 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001043/0.4508, allocations: 249.7 kB / 0.5682 GB, free: 4.906 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/0.4519, allocations: 211.6 kB / 0.5684 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007192/0.4591, allocations: 4.389 MB / 0.5727 GB, free: 32 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/0.4603, allocations: 51.92 kB / 0.5727 GB, free: 15.98 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.4604, allocations: 59.98 kB / 0.5728 GB, free: 15.92 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.001002/0.4614, allocations: 407 kB / 0.5731 GB, free: 15.51 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001937/0.4616, allocations: 87.36 kB / 0.5732 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/0.4638, allocations: 0.8438 MB / 0.5741 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.74e-05/0.4638, allocations: 8 kB / 0.5741 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/0.4638, allocations: 3.984 kB / 0.5741 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.478e-06/0.4638, allocations: 48 / 0.5741 GB, free: 14.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.4669, allocations: 1.771 MB / 0.5758 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.4669, allocations: 4 kB / 0.5758 GB, free: 12.7 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007353/0.4676, allocations: 151.8 kB / 0.5759 GB, free: 12.55 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.4676, allocations: 4 kB / 0.5759 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.817e-05/0.4677, allocations: 32.12 kB / 0.576 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/0.4677, allocations: 4 kB / 0.576 GB, free: 12.51 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.4677, allocations: 11.92 kB / 0.576 GB, free: 12.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001908/0.4696, allocations: 1.309 MB / 0.5773 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003755/0.47, allocations: 200.6 kB / 0.5775 GB, free: 10.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.624e-05/0.4701, allocations: 19.98 kB / 0.5775 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003563/0.4704, allocations: 31.97 kB / 0.5775 GB, free: 10.88 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001189/0.4706, allocations: 44.45 kB / 0.5776 GB, free: 10.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.043e-05/0.4706, allocations: 43.89 kB / 0.5776 GB, free: 10.79 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0006134/0.4713, allocations: 431 kB / 0.578 GB, free: 10.38 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4713, allocations: 0 / 0.578 GB, free: 10.38 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.001077/0.4723, allocations: 232 kB / 0.5782 GB, free: 10.15 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.0001903/0.4725, allocations: 115.1 kB / 0.5783 GB, free: 10.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002055/0.4746, allocations: 1.205 MB / 0.5795 GB, free: 8.781 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4746, allocations: 0 / 0.5795 GB, free: 8.781 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005954/0.4752, allocations: 414.3 kB / 0.5799 GB, free: 8.367 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007794/0.476, allocations: 141.5 kB / 0.58 GB, free: 8.238 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003696/0.4797, allocations: 2.02 MB / 0.582 GB, free: 6.172 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009371/0.4806, allocations: 1.111 MB / 0.5831 GB, free: 5.031 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0007234/0.4813, allocations: 294.4 kB / 0.5834 GB, free: 4.738 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00018/0.4815, allocations: 59.42 kB / 0.5834 GB, free: 4.68 MB / 430.1 MB Notification: Performance of SimCode: time 1.242e-06/0.4815, allocations: 0 / 0.5834 GB, free: 4.68 MB / 430.1 MB Notification: Performance of Templates: time 0.01898/0.5005, allocations: 9.256 MB / 0.5925 GB, free: 11.47 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.385892638936639]