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.001418/0.001418, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.00146/0.00146, allocations: 165 kB / 24.56 MB, free: 12 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.044/1.044, allocations: 177.1 MB / 205 MB, free: 5.598 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.2171/0.2171, allocations: 29.42 MB / 290.9 MB, free: 2.492 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 1.774e-06/1.774e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.376e-05/1.553e-05, allocations: 5.406 kB / 369.6 MB, free: 10.98 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.InitialSteadyState): time 0.003554/0.003569, allocations: 4.064 MB / 373.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001611/0.00518, allocations: 1.348 MB / 375 MB, free: 5.535 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001602/0.00534, allocations: 19.88 kB / 375.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005171/0.005857, allocations: 278.7 kB / 375.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006351/0.006492, allocations: 262.5 kB / 375.6 MB, free: 4.984 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001239/0.007732, allocations: 263.1 kB / 375.8 MB, free: 4.727 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008586/0.00859, allocations: 0.5572 MB / 376.4 MB, free: 4.168 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004788/0.009069, allocations: 229.7 kB / 376.6 MB, free: 3.945 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007347/0.009804, allocations: 379 kB / 377 MB, free: 3.574 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005195/0.01032, allocations: 323.2 kB / 377.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 8.36e-05/0.01041, allocations: 44 kB / 377.4 MB, free: 3.215 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005227/0.01093, allocations: 235.4 kB / 377.6 MB, free: 2.984 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002511/0.01118, allocations: 247.4 kB / 377.8 MB, free: 2.742 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002443/0.01143, allocations: 175.6 kB / 378 MB, free: 2.57 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000869/0.01229, allocations: 0.549 MB / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.0123, allocations: 0 / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.0123, allocations: 0 / 378.6 MB, free: 2.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.495e-05/0.01231, allocations: 0 / 378.6 MB, free: 2.02 MB / 346.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.001413/0.01373, allocations: 0.8094 MB / 379.4 MB, free: 1.176 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.55e-05/0.01377, allocations: 11.98 kB / 379.4 MB, free: 1.164 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008257/0.0146, allocations: 176.4 kB / 379.5 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000622/0.01522, allocations: 355.1 kB / 379.9 MB, free: 0.6211 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.208e-05/0.01525, allocations: 29.36 kB / 379.9 MB, free: 0.5938 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.0154, allocations: 44.75 kB / 380 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000815/0.01621, allocations: 473.3 kB / 380.4 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.143e-05/0.01623, allocations: 0 / 380.4 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.01628, allocations: 19.94 kB / 380.4 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000173/0.01645, allocations: 52.95 kB / 380.5 MB, free: 15.96 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006944/0.01715, allocations: 309.6 kB / 380.8 MB, free: 15.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.01958, allocations: 2.397 MB / 383.2 MB, free: 13.16 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002945/0.01988, allocations: 202 kB / 383.4 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.02001, allocations: 119.7 kB / 383.5 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.696e-05/0.02004, allocations: 12.2 kB / 383.5 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.02007, allocations: 41.67 kB / 383.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of pre-optimization done (n=45): time 2.555e-06/0.02007, allocations: 0 / 383.6 MB, free: 12.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001206/0.02128, allocations: 0.8903 MB / 384.5 MB, free: 11.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.02132, allocations: 92.97 kB / 384.5 MB, free: 11.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.02151, allocations: 326.2 kB / 384.9 MB, free: 11.38 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.417e-05/0.02153, allocations: 33.7 kB / 384.9 MB, free: 11.34 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.02165, allocations: 302.9 kB / 385.2 MB, free: 11.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.752e-05/0.02174, allocations: 170.7 kB / 385.4 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001277/0.02186, allocations: 99.8 kB / 385.5 MB, free: 10.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.02201, allocations: 0.5196 MB / 386 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001251/0.02213, allocations: 89.11 kB / 386.1 MB, free: 10.14 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002048/0.02234, allocations: 287.9 kB / 386.3 MB, free: 9.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003668/0.0227, allocations: 421.8 kB / 386.8 MB, free: 9.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02271, allocations: 4 kB / 386.8 MB, free: 9.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.000638/0.02334, allocations: 489.6 kB / 387.2 MB, free: 8.801 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.02336, allocations: 12.06 kB / 387.2 MB, free: 8.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003718/0.02373, allocations: 283.1 kB / 387.5 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.02394, allocations: 59.62 kB / 387.6 MB, free: 8.449 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002152/0.02416, allocations: 103.8 kB / 387.7 MB, free: 8.348 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009962/0.02515, allocations: 1.862 MB / 389.5 MB, free: 6.363 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.0253, allocations: 31.91 kB / 389.6 MB, free: 6.332 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.023e-05/0.02533, allocations: 20 kB / 389.6 MB, free: 6.312 MB / 362.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.000121/0.02545, allocations: 180.5 kB / 389.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.02553, allocations: 59.73 kB / 389.8 MB, free: 6.066 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003907/0.02592, allocations: 345.7 kB / 390.2 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.494e-05/0.02593, allocations: 20.02 kB / 390.2 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.773e-06/0.02593, allocations: 0 / 390.2 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.02594, allocations: 7.938 kB / 390.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009212/0.02686, allocations: 0.8488 MB / 391 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.02686, allocations: 4 kB / 391 MB, free: 4.785 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002059/0.02707, allocations: 83.88 kB / 391.1 MB, free: 4.703 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.777e-06/0.02707, allocations: 4 kB / 391.1 MB, free: 4.699 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.02709, allocations: 11.94 kB / 391.1 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.349e-06/0.0271, allocations: 15.95 kB / 391.2 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.0271, allocations: 4 kB / 391.2 MB, free: 4.668 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005335/0.02763, allocations: 0.5972 MB / 391.8 MB, free: 4.035 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.902e-05/0.02766, allocations: 35.75 kB / 391.8 MB, free: 4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.942e-05/0.02769, allocations: 11.94 kB / 391.8 MB, free: 3.988 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000105/0.0278, allocations: 23.92 kB / 391.8 MB, free: 3.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.151e-05/0.02784, allocations: 31.8 kB / 391.9 MB, free: 3.934 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.02786, allocations: 11.98 kB / 391.9 MB, free: 3.922 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001055/0.02796, allocations: 211 kB / 392.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02796, allocations: 0 / 392.1 MB, free: 3.715 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003192/0.02828, allocations: 127.9 kB / 392.2 MB, free: 3.59 MB / 362.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.0001766/0.02846, allocations: 135.2 kB / 392.3 MB, free: 3.449 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005334/0.02899, allocations: 0.4905 MB / 392.8 MB, free: 2.938 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.029, allocations: 4.125 kB / 392.8 MB, free: 2.934 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000152/0.02915, allocations: 152.2 kB / 393 MB, free: 2.781 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003282/0.02948, allocations: 79.05 kB / 393.1 MB, free: 2.703 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001363/0.03084, allocations: 0.958 MB / 394 MB, free: 1.699 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.216e-05/0.03093, allocations: 153.8 kB / 394.2 MB, free: 1.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001732/0.0311, allocations: 95.16 kB / 394.3 MB, free: 1.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.619e-05/0.03118, allocations: 36.5 kB / 394.3 MB, free: 1.395 MB / 362.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03118, allocations: 4 kB / 394.3 MB, free: 1.391 MB / 362.7 MB Notification: Performance of Templates: time 0.00664/0.03782, allocations: 4.723 MB / 399 MB, free: 12.74 MB / 378.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.032832563854754]