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.001996/0.001996, allocations: 112 kB / 20.43 MB, free: 1.449 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.002237/0.002237, allocations: 187.8 kB / 23.72 MB, free: 4.68 MB / 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.464/1.464, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.189/0.189, allocations: 38.55 MB / 346.3 MB, free: 2.152 MB / 270.1 MB " [Timeout remaining time 180] 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.001954/0.001954, allocations: 59.91 kB / 484.5 MB, free: 11.18 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3572, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.007564/0.3648, allocations: 6.716 MB / 0.5396 GB, free: 0.625 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004867/0.3696, allocations: 2.46 MB / 0.542 GB, free: 14.66 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.3703, allocations: 34.44 kB / 0.542 GB, free: 14.64 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002119/0.3724, allocations: 0.63 MB / 0.5426 GB, free: 14.15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002185/0.3746, allocations: 0.7016 MB / 0.5433 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001596/0.3762, allocations: 451.6 kB / 0.5438 GB, free: 13.28 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002527/0.3788, allocations: 1.363 MB / 0.5451 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007469/0.3795, allocations: 333.1 kB / 0.5454 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001416/0.3809, allocations: 0.5885 MB / 0.546 GB, free: 11.99 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001463/0.3824, allocations: 0.8537 MB / 0.5468 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.3825, allocations: 74.22 kB / 0.5469 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007425/0.3833, allocations: 307.3 kB / 0.5472 GB, free: 11.38 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005898/0.3839, allocations: 0.5294 MB / 0.5477 GB, free: 11.05 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006778/0.3845, allocations: 0.5211 MB / 0.5482 GB, free: 10.7 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002031/0.3866, allocations: 1.343 MB / 0.5495 GB, free: 9.812 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.971e-06/0.3866, allocations: 1.125 kB / 0.5495 GB, free: 9.812 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3866, allocations: 0 / 0.5495 GB, free: 9.812 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.831e-05/0.3866, allocations: 0 / 0.5495 GB, free: 9.812 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.002805/0.3894, allocations: 1.274 MB / 0.5508 GB, free: 8.859 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3894, allocations: 10 kB / 0.5508 GB, free: 8.859 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001124/0.3906, allocations: 210.4 kB / 0.551 GB, free: 8.754 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001441/0.392, allocations: 0.6437 MB / 0.5516 GB, free: 8.285 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.73e-05/0.3921, allocations: 63.92 kB / 0.5517 GB, free: 8.254 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002344/0.3923, allocations: 99.84 kB / 0.5518 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00238/0.3947, allocations: 1.393 MB / 0.5531 GB, free: 7.289 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.483e-05/0.3947, allocations: 14.83 kB / 0.5531 GB, free: 7.277 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.3948, allocations: 30.16 kB / 0.5532 GB, free: 7.258 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002987/0.3951, allocations: 120.1 kB / 0.5533 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001861/0.397, allocations: 1.088 MB / 0.5543 GB, free: 6.176 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.008555/0.4055, allocations: 5.864 MB / 0.5601 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001258/0.4068, allocations: 0.5864 MB / 0.5606 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005872/0.4074, allocations: 287.1 kB / 0.5609 GB, free: 15.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.902e-05/0.4074, allocations: 16.48 kB / 0.5609 GB, free: 15.11 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008263/0.4083, allocations: 481 kB / 0.5614 GB, free: 14.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=65): time 2.545e-06/0.4083, allocations: 0 / 0.5614 GB, free: 14.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.004086/0.4124, allocations: 2.103 MB / 0.5634 GB, free: 12.45 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001666/0.4125, allocations: 178.9 kB / 0.5636 GB, free: 12.24 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/0.4135, allocations: 0.6329 MB / 0.5642 GB, free: 11.6 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 6.29e-05/0.4136, allocations: 41.69 kB / 0.5643 GB, free: 11.55 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000564/0.4142, allocations: 0.5501 MB / 0.5648 GB, free: 10.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002395/0.4144, allocations: 234.1 kB / 0.565 GB, free: 10.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003182/0.4147, allocations: 202.8 kB / 0.5652 GB, free: 10.56 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002352/0.415, allocations: 394.7 kB / 0.5656 GB, free: 10.16 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005715/0.4155, allocations: 342.4 kB / 0.5659 GB, free: 9.828 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001224/0.4168, allocations: 0.7702 MB / 0.5667 GB, free: 8.855 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001866/0.4186, allocations: 1.242 MB / 0.5679 GB, free: 7.398 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.686e-06/0.4186, allocations: 4 kB / 0.5679 GB, free: 7.395 MB / 414.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.003174/0.4218, allocations: 1.433 MB / 0.5693 GB, free: 5.941 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.573e-05/0.4219, allocations: 41.64 kB / 0.5693 GB, free: 5.895 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001671/0.4236, allocations: 0.7886 MB / 0.5701 GB, free: 5.098 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007933/0.4244, allocations: 253.5 kB / 0.5703 GB, free: 4.844 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007034/0.4251, allocations: 215.6 kB / 0.5706 GB, free: 4.633 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005434/0.4305, allocations: 4.183 MB / 0.5746 GB, free: 228 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000815/0.4313, allocations: 55.98 kB / 0.5747 GB, free: 172 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/0.4314, allocations: 63.98 kB / 0.5748 GB, free: 108 kB / 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.0006854/0.4321, allocations: 399 kB / 0.5751 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001414/0.4322, allocations: 83.41 kB / 0.5752 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001467/0.4337, allocations: 0.8422 MB / 0.576 GB, free: 14.76 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/0.4337, allocations: 12 kB / 0.576 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.124e-06/0.4337, allocations: 0 / 0.576 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.4337, allocations: 3.984 kB / 0.576 GB, free: 14.74 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002892/0.4366, allocations: 1.744 MB / 0.5778 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.419e-06/0.4366, allocations: 4.031 kB / 0.5778 GB, free: 12.92 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007163/0.4373, allocations: 151.8 kB / 0.5779 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.004e-06/0.4373, allocations: 4 kB / 0.5779 GB, free: 12.77 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-05/0.4374, allocations: 19.98 kB / 0.5779 GB, free: 12.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.4374, allocations: 4 kB / 0.5779 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.32e-06/0.4374, allocations: 3.938 kB / 0.5779 GB, free: 12.74 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001906/0.4393, allocations: 1.316 MB / 0.5792 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.4397, allocations: 131.4 kB / 0.5793 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.706e-05/0.4398, allocations: 19.98 kB / 0.5794 GB, free: 11.23 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003748/0.4401, allocations: 35.97 kB / 0.5794 GB, free: 11.2 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.4403, allocations: 48.3 kB / 0.5794 GB, free: 11.15 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.02e-05/0.4403, allocations: 43.97 kB / 0.5795 GB, free: 11.11 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005385/0.4409, allocations: 427 kB / 0.5799 GB, free: 10.69 MB / 430.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.4409, allocations: 0 / 0.5799 GB, free: 10.69 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009432/0.4418, allocations: 232 kB / 0.5801 GB, free: 10.46 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.0001773/0.442, allocations: 123.2 kB / 0.5802 GB, free: 10.33 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.002059/0.4441, allocations: 1.192 MB / 0.5814 GB, free: 9.109 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4441, allocations: 0 / 0.5814 GB, free: 9.109 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006014/0.4447, allocations: 422.7 kB / 0.5818 GB, free: 8.684 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00077/0.4454, allocations: 140.6 kB / 0.5819 GB, free: 8.555 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003414/0.4488, allocations: 2.022 MB / 0.5839 GB, free: 6.484 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008625/0.4497, allocations: 1.11 MB / 0.585 GB, free: 5.348 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0006801/0.4504, allocations: 286.4 kB / 0.5853 GB, free: 5.062 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000191/0.4506, allocations: 67.42 kB / 0.5853 GB, free: 4.996 MB / 430.1 MB Notification: Performance of SimCode: time 7.31e-07/0.4506, allocations: 0 / 0.5853 GB, free: 4.996 MB / 430.1 MB Notification: Performance of Templates: time 0.01836/0.4689, allocations: 9.593 MB / 0.5947 GB, free: 11.45 MB / 446.1 MB " [Timeout remaining time 660] 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.388390535488725]