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.001013/0.001013, allocations: 80.92 kB / 21.49 MB, free: 2.996 MB / 18.57 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.001032/0.001032, allocations: 170.1 kB / 24.91 MB, free: 8.723 MB / 18.57 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 0.9511/0.9511, allocations: 177.1 MB / 205.3 MB, free: 4.492 MB / 186.7 MB " [Timeout remaining time 179] 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.1498/0.1498, allocations: 29.44 MB / 291.3 MB, free: 2.695 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.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.[0-9,]+.|meter1.p.[0-9,]+.|meter1.v.[0-9,]+.|meter2.i.[0-9,]+.|meter2.p.[0-9,]+.|meter2.v.[0-9,]+.",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.[0-9,]+.|meter1.p.[0-9,]+.|meter1.v.[0-9,]+.|meter2.i.[0-9,]+.|meter2.p.[0-9,]+.|meter2.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 316.9 MB, free: 9.016 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.317e-05/2.495e-05, allocations: 4.703 kB / 316.9 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005869/0.005894, allocations: 5.881 MB / 322.8 MB, free: 3.094 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003937/0.009831, allocations: 2.418 MB / 325.2 MB, free: 0.668 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005102/0.01034, allocations: 35.69 kB / 325.2 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001019/0.01136, allocations: 481.5 kB / 325.7 MB, free: 164 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001187/0.01255, allocations: 0.6878 MB / 326.4 MB, free: 15.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000922/0.01347, allocations: 458.7 kB / 326.8 MB, free: 15.02 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001517/0.01499, allocations: 1.384 MB / 328.2 MB, free: 13.63 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.01556, allocations: 445.8 kB / 328.7 MB, free: 13.19 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001108/0.01667, allocations: 0.8494 MB / 329.5 MB, free: 12.34 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007533/0.01742, allocations: 0.6817 MB / 330.2 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 8.651e-05/0.01751, allocations: 68 kB / 330.3 MB, free: 11.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004733/0.01798, allocations: 299.5 kB / 330.5 MB, free: 11.3 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006327/0.01861, allocations: 0.5533 MB / 331.1 MB, free: 10.74 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002873/0.0189, allocations: 363.1 kB / 331.5 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009073/0.01981, allocations: 0.9887 MB / 332.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.01981, allocations: 0 / 332.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.01981, allocations: 0 / 332.4 MB, free: 9.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.01983, allocations: 0 / 332.4 MB, free: 9.395 MB / 314.7 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.001248/0.02108, allocations: 1.166 MB / 333.6 MB, free: 8.191 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.02111, allocations: 8.031 kB / 333.6 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007573/0.02187, allocations: 260.6 kB / 333.9 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006197/0.02248, allocations: 0.5533 MB / 334.4 MB, free: 7.348 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.904e-05/0.02252, allocations: 62.36 kB / 334.5 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001347/0.02266, allocations: 96.67 kB / 334.6 MB, free: 7.195 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007926/0.02345, allocations: 0.9002 MB / 335.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.445e-05/0.02348, allocations: 7.938 kB / 335.5 MB, free: 6.176 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.173e-05/0.02353, allocations: 39.98 kB / 335.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/0.02366, allocations: 109.9 kB / 335.6 MB, free: 6.031 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.02413, allocations: 407.1 kB / 336 MB, free: 5.625 MB / 314.7 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.00342/0.02755, allocations: 4.629 MB / 340.7 MB, free: 0.7695 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003823/0.02793, allocations: 334.3 kB / 341 MB, free: 428 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001339/0.02806, allocations: 148.9 kB / 341.1 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.34e-05/0.0281, allocations: 12.5 kB / 341.1 MB, free: 256 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.1375/0.1656, allocations: 349.9 kB / 341.5 MB, free: 30.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 3.637e-06/0.1656, allocations: 1.469 kB / 341.5 MB, free: 30.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.001627/0.1672, allocations: 1.056 MB / 342.5 MB, free: 30.44 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.1673, allocations: 167.2 kB / 342.7 MB, free: 30.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000452/0.1677, allocations: 0.5519 MB / 343.3 MB, free: 30.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.254e-05/0.1678, allocations: 37.44 kB / 343.3 MB, free: 30.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002493/0.168, allocations: 498 kB / 343.8 MB, free: 29.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.1681, allocations: 234.1 kB / 344 MB, free: 29.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001828/0.1683, allocations: 192.9 kB / 344.2 MB, free: 29.7 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.759e-05/0.1684, allocations: 389 kB / 344.6 MB, free: 29.39 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001762/0.1686, allocations: 150.3 kB / 344.7 MB, free: 29.35 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002929/0.1689, allocations: 0.5618 MB / 345.3 MB, free: 28.79 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006308/0.1695, allocations: 0.8272 MB / 346.1 MB, free: 28.19 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.1695, allocations: 3 kB / 346.1 MB, free: 28.19 MB / 314.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001094/0.1706, allocations: 0.8294 MB / 346.9 MB, free: 28.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.267e-05/0.1706, allocations: 45.58 kB / 347 MB, free: 28.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004993/0.1711, allocations: 331.8 kB / 347.3 MB, free: 27.97 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004676/0.1716, allocations: 221 kB / 347.5 MB, free: 27.94 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.1721, allocations: 225.5 kB / 347.8 MB, free: 27.94 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.1738, allocations: 2.895 MB / 350.6 MB, free: 25.59 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.1742, allocations: 46.58 kB / 350.7 MB, free: 25.58 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.631e-05/0.1743, allocations: 56.2 kB / 350.7 MB, free: 25.58 MB / 314.7 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.0002495/0.1745, allocations: 229.7 kB / 351 MB, free: 25.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.341e-05/0.1746, allocations: 65.08 kB / 351 MB, free: 25.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005473/0.1752, allocations: 462.1 kB / 351.5 MB, free: 25.31 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1752, allocations: 6.312 kB / 351.5 MB, free: 25.31 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.735e-06/0.1752, allocations: 8.953 kB / 351.5 MB, free: 25.3 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1752, allocations: 7.359 kB / 351.5 MB, free: 25.3 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001002/0.1762, allocations: 0.8856 MB / 352.4 MB, free: 25.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1762, allocations: 6.469 kB / 352.4 MB, free: 25.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/0.1766, allocations: 143.8 kB / 352.5 MB, free: 25.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.658e-06/0.1766, allocations: 4 kB / 352.5 MB, free: 25.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.312e-05/0.1766, allocations: 27.14 kB / 352.6 MB, free: 25 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.1766, allocations: 7.344 kB / 352.6 MB, free: 25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.1766, allocations: 1.156 kB / 352.6 MB, free: 25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006103/0.1772, allocations: 0.7063 MB / 353.3 MB, free: 24.71 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000135/0.1774, allocations: 101 kB / 353.4 MB, free: 24.67 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.243e-05/0.1774, allocations: 20.38 kB / 353.4 MB, free: 24.66 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.1776, allocations: 20.53 kB / 353.4 MB, free: 24.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.735e-05/0.1776, allocations: 42.83 kB / 353.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.519e-05/0.1777, allocations: 37.45 kB / 353.5 MB, free: 24.66 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001773/0.1779, allocations: 227.7 kB / 353.7 MB, free: 24.63 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1779, allocations: 0 / 353.7 MB, free: 24.63 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006078/0.1785, allocations: 233.5 kB / 354 MB, free: 24.63 MB / 314.7 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.0001024/0.1786, allocations: 104.9 kB / 354.1 MB, free: 24.57 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007297/0.1793, allocations: 0.8883 MB / 354.9 MB, free: 24.17 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.021e-05/0.1793, allocations: 13.19 kB / 355 MB, free: 24.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000187/0.1795, allocations: 283.4 kB / 355.2 MB, free: 24.06 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/0.1799, allocations: 164.6 kB / 355.4 MB, free: 24.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1818, allocations: 1.662 MB / 357.1 MB, free: 23.28 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001763/0.182, allocations: 264.4 kB / 357.3 MB, free: 23.2 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002501/0.1822, allocations: 110.6 kB / 357.4 MB, free: 23.17 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002765/0.1825, allocations: 198.4 kB / 357.6 MB, free: 23.12 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.1825, allocations: 2.406 kB / 357.6 MB, free: 23.12 MB / 314.7 MB Notification: Performance of Templates: time 0.01138/0.1939, allocations: 9.263 MB / 366.9 MB, free: 15.43 MB / 314.7 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Elementary.Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Elementary.Transformer.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2085659499280155]