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.001246/0.001246, allocations: 84.94 kB / 20.68 MB, free: 1.023 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.001301/0.001301, allocations: 163.7 kB / 23.95 MB, free: 4.156 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.382/1.382, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 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.1744/0.1744, allocations: 29.44 MB / 290.1 MB, free: 3.273 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.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") translateModel(PowerSystems.Examples.Introductory.InitialSteadyState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="Time|meter_dq0.i.1.|meter_dq0.i.2.|meter_dq0.i.3.|meter_dq0.p.1.|meter_dq0.p.2.|meter_dq0.p.3.|meter_dq0.v.1.|meter_dq0.v.2.|meter_dq0.v.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.964e-06/1.964e-06, allocations: 0 / 430.7 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.022e-05/2.218e-05, allocations: 2.281 kB / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.005789/0.005811, allocations: 4.315 MB / 435 MB, free: 13.61 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.008147, allocations: 1.382 MB / 436.4 MB, free: 12.22 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001354/0.008282, allocations: 19.88 kB / 436.4 MB, free: 12.2 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001042/0.009324, allocations: 366.4 kB / 436.8 MB, free: 11.84 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005171/0.009841, allocations: 266.4 kB / 437 MB, free: 11.58 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006265/0.01047, allocations: 255.2 kB / 437.3 MB, free: 11.33 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006295/0.0111, allocations: 0.5727 MB / 437.9 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003723/0.01147, allocations: 221.5 kB / 438.1 MB, free: 10.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004988/0.01197, allocations: 347 kB / 438.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004894/0.01246, allocations: 347.1 kB / 438.7 MB, free: 9.859 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 7.377e-05/0.01253, allocations: 40 kB / 438.8 MB, free: 9.82 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004426/0.01297, allocations: 235.5 kB / 439 MB, free: 9.59 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002554/0.01323, allocations: 251.4 kB / 439.3 MB, free: 9.344 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002383/0.01347, allocations: 175.6 kB / 439.4 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008314/0.0143, allocations: 0.7011 MB / 440.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.0143, allocations: 0 / 440.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.81e-07/0.0143, allocations: 0 / 440.1 MB, free: 8.469 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.042e-06/0.01431, allocations: 0 / 440.1 MB, free: 8.469 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001313/0.01562, allocations: 0.7172 MB / 440.9 MB, free: 7.723 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.01565, allocations: 11.98 kB / 440.9 MB, free: 7.711 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007753/0.01643, allocations: 132.5 kB / 441 MB, free: 7.582 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006747/0.0171, allocations: 359.9 kB / 441.3 MB, free: 7.199 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.01714, allocations: 33.36 kB / 441.4 MB, free: 7.168 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.01728, allocations: 44.73 kB / 441.4 MB, free: 7.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.01831, allocations: 0.6883 MB / 442.1 MB, free: 6.398 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.315e-05/0.01834, allocations: 11.89 kB / 442.1 MB, free: 6.387 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.992e-05/0.01839, allocations: 12 kB / 442.1 MB, free: 6.375 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001862/0.01857, allocations: 56.95 kB / 442.2 MB, free: 6.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.01964, allocations: 0.6713 MB / 442.9 MB, free: 5.648 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.02301, allocations: 2.21 MB / 445.1 MB, free: 3.344 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.0236, allocations: 324.2 kB / 445.4 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003475/0.02395, allocations: 229.8 kB / 445.6 MB, free: 2.781 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.321e-05/0.02398, allocations: 16.27 kB / 445.6 MB, free: 2.766 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.942e-05/0.02401, allocations: 34.84 kB / 445.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of pre-optimization done (n=45): time 1.913e-06/0.02401, allocations: 0 / 445.7 MB, free: 2.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=46): time 0.002306/0.02632, allocations: 1.401 MB / 447.1 MB, free: 1.289 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.113e-05/0.02639, allocations: 92.97 kB / 447.2 MB, free: 1.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.02667, allocations: 276.1 kB / 447.4 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.927e-05/0.02671, allocations: 33.69 kB / 447.5 MB, free: 0.8633 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00018/0.02689, allocations: 252.2 kB / 447.7 MB, free: 0.6094 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.02704, allocations: 166.7 kB / 447.9 MB, free: 456 kB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.0272, allocations: 94.19 kB / 448 MB, free: 356 kB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.1603/0.1875, allocations: 348.1 kB / 448.3 MB, free: 29.95 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000493/0.188, allocations: 215 kB / 448.5 MB, free: 29.95 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004604/0.1885, allocations: 356.1 kB / 448.9 MB, free: 29.79 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009218/0.1894, allocations: 0.6349 MB / 449.5 MB, free: 29.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.1894, allocations: 1.25 kB / 449.5 MB, free: 29.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001329/0.1907, allocations: 0.7201 MB / 450.2 MB, free: 29.29 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.1907, allocations: 7.359 kB / 450.2 MB, free: 29.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008577/0.1916, allocations: 0.5174 MB / 450.7 MB, free: 29.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00036/0.1919, allocations: 81.62 kB / 450.8 MB, free: 29.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004198/0.1924, allocations: 105.9 kB / 450.9 MB, free: 29.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00142/0.1938, allocations: 1.589 MB / 452.5 MB, free: 27.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003071/0.1941, allocations: 32.44 kB / 452.5 MB, free: 27.73 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.967e-05/0.1941, allocations: 19.09 kB / 452.6 MB, free: 27.73 MB / 366.1 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.0002371/0.1944, allocations: 215.2 kB / 452.8 MB, free: 27.58 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.841e-05/0.1945, allocations: 37.14 kB / 452.8 MB, free: 27.58 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008736/0.1954, allocations: 0.5692 MB / 453.4 MB, free: 27.36 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.222e-05/0.1954, allocations: 12.11 kB / 453.4 MB, free: 27.36 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1954, allocations: 7.453 kB / 453.4 MB, free: 27.36 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.1954, allocations: 5.672 kB / 453.4 MB, free: 27.36 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001713/0.1971, allocations: 1.057 MB / 454.5 MB, free: 26.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1971, allocations: 1.25 kB / 454.5 MB, free: 26.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004149/0.1975, allocations: 85.02 kB / 454.5 MB, free: 26.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.76e-06/0.1975, allocations: 7.438 kB / 454.5 MB, free: 26.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.559e-05/0.1976, allocations: 16.88 kB / 454.6 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-06/0.1976, allocations: 2.875 kB / 454.6 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.1976, allocations: 2.172 kB / 454.6 MB, free: 26.84 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.1987, allocations: 0.9306 MB / 455.5 MB, free: 26.42 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.935e-05/0.1987, allocations: 37.44 kB / 455.5 MB, free: 26.41 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.606e-05/0.1988, allocations: 12.66 kB / 455.5 MB, free: 26.41 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.199, allocations: 18.53 kB / 455.6 MB, free: 26.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.087e-05/0.1991, allocations: 26.05 kB / 455.6 MB, free: 26.4 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.049e-05/0.1991, allocations: 14.42 kB / 455.6 MB, free: 26.39 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.1993, allocations: 190.6 kB / 455.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1993, allocations: 0.6875 kB / 455.8 MB, free: 26.29 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005004/0.1998, allocations: 126.4 kB / 455.9 MB, free: 26.27 MB / 366.1 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.0002386/0.2, allocations: 136.5 kB / 456 MB, free: 26.17 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009513/0.201, allocations: 0.638 MB / 456.7 MB, free: 25.91 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.201, allocations: 1.312 kB / 456.7 MB, free: 25.91 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.2013, allocations: 234.8 kB / 456.9 MB, free: 25.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.2018, allocations: 74.05 kB / 457 MB, free: 25.81 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00154/0.2033, allocations: 1.088 MB / 458.1 MB, free: 25.27 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000281/0.2036, allocations: 270.5 kB / 458.3 MB, free: 25.18 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0003023/0.2039, allocations: 128.9 kB / 458.5 MB, free: 25.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001156/0.204, allocations: 36.86 kB / 458.5 MB, free: 25.15 MB / 366.1 MB Notification: Performance of SimCode: time 4.2e-07/0.204, allocations: 2.344 kB / 458.5 MB, free: 25.15 MB / 366.1 MB Notification: Performance of Templates: time 0.009902/0.2139, allocations: 4.472 MB / 463 MB, free: 24.7 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.Introductory.InitialSteadyState.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.Introductory.InitialSteadyState.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.55857041105628]