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.001582/0.001582, allocations: 84.92 kB / 20.68 MB, free: 1.035 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.001502/0.001502, allocations: 164.5 kB / 23.95 MB, free: 4.168 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.425/1.425, allocations: 177.1 MB / 204.3 MB, free: 9.191 MB / 190.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.1911/0.1911, allocations: 29.43 MB / 290.1 MB, free: 3.293 MB / 270.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: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.727e-05/2.847e-05, allocations: 6.281 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.008152/0.008181, allocations: 6.204 MB / 436.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004381/0.01256, allocations: 2.305 MB / 439.2 MB, free: 9.398 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005277/0.01309, allocations: 35.69 kB / 439.3 MB, free: 9.363 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001962/0.01505, allocations: 0.6018 MB / 439.9 MB, free: 8.762 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.01678, allocations: 0.7074 MB / 440.6 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00127/0.01805, allocations: 474.6 kB / 441 MB, free: 7.586 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001809/0.01986, allocations: 1.395 MB / 442.4 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007708/0.02063, allocations: 400 kB / 442.8 MB, free: 5.789 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001428/0.02206, allocations: 0.7712 MB / 443.6 MB, free: 5.016 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001405/0.02346, allocations: 0.7793 MB / 444.4 MB, free: 4.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001946/0.02366, allocations: 76 kB / 444.4 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007117/0.02437, allocations: 303.3 kB / 444.7 MB, free: 3.863 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006316/0.025, allocations: 0.5494 MB / 445.3 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006314/0.02563, allocations: 375.1 kB / 445.7 MB, free: 2.945 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001788/0.02742, allocations: 1.367 MB / 447 MB, free: 1.574 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.02742, allocations: 0 / 447 MB, free: 1.574 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.02743, allocations: 3.938 kB / 447 MB, free: 1.57 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.31e-05/0.02747, allocations: 0 / 447 MB, free: 1.57 MB / 366.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.002624/0.03009, allocations: 1.273 MB / 448.3 MB, free: 268 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.03013, allocations: 12.03 kB / 448.3 MB, free: 256 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1916/0.2217, allocations: 267.1 kB / 448.6 MB, free: 30.43 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001716/0.2234, allocations: 0.6456 MB / 449.2 MB, free: 30.27 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.07e-05/0.2235, allocations: 60.64 kB / 449.3 MB, free: 30.27 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004087/0.2239, allocations: 95.56 kB / 449.4 MB, free: 30.25 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002435/0.2263, allocations: 1.415 MB / 450.8 MB, free: 29.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.219e-05/0.2264, allocations: 7.719 kB / 450.8 MB, free: 29.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/0.2265, allocations: 39.53 kB / 450.8 MB, free: 29.52 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002961/0.2268, allocations: 123.6 kB / 451 MB, free: 29.51 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002171/0.2289, allocations: 1.122 MB / 452.1 MB, free: 29.13 MB / 366.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.006807/0.2357, allocations: 5.327 MB / 457.4 MB, free: 25.24 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001115/0.2369, allocations: 0.6154 MB / 458 MB, free: 24.97 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004973/0.2374, allocations: 315.5 kB / 458.3 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.006e-05/0.2374, allocations: 12.36 kB / 458.3 MB, free: 24.83 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007509/0.2382, allocations: 0.4982 MB / 458.8 MB, free: 24.57 MB / 366.1 MB Notification: Performance of pre-optimization done (n=65): time 4.368e-06/0.2382, allocations: 0 / 458.8 MB, free: 24.57 MB / 366.1 MB Notification: Performance of matching and sorting (n=66): time 0.003838/0.242, allocations: 2.176 MB / 461 MB, free: 23.45 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.654e-05/0.2421, allocations: 170.9 kB / 461.2 MB, free: 23.27 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009834/0.243, allocations: 0.6616 MB / 461.8 MB, free: 22.98 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.289e-05/0.2431, allocations: 40.98 kB / 461.9 MB, free: 22.93 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003717/0.2435, allocations: 0.5339 MB / 462.4 MB, free: 22.51 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002048/0.2437, allocations: 248.4 kB / 462.7 MB, free: 22.32 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002836/0.244, allocations: 204.3 kB / 462.9 MB, free: 22.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.2441, allocations: 387 kB / 463.2 MB, free: 21.88 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005623/0.2446, allocations: 372.5 kB / 463.6 MB, free: 21.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007058/0.2454, allocations: 0.7964 MB / 464.4 MB, free: 21.05 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.2467, allocations: 1.244 MB / 465.6 MB, free: 20.13 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.667e-05/0.2467, allocations: 7.781 kB / 465.6 MB, free: 20.12 MB / 366.1 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002713/0.2494, allocations: 1.474 MB / 467.1 MB, free: 19.52 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.133e-05/0.2495, allocations: 39.47 kB / 467.2 MB, free: 19.49 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001404/0.2509, allocations: 0.7769 MB / 467.9 MB, free: 19.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008201/0.2517, allocations: 257.2 kB / 468.2 MB, free: 19.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007051/0.2524, allocations: 214.6 kB / 468.4 MB, free: 19.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003958/0.2564, allocations: 4.092 MB / 472.5 MB, free: 16.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006978/0.2571, allocations: 51.77 kB / 472.5 MB, free: 16.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/0.2572, allocations: 70.28 kB / 472.6 MB, free: 16.06 MB / 366.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.0006966/0.2579, allocations: 403.2 kB / 473 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001415/0.258, allocations: 80.73 kB / 473.1 MB, free: 15.76 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001622/0.2597, allocations: 0.8828 MB / 474 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.927e-06/0.2597, allocations: 6.844 kB / 474 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.2597, allocations: 0 / 474 MB, free: 15.37 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.2597, allocations: 12.05 kB / 474 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002594/0.2623, allocations: 1.592 MB / 475.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.179e-06/0.2623, allocations: 3.906 kB / 475.6 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007447/0.263, allocations: 145.8 kB / 475.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.263, allocations: 4.719 kB / 475.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.2631, allocations: 32.16 kB / 475.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.2631, allocations: 4.125 kB / 475.8 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.2631, allocations: 5.312 kB / 475.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.2648, allocations: 1.377 MB / 477.1 MB, free: 13.8 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002849/0.2651, allocations: 125 kB / 477.3 MB, free: 13.72 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.2652, allocations: 14.88 kB / 477.3 MB, free: 13.71 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/0.2656, allocations: 29.72 kB / 477.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.2657, allocations: 52.77 kB / 477.4 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/0.2658, allocations: 42.08 kB / 477.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000421/0.2662, allocations: 428.5 kB / 477.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2662, allocations: 3.469 kB / 477.8 MB, free: 13.41 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008936/0.2671, allocations: 232.3 kB / 478.1 MB, free: 13.39 MB / 366.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.0001659/0.2673, allocations: 120.1 kB / 478.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001625/0.2689, allocations: 1.265 MB / 479.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.2689, allocations: 0 / 479.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004374/0.2694, allocations: 439.9 kB / 479.9 MB, free: 11.64 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007434/0.2701, allocations: 146 kB / 480 MB, free: 11.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.2728, allocations: 1.948 MB / 482 MB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004285/0.2732, allocations: 0.5099 MB / 482.5 MB, free: 8.988 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005465/0.2738, allocations: 298.6 kB / 482.8 MB, free: 8.691 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001642/0.2739, allocations: 60.5 kB / 482.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2739, allocations: 0 / 482.8 MB, free: 8.633 MB / 366.1 MB Notification: Performance of Templates: time 0.01416/0.2881, allocations: 8.594 MB / 491.4 MB, free: 204 kB / 366.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: 4.956556439399719]