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.000754/0.000754, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001063/0.001817, allocations: 449.7 kB / 10.37 MB, free: 328 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.000696/0.000696, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009025/0.001599, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9156/0.9156, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1078/1.023, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.113/0.113, allocations: 29.44 MB / 273.4 MB, free: 1.496 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1337/0.2466, allocations: 9.525 MB / 283 MB, free: 12.85 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.403e-06/1.403e-06, allocations: 0 / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.154e-05/1.294e-05, allocations: 4.609 kB / 284.2 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.00782/0.007833, allocations: 4.148 MB / 288.4 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.005448/0.01328, allocations: 1.364 MB / 289.7 MB, free: 7.586 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001969/0.01348, allocations: 21.81 kB / 289.8 MB, free: 7.574 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006256/0.0141, allocations: 359.5 kB / 290.1 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003523/0.01763, allocations: 275 kB / 290.4 MB, free: 7.086 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.01825, allocations: 246.8 kB / 290.6 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006217/0.01887, allocations: 0.6 MB / 291.2 MB, free: 6.582 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003099/0.01918, allocations: 227.8 kB / 291.4 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005755/0.01976, allocations: 415.9 kB / 291.8 MB, free: 6.23 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004081/0.02017, allocations: 320.6 kB / 292.2 MB, free: 6.062 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.478e-05/0.02023, allocations: 40.69 kB / 292.2 MB, free: 6.059 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003461/0.02369, allocations: 233.1 kB / 292.4 MB, free: 5.961 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002557/0.02395, allocations: 235.1 kB / 292.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002009/0.02415, allocations: 143 kB / 292.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006456/0.02479, allocations: 0.4911 MB / 293.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.197e-05/0.02481, allocations: 0 / 293.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02481, allocations: 1.031 kB / 293.3 MB, free: 5.613 MB / 282.7 MB Notification: Performance of Transformations before backend: time 2.032e-05/0.02483, allocations: 0 / 293.3 MB, free: 5.613 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.001048/0.02588, allocations: 0.753 MB / 294 MB, free: 4.965 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.179e-05/0.02591, allocations: 8.031 kB / 294 MB, free: 4.957 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003901/0.02981, allocations: 221.8 kB / 294.3 MB, free: 4.723 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004352/0.03024, allocations: 316.4 kB / 294.6 MB, free: 4.391 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.819e-05/0.03027, allocations: 29.36 kB / 294.6 MB, free: 4.359 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001155/0.03039, allocations: 52.69 kB / 294.7 MB, free: 4.309 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004977/0.03089, allocations: 423.7 kB / 295.1 MB, free: 3.859 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.0309, allocations: 7.938 kB / 295.1 MB, free: 3.852 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.588e-05/0.03094, allocations: 12 kB / 295.1 MB, free: 3.84 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001006/0.03104, allocations: 40.98 kB / 295.1 MB, free: 3.801 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003499/0.03139, allocations: 229.6 kB / 295.3 MB, free: 3.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00497/0.03636, allocations: 1.749 MB / 297.1 MB, free: 1.742 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002587/0.03662, allocations: 199.7 kB / 297.3 MB, free: 1.527 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.03673, allocations: 86.02 kB / 297.4 MB, free: 1.438 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.549e-05/0.03676, allocations: 12.28 kB / 297.4 MB, free: 1.426 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.03678, allocations: 42.78 kB / 297.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of pre-optimization done (n=45): time 2.374e-06/0.03678, allocations: 0 / 297.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=46): time 0.001035/0.03782, allocations: 0.6234 MB / 298.1 MB, free: 0.7266 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.03786, allocations: 81.11 kB / 298.1 MB, free: 0.6289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001718/0.03803, allocations: 262.8 kB / 298.4 MB, free: 368 kB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.668e-05/0.03806, allocations: 37.69 kB / 298.4 MB, free: 324 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.03816, allocations: 236.7 kB / 298.7 MB, free: 84 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.03827, allocations: 162.8 kB / 298.8 MB, free: 15.92 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001243/0.03839, allocations: 86.09 kB / 298.9 MB, free: 15.83 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001308/0.03853, allocations: 354.7 kB / 299.2 MB, free: 15.47 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001036/0.03863, allocations: 59.97 kB / 299.3 MB, free: 15.41 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.03881, allocations: 201.9 kB / 299.5 MB, free: 15.16 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002799/0.03909, allocations: 329.4 kB / 299.8 MB, free: 14.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.03909, allocations: 4 kB / 299.8 MB, free: 14.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0004588/0.03955, allocations: 362.9 kB / 300.2 MB, free: 14.41 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.372e-05/0.03957, allocations: 8.062 kB / 300.2 MB, free: 14.4 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002284/0.03979, allocations: 192.4 kB / 300.4 MB, free: 14.21 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001976/0.03999, allocations: 63.61 kB / 300.4 MB, free: 14.14 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002538/0.04025, allocations: 107.8 kB / 300.5 MB, free: 14.04 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.04138, allocations: 1.3 MB / 301.8 MB, free: 12.64 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.04151, allocations: 8 kB / 301.9 MB, free: 12.63 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.85e-05/0.04154, allocations: 16 kB / 301.9 MB, free: 12.61 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.0001147/0.04165, allocations: 148.4 kB / 302 MB, free: 12.46 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.321e-05/0.04172, allocations: 35.97 kB / 302 MB, free: 12.42 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002959/0.04202, allocations: 259.7 kB / 302.3 MB, free: 12.16 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.068e-05/0.04204, allocations: 20.02 kB / 302.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.04204, allocations: 0 / 302.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.04205, allocations: 0 / 302.3 MB, free: 12.14 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007208/0.04277, allocations: 0.6934 MB / 303 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.04277, allocations: 0 / 303 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002421/0.04301, allocations: 92.84 kB / 303.1 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.04304, allocations: 35.75 kB / 303.1 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/0.04305, allocations: 8.094 kB / 303.1 MB, free: 11.28 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.861e-05/0.04307, allocations: 12 kB / 303.2 MB, free: 11.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.516e-06/0.04307, allocations: 7.875 kB / 303.2 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.04307, allocations: 4 kB / 303.2 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.04346, allocations: 474.1 kB / 303.6 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.084e-05/0.04349, allocations: 8 kB / 303.6 MB, free: 10.76 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.713e-05/0.04358, allocations: 11.98 kB / 303.7 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.04361, allocations: 35.81 kB / 303.7 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-05/0.04363, allocations: 8 kB / 303.7 MB, free: 10.7 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.253e-05/0.04369, allocations: 84.64 kB / 303.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04369, allocations: 4 kB / 303.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002946/0.04399, allocations: 123.9 kB / 303.9 MB, free: 10.49 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.0001518/0.04414, allocations: 120.2 kB / 304 MB, free: 10.36 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003963/0.04453, allocations: 376.7 kB / 304.4 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.282e-05/0.04455, allocations: 4 kB / 304.4 MB, free: 9.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.04465, allocations: 114.3 kB / 304.5 MB, free: 9.867 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.04492, allocations: 106.2 kB / 304.6 MB, free: 9.77 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005817/0.05074, allocations: 0.9294 MB / 305.5 MB, free: 8.797 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000108/0.05085, allocations: 161.7 kB / 305.7 MB, free: 8.621 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.00014/0.05099, allocations: 51.2 kB / 305.7 MB, free: 8.566 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001543/0.05114, allocations: 107.4 kB / 305.9 MB, free: 8.461 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.05114, allocations: 4 kB / 305.9 MB, free: 8.457 MB / 298.7 MB Notification: Performance of Templates: time 0.007476/0.05862, allocations: 5.05 MB / 310.9 MB, free: 3.492 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.894039275124669]