Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.001038/0.001038, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.001263/0.001263, allocations: 167.9 kB / 25.61 MB, free: 8.582 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.009/1.009, allocations: 177.1 MB / 206 MB, free: 4.484 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.1219/0.1219, allocations: 29.43 MB / 292 MB, free: 2.613 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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.[0-9,]+.|meter_dq0.p.[0-9,]+.|meter_dq0.v.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.871e-05, allocations: 4.062 kB / 370.9 MB, free: 32.31 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.007914/0.007943, allocations: 4.046 MB / 374.9 MB, free: 28.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003016/0.01096, allocations: 1.344 MB / 376.3 MB, free: 26.9 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002408/0.0112, allocations: 15.88 kB / 376.3 MB, free: 26.89 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006745/0.01187, allocations: 286.7 kB / 376.6 MB, free: 26.61 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000513/0.01239, allocations: 246.6 kB / 376.8 MB, free: 26.36 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006218/0.01301, allocations: 255.2 kB / 377 MB, free: 26.11 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006024/0.01361, allocations: 0.5649 MB / 377.6 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003458/0.01396, allocations: 225.7 kB / 377.8 MB, free: 25.32 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005659/0.01452, allocations: 391 kB / 378.2 MB, free: 24.94 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003616/0.01488, allocations: 319.2 kB / 378.5 MB, free: 24.62 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.46e-05/0.01494, allocations: 36 kB / 378.6 MB, free: 24.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004287/0.01537, allocations: 235.4 kB / 378.8 MB, free: 24.36 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001943/0.01556, allocations: 255.4 kB / 379 MB, free: 24.11 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001636/0.01573, allocations: 175.6 kB / 379.2 MB, free: 23.94 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005748/0.0163, allocations: 0.549 MB / 379.8 MB, free: 23.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.0163, allocations: 4 kB / 379.8 MB, free: 23.38 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.01631, allocations: 0 / 379.8 MB, free: 23.38 MB / 314.7 MB Notification: Performance of Transformations before backend: time 8.596e-06/0.01631, allocations: 0 / 379.8 MB, free: 23.38 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.0008835/0.0172, allocations: 0.7739 MB / 380.5 MB, free: 22.57 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.01724, allocations: 8.031 kB / 380.5 MB, free: 22.56 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006316/0.01787, allocations: 156.4 kB / 380.7 MB, free: 22.41 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004544/0.01832, allocations: 335.1 kB / 381 MB, free: 22.06 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.9e-05/0.01835, allocations: 33.31 kB / 381.1 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.01847, allocations: 48.73 kB / 381.1 MB, free: 21.98 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004778/0.01895, allocations: 437.2 kB / 381.5 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.01897, allocations: 4 kB / 381.5 MB, free: 21.5 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.764e-05/0.01901, allocations: 15.98 kB / 381.5 MB, free: 21.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001121/0.01912, allocations: 44.97 kB / 381.6 MB, free: 21.44 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003342/0.01945, allocations: 242.6 kB / 381.8 MB, free: 21.2 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00179/0.02124, allocations: 2.277 MB / 384.1 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.02149, allocations: 182.7 kB / 384.3 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.02159, allocations: 99.61 kB / 384.4 MB, free: 18.52 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.473e-05/0.02162, allocations: 8.281 kB / 384.4 MB, free: 18.51 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.02164, allocations: 45.61 kB / 384.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of pre-optimization done (n=45): time 2.014e-06/0.02164, allocations: 0 / 384.4 MB, free: 18.46 MB / 314.7 MB Notification: Performance of matching and sorting (n=46): time 0.0009662/0.02261, allocations: 0.706 MB / 385.1 MB, free: 17.72 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.02264, allocations: 85.11 kB / 385.2 MB, free: 17.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001538/0.02279, allocations: 326 kB / 385.5 MB, free: 17.29 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.02281, allocations: 33.64 kB / 385.6 MB, free: 17.25 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.816e-05/0.02291, allocations: 299 kB / 385.9 MB, free: 16.95 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.075e-05/0.023, allocations: 178.5 kB / 386 MB, free: 16.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001097/0.02311, allocations: 99.8 kB / 386.1 MB, free: 16.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.02318, allocations: 0.5273 MB / 386.7 MB, free: 16.12 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.307e-05/0.02328, allocations: 65.11 kB / 386.7 MB, free: 16.06 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001632/0.02344, allocations: 268.5 kB / 387 MB, free: 15.72 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.02375, allocations: 389.6 kB / 387.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.02376, allocations: 0 / 387.4 MB, free: 15.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0006253/0.02438, allocations: 433.5 kB / 387.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.0244, allocations: 10.19 kB / 387.8 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003377/0.02474, allocations: 247 kB / 388 MB, free: 14.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002435/0.02498, allocations: 64.16 kB / 388.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002486/0.02523, allocations: 87.84 kB / 388.2 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008163/0.02605, allocations: 1.815 MB / 390 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001667/0.02621, allocations: 12 kB / 390 MB, free: 12.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.02625, allocations: 19.98 kB / 390 MB, free: 12.46 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (54): * Single equations (assignments): 51 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.02637, allocations: 188.4 kB / 390.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.693e-05/0.02647, allocations: 55.75 kB / 390.3 MB, free: 12.21 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000391/0.02686, allocations: 307.6 kB / 390.6 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.691e-05/0.02688, allocations: 20 kB / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.974e-06/0.02688, allocations: 0 / 390.6 MB, free: 11.89 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.02689, allocations: 3.984 kB / 390.6 MB, free: 11.88 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009093/0.0278, allocations: 0.7516 MB / 391.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-06/0.0278, allocations: 4 kB / 391.4 MB, free: 11.08 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000244/0.02805, allocations: 71.91 kB / 391.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.02805, allocations: 0 / 391.4 MB, free: 11.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.02807, allocations: 15.98 kB / 391.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.02807, allocations: 3.938 kB / 391.4 MB, free: 10.99 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.02808, allocations: 4 kB / 391.5 MB, free: 10.98 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004668/0.02854, allocations: 0.5539 MB / 392 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.165e-05/0.02857, allocations: 31.75 kB / 392 MB, free: 10.36 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.02861, allocations: 12.09 kB / 392 MB, free: 10.35 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.02874, allocations: 8 kB / 392.1 MB, free: 10.34 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.02879, allocations: 31.83 kB / 392.1 MB, free: 10.31 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.02881, allocations: 8 kB / 392.1 MB, free: 10.3 MB / 314.7 MB Notification: Performance of sorting global known variables: time 8.374e-05/0.0289, allocations: 210.9 kB / 392.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0289, allocations: 0 / 392.3 MB, free: 10.1 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004391/0.02934, allocations: 119.9 kB / 392.4 MB, free: 9.98 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.i[3]) * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 36 * Array equations: 2 * Algorithm blocks: 0 * 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.0001825/0.02952, allocations: 131.1 kB / 392.5 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0004857/0.03, allocations: 461.2 kB / 393 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.03001, allocations: 0 / 393 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.03015, allocations: 133.3 kB / 393.1 MB, free: 9.238 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004103/0.03056, allocations: 81.38 kB / 393.2 MB, free: 9.164 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001843/0.0324, allocations: 0.9386 MB / 394.1 MB, free: 8.172 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.37e-05/0.03249, allocations: 157.9 kB / 394.3 MB, free: 7.996 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001606/0.03265, allocations: 47.27 kB / 394.3 MB, free: 7.953 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.03283, allocations: 138.2 kB / 394.5 MB, free: 7.816 MB / 314.7 MB Notification: Performance of SimCode: time 1.092e-06/0.03283, allocations: 3.938 kB / 394.5 MB, free: 7.812 MB / 314.7 MB Notification: Performance of Templates: time 0.007618/0.04045, allocations: 4.934 MB / 399.4 MB, free: 2.969 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.sim & ./PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.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.405806457158178]