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.001008/0.001008, 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.0009417/0.0009417, allocations: 169.9 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 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.098 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.286/0.286, allocations: 29.42 MB / 291.2 MB, free: 2.422 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.694e-06/1.694e-06, allocations: 0 / 316.8 MB, free: 28 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.591e-05/1.76e-05, allocations: 2.312 kB / 316.8 MB, free: 24 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.005448/0.005466, allocations: 5.82 MB / 322.7 MB, free: 10.17 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003812/0.009278, allocations: 2.454 MB / 325.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.00977, allocations: 31.69 kB / 325.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009749/0.01075, allocations: 469.5 kB / 325.6 MB, free: 7.219 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.01212, allocations: 0.6957 MB / 326.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.01322, allocations: 478.6 kB / 326.8 MB, free: 6.051 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001395/0.01461, allocations: 1.384 MB / 328.2 MB, free: 4.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005192/0.01513, allocations: 441.9 kB / 328.6 MB, free: 4.223 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001029/0.01616, allocations: 0.8533 MB / 329.4 MB, free: 3.367 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007636/0.01692, allocations: 0.6817 MB / 330.1 MB, free: 2.684 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001341/0.01706, allocations: 68 kB / 330.2 MB, free: 2.617 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004742/0.01753, allocations: 291.4 kB / 330.5 MB, free: 2.332 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003725/0.0179, allocations: 0.5494 MB / 331 MB, free: 1.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000315/0.01822, allocations: 355.2 kB / 331.4 MB, free: 1.434 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009466/0.01916, allocations: 0.9888 MB / 332.4 MB, free: 448 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.01917, allocations: 0 / 332.4 MB, free: 448 kB / 298.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.01917, allocations: 0 / 332.4 MB, free: 448 kB / 298.7 MB Notification: Performance of Transformations before backend: time 1.84e-05/0.01919, allocations: 4 kB / 332.4 MB, free: 444 kB / 298.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.001381/0.02057, allocations: 1.17 MB / 333.5 MB, free: 15.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.62e-05/0.0206, allocations: 12.03 kB / 333.5 MB, free: 15.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007114/0.02132, allocations: 264.6 kB / 333.8 MB, free: 14.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000678/0.02199, allocations: 0.5416 MB / 334.3 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.215e-05/0.02204, allocations: 66.36 kB / 334.4 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001349/0.02217, allocations: 84.73 kB / 334.5 MB, free: 14.24 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007868/0.02296, allocations: 0.908 MB / 335.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.999e-05/0.02298, allocations: 4 kB / 335.4 MB, free: 13.22 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.237e-05/0.02303, allocations: 39.92 kB / 335.4 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000133/0.02316, allocations: 109.9 kB / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004812/0.02364, allocations: 415 kB / 336 MB, free: 12.66 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.003246/0.02689, allocations: 4.633 MB / 340.6 MB, free: 7.801 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003715/0.02726, allocations: 329.1 kB / 340.9 MB, free: 7.453 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001279/0.02739, allocations: 136.9 kB / 341 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.536e-05/0.02742, allocations: 20.5 kB / 341.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002795/0.0277, allocations: 354.4 kB / 341.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of pre-optimization done (n=65): time 1.983e-06/0.02771, allocations: 0 / 341.4 MB, free: 6.906 MB / 314.7 MB Notification: Performance of matching and sorting (n=66): time 0.0012/0.02891, allocations: 1.062 MB / 342.5 MB, free: 5.781 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.37e-05/0.02897, allocations: 166.9 kB / 342.6 MB, free: 5.582 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.02928, allocations: 0.5464 MB / 343.2 MB, free: 5.023 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.242e-05/0.02932, allocations: 41.7 kB / 343.2 MB, free: 4.977 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.02952, allocations: 492.4 kB / 343.7 MB, free: 4.488 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001265/0.02965, allocations: 246 kB / 343.9 MB, free: 4.246 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001646/0.02981, allocations: 194.7 kB / 344.1 MB, free: 4.051 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.02995, allocations: 394.5 kB / 344.5 MB, free: 3.656 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001593/0.03011, allocations: 147.1 kB / 344.7 MB, free: 3.504 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003852/0.03049, allocations: 0.5572 MB / 345.2 MB, free: 2.738 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007165/0.03121, allocations: 0.8295 MB / 346.1 MB, free: 1.691 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.037e-06/0.03122, allocations: 4 kB / 346.1 MB, free: 1.688 MB / 314.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001048/0.03227, allocations: 0.8346 MB / 346.9 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.03231, allocations: 37.7 kB / 346.9 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004318/0.03274, allocations: 328.7 kB / 347.2 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004048/0.03314, allocations: 215.5 kB / 347.5 MB, free: 236 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000351/0.03349, allocations: 219.6 kB / 347.7 MB, free: 16 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001895/0.03539, allocations: 2.887 MB / 350.6 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002615/0.03565, allocations: 43.89 kB / 350.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.329e-05/0.03571, allocations: 56.11 kB / 350.7 MB, free: 12.84 MB / 330.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.000199/0.03591, allocations: 234.5 kB / 350.9 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.807e-05/0.03598, allocations: 67.94 kB / 351 MB, free: 12.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004426/0.03642, allocations: 460.4 kB / 351.4 MB, free: 12.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.03643, allocations: 8 kB / 351.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.232e-06/0.03643, allocations: 64 / 351.4 MB, free: 12.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.03644, allocations: 7.984 kB / 351.4 MB, free: 12.03 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009141/0.03735, allocations: 0.8925 MB / 352.3 MB, free: 11.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.03736, allocations: 4 kB / 352.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003131/0.03767, allocations: 132 kB / 352.4 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.049e-06/0.03768, allocations: 7.938 kB / 352.5 MB, free: 10.95 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.0377, allocations: 23.98 kB / 352.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.03771, allocations: 4 kB / 352.5 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.03771, allocations: 3.984 kB / 352.5 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005874/0.0383, allocations: 0.7012 MB / 353.2 MB, free: 10.16 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/0.03843, allocations: 107.4 kB / 353.3 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.433e-05/0.03848, allocations: 16 kB / 353.3 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001654/0.03865, allocations: 20 kB / 353.3 MB, free: 10.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.675e-05/0.03873, allocations: 48.36 kB / 353.4 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.608e-05/0.03877, allocations: 39.89 kB / 353.4 MB, free: 9.93 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001724/0.03895, allocations: 232.6 kB / 353.6 MB, free: 9.703 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03895, allocations: 0 / 353.6 MB, free: 9.703 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004833/0.03943, allocations: 232 kB / 353.9 MB, free: 9.477 MB / 330.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.0001228/0.03955, allocations: 92.36 kB / 354 MB, free: 9.379 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007602/0.04031, allocations: 0.8937 MB / 354.8 MB, free: 8.438 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.04033, allocations: 13.81 kB / 354.9 MB, free: 8.426 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.04053, allocations: 275.7 kB / 355.1 MB, free: 8.137 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.04094, allocations: 155.2 kB / 355.3 MB, free: 7.988 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.04288, allocations: 1.661 MB / 356.9 MB, free: 6.266 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.04307, allocations: 267.7 kB / 357.2 MB, free: 5.984 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002175/0.04329, allocations: 110.7 kB / 357.3 MB, free: 5.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002647/0.04355, allocations: 195.3 kB / 357.5 MB, free: 5.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.04355, allocations: 0 / 357.5 MB, free: 5.68 MB / 330.7 MB Notification: Performance of Templates: time 0.01268/0.05623, allocations: 9.255 MB / 366.8 MB, free: 12.58 MB / 346.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 -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.2961342385970056]