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.0007392/0.0007392, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001855, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007613/0.0007613, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001008/0.001769, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9972/0.9972, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09665/1.094, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-master/package.mo): time 0.1157/0.1157, allocations: 29.44 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1425/0.2582, allocations: 9.539 MB / 283.1 MB, free: 12.82 MB / 282.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.1.0-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="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="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 1.924e-06/1.924e-06, allocations: 0 / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.246e-05/2.439e-05, allocations: 2.312 kB / 284.4 MB, free: 11.88 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.004693/0.004718, allocations: 4.18 MB / 288.6 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.00701, allocations: 1.36 MB / 290 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003263/0.007336, allocations: 16.47 kB / 290 MB, free: 7.5 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006874/0.008024, allocations: 371.9 kB / 290.3 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005143/0.008538, allocations: 270.5 kB / 290.6 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006486/0.009187, allocations: 250.7 kB / 290.9 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007282/0.009915, allocations: 0.5927 MB / 291.4 MB, free: 6.504 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003655/0.01028, allocations: 231.5 kB / 291.7 MB, free: 6.383 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006508/0.01093, allocations: 407.9 kB / 292.1 MB, free: 6.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.01138, allocations: 320.3 kB / 292.4 MB, free: 5.988 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.444e-05/0.01146, allocations: 42.22 kB / 292.4 MB, free: 5.984 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004925/0.01195, allocations: 232 kB / 292.7 MB, free: 5.887 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002451/0.0122, allocations: 243.4 kB / 292.9 MB, free: 5.773 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001974/0.01239, allocations: 142.3 kB / 293 MB, free: 5.758 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006948/0.01309, allocations: 0.4939 MB / 293.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.0131, allocations: 0 / 293.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.0131, allocations: 0 / 293.5 MB, free: 5.531 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.366e-05/0.01312, allocations: 0 / 293.5 MB, free: 5.531 MB / 282.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.001163/0.01429, allocations: 0.7494 MB / 294.3 MB, free: 4.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.01433, allocations: 11.97 kB / 294.3 MB, free: 4.828 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000676/0.01501, allocations: 221.8 kB / 294.5 MB, free: 4.594 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004437/0.01545, allocations: 316.4 kB / 294.8 MB, free: 4.262 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.405e-05/0.01547, allocations: 29.38 kB / 294.8 MB, free: 4.23 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001163/0.01559, allocations: 52.67 kB / 294.9 MB, free: 4.18 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004572/0.01605, allocations: 415.7 kB / 295.3 MB, free: 3.738 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.774e-05/0.01607, allocations: 7.938 kB / 295.3 MB, free: 3.73 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.002e-05/0.0161, allocations: 19.98 kB / 295.3 MB, free: 3.711 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.86e-05/0.01619, allocations: 40.97 kB / 295.4 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002948/0.01649, allocations: 225.6 kB / 295.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001966/0.01845, allocations: 1.756 MB / 297.3 MB, free: 1.609 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002489/0.0187, allocations: 209.3 kB / 297.5 MB, free: 1.387 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.925e-05/0.01879, allocations: 82.03 kB / 297.6 MB, free: 1.301 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.826e-05/0.01882, allocations: 12.28 kB / 297.6 MB, free: 1.289 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.114e-05/0.01885, allocations: 42.78 kB / 297.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 2.234e-06/0.01885, allocations: 0 / 297.7 MB, free: 1.238 MB / 282.7 MB Notification: Performance of matching and sorting (n=46): time 0.001114/0.01997, allocations: 0.6556 MB / 298.3 MB, free: 0.5547 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.02, allocations: 81.11 kB / 298.4 MB, free: 468 kB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.02016, allocations: 258.8 kB / 298.7 MB, free: 192 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.128e-05/0.02018, allocations: 33.7 kB / 298.7 MB, free: 152 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.02029, allocations: 241.5 kB / 298.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.695e-05/0.02037, allocations: 166.6 kB / 299.1 MB, free: 15.74 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.887e-05/0.02046, allocations: 90.08 kB / 299.2 MB, free: 15.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.272e-05/0.02055, allocations: 346.7 kB / 299.5 MB, free: 15.3 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.739e-05/0.02064, allocations: 67.95 kB / 299.6 MB, free: 15.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/0.02077, allocations: 194.5 kB / 299.8 MB, free: 14.99 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002636/0.02103, allocations: 333.1 kB / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02104, allocations: 4 kB / 300.1 MB, free: 14.6 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004299/0.02147, allocations: 351.9 kB / 300.5 MB, free: 14.25 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.02148, allocations: 12.06 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/0.02149, allocations: 4 kB / 300.5 MB, free: 14.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000206/0.0217, allocations: 63.61 kB / 300.5 MB, free: 14.16 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002647/0.02196, allocations: 107.8 kB / 300.6 MB, free: 14.06 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008669/0.02283, allocations: 1.296 MB / 301.9 MB, free: 12.66 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.02299, allocations: 16 kB / 301.9 MB, free: 12.65 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.178e-05/0.02302, allocations: 16 kB / 302 MB, free: 12.63 MB / 298.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.0001613/0.02318, allocations: 152.3 kB / 302.1 MB, free: 12.47 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.02326, allocations: 31.97 kB / 302.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003183/0.02357, allocations: 263.5 kB / 302.4 MB, free: 12.17 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/0.02359, allocations: 12.03 kB / 302.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.02359, allocations: 0 / 302.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.0236, allocations: 3.984 kB / 302.4 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008432/0.02444, allocations: 0.6893 MB / 303.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.02444, allocations: 0 / 303.1 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002612/0.0247, allocations: 91.88 kB / 303.2 MB, free: 11.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.814e-05/0.02474, allocations: 35.75 kB / 303.2 MB, free: 11.31 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.899e-06/0.02475, allocations: 4.094 kB / 303.2 MB, free: 11.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.816e-05/0.02477, allocations: 11.94 kB / 303.2 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.02477, allocations: 4 kB / 303.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.02477, allocations: 3.984 kB / 303.3 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004054/0.02518, allocations: 481.4 kB / 303.7 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.431e-05/0.02521, allocations: 15.98 kB / 303.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.224e-05/0.0253, allocations: 4 kB / 303.7 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.032e-05/0.02534, allocations: 27.89 kB / 303.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.933e-05/0.02536, allocations: 8 kB / 303.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.571e-05/0.02544, allocations: 88.62 kB / 303.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02544, allocations: 4 kB / 303.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003811/0.02582, allocations: 123.9 kB / 304 MB, free: 10.52 MB / 298.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.0001869/0.02601, allocations: 124.2 kB / 304.1 MB, free: 10.39 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000444/0.02645, allocations: 381.1 kB / 304.5 MB, free: 10.01 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.121e-05/0.02647, allocations: 4 kB / 304.5 MB, free: 10 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.02661, allocations: 142.1 kB / 304.6 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004627/0.02708, allocations: 0.5565 MB / 305.2 MB, free: 9.215 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005945/0.03302, allocations: 0.9142 MB / 306.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.03314, allocations: 161.7 kB / 306.3 MB, free: 8.078 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001968/0.03333, allocations: 51.25 kB / 306.3 MB, free: 8.031 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001794/0.03351, allocations: 119.3 kB / 306.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of SimCode: time 1.623e-06/0.03351, allocations: 0 / 306.4 MB, free: 7.914 MB / 298.7 MB Notification: Performance of Templates: time 0.007843/0.04136, allocations: 4.905 MB / 311.3 MB, free: 3.094 MB / 298.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 -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8413968654349446]