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.002204/0.002204, allocations: 91.61 kB / 20.96 MB, free: 3.465 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.00231/0.00231, allocations: 165.6 kB / 24.28 MB, free: 156 kB / 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.528/1.528, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3273/0.3273, allocations: 29.41 MB / 290.5 MB, free: 2.434 MB / 266.7 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.413e-06/1.413e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.934e-05/3.075e-05, allocations: 5.266 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Transformer): time 0.009675/0.009706, allocations: 6.559 MB / 375.4 MB, free: 4.73 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.00573/0.01544, allocations: 2.406 MB / 377.8 MB, free: 2.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006205/0.01606, allocations: 31.69 kB / 377.9 MB, free: 2.285 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001957/0.01801, allocations: 0.6104 MB / 378.5 MB, free: 1.672 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002107/0.02012, allocations: 0.6995 MB / 379.2 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001438/0.02156, allocations: 486.5 kB / 379.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002118/0.02368, allocations: 1.388 MB / 381.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007566/0.02443, allocations: 412 kB / 381.5 MB, free: 14.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001349/0.02578, allocations: 0.7673 MB / 382.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001449/0.02723, allocations: 0.7871 MB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004971/0.02773, allocations: 72 kB / 383.1 MB, free: 13.07 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007997/0.02853, allocations: 307.3 kB / 383.4 MB, free: 12.77 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007406/0.02927, allocations: 0.5611 MB / 383.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005554/0.02982, allocations: 367.1 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002027/0.03185, allocations: 1.379 MB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.185e-06/0.03186, allocations: 4 kB / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.03186, allocations: 0 / 385.7 MB, free: 10.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.03188, allocations: 0 / 385.7 MB, free: 10.46 MB / 362.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.002826/0.0347, allocations: 1.451 MB / 387.1 MB, free: 8.961 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.03475, allocations: 15.98 kB / 387.1 MB, free: 8.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001562/0.03631, allocations: 363.8 kB / 387.5 MB, free: 8.59 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001469/0.03778, allocations: 0.6399 MB / 388.1 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.59e-05/0.03785, allocations: 62.38 kB / 388.2 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002434/0.03809, allocations: 100.6 kB / 388.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001929/0.04002, allocations: 1.104 MB / 389.4 MB, free: 6.516 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.574e-05/0.04007, allocations: 7.938 kB / 389.4 MB, free: 6.508 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-05/0.04016, allocations: 35.98 kB / 389.4 MB, free: 6.473 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000297/0.04046, allocations: 121.9 kB / 389.6 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001624/0.04208, allocations: 0.6025 MB / 390.2 MB, free: 5.742 MB / 362.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.008585/0.05067, allocations: 6.635 MB / 396.8 MB, free: 14.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009414/0.05161, allocations: 451.8 kB / 397.2 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.05222, allocations: 206.5 kB / 397.4 MB, free: 14.14 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.714e-05/0.05228, allocations: 12.5 kB / 397.5 MB, free: 14.12 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006841/0.05297, allocations: 442 kB / 397.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=65): time 2.485e-06/0.05297, allocations: 0 / 397.9 MB, free: 13.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.003405/0.05637, allocations: 1.673 MB / 399.6 MB, free: 11.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001675/0.05654, allocations: 174.8 kB / 399.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001033/0.05757, allocations: 0.7647 MB / 400.5 MB, free: 10.92 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.407e-05/0.05763, allocations: 37.7 kB / 400.5 MB, free: 10.88 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000609/0.05824, allocations: 0.6192 MB / 401.2 MB, free: 10.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002694/0.05851, allocations: 258.1 kB / 401.4 MB, free: 9.996 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/0.05887, allocations: 236.6 kB / 401.6 MB, free: 9.758 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000432/0.0593, allocations: 0.6094 MB / 402.2 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000404/0.05971, allocations: 192.2 kB / 402.4 MB, free: 8.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.06083, allocations: 0.8488 MB / 403.3 MB, free: 7.812 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00183/0.06266, allocations: 1.12 MB / 404.4 MB, free: 6.402 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.177e-06/0.06267, allocations: 4 kB / 404.4 MB, free: 6.398 MB / 378.7 MB Notification: Performance of matching and sorting (n=136) (initialization): time 0.002446/0.06512, allocations: 1.124 MB / 405.5 MB, free: 5.246 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.435e-05/0.06517, allocations: 41.7 kB / 405.6 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001218/0.06639, allocations: 0.4895 MB / 406.1 MB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008216/0.06721, allocations: 215.2 kB / 406.3 MB, free: 4.48 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007618/0.06797, allocations: 223.6 kB / 406.5 MB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004853/0.07283, allocations: 4.179 MB / 410.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006216/0.07345, allocations: 51.95 kB / 410.7 MB, free: 15.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001146/0.07356, allocations: 68.09 kB / 410.8 MB, free: 15.73 MB / 394.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.0004547/0.07402, allocations: 289.8 kB / 411.1 MB, free: 15.43 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003862/0.0744, allocations: 99.48 kB / 411.2 MB, free: 15.33 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001331/0.07573, allocations: 0.6683 MB / 411.8 MB, free: 14.63 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.07574, allocations: 8 kB / 411.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.07575, allocations: 4 kB / 411.8 MB, free: 14.62 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.39e-05/0.07576, allocations: 7.922 kB / 411.9 MB, free: 14.61 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002862/0.07863, allocations: 1.53 MB / 413.4 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.07863, allocations: 0 / 413.4 MB, free: 13 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007455/0.07938, allocations: 147.8 kB / 413.5 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.339e-05/0.07939, allocations: 12.08 kB / 413.5 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.172e-05/0.07944, allocations: 20 kB / 413.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.07945, allocations: 8 kB / 413.6 MB, free: 12.82 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/0.07945, allocations: 7.938 kB / 413.6 MB, free: 12.81 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001715/0.08117, allocations: 1.078 MB / 414.7 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003484/0.08151, allocations: 131.3 kB / 414.8 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.56e-05/0.08161, allocations: 19.94 kB / 414.8 MB, free: 11.52 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003522/0.08196, allocations: 27.97 kB / 414.8 MB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001247/0.08209, allocations: 52.36 kB / 414.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.177e-05/0.08217, allocations: 39.95 kB / 414.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005414/0.08271, allocations: 431 kB / 415.3 MB, free: 10.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08271, allocations: 0 / 415.3 MB, free: 10.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008882/0.0836, allocations: 228 kB / 415.6 MB, free: 10.76 MB / 394.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.0001893/0.08379, allocations: 123.1 kB / 415.7 MB, free: 10.63 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001959/0.08575, allocations: 1.18 MB / 416.9 MB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.08575, allocations: 0 / 416.9 MB, free: 9.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005386/0.08629, allocations: 368.8 kB / 417.2 MB, free: 9.016 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007753/0.08706, allocations: 155.8 kB / 417.4 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003367/0.09043, allocations: 1.755 MB / 419.1 MB, free: 7.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000651/0.09108, allocations: 495.9 kB / 419.6 MB, free: 6.535 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006427/0.09172, allocations: 250.4 kB / 419.9 MB, free: 6.285 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001783/0.0919, allocations: 64.48 kB / 419.9 MB, free: 6.223 MB / 394.7 MB Notification: Performance of SimCode: time 7.11e-07/0.0919, allocations: 0 / 419.9 MB, free: 6.223 MB / 394.7 MB Notification: Performance of Templates: time 0.01847/0.1104, allocations: 8.66 MB / 428.6 MB, free: 13.7 MB / 410.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","/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.275552364997566]