Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001112/0.001112, allocations: 80.8 kB / 21.5 MB, free: 2.996 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.0009015/0.0009015, allocations: 170.5 kB / 24.91 MB, free: 9.211 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.039/1.039, allocations: 177.1 MB / 205.3 MB, free: 5.469 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.2678/0.2678, allocations: 29.42 MB / 291.2 MB, free: 2.465 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.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.116e-06/3.116e-06, allocations: 3.984 kB / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/2.105e-05, allocations: 2.312 kB / 316.9 MB, free: 15.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.007573/0.007594, allocations: 8.122 MB / 325 MB, free: 7.758 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004094/0.01169, allocations: 3.37 MB / 328.4 MB, free: 4.379 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003884/0.01208, allocations: 39.69 kB / 328.4 MB, free: 4.34 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00125/0.01333, allocations: 0.8241 MB / 329.3 MB, free: 3.512 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001478/0.01481, allocations: 0.9011 MB / 330.2 MB, free: 2.605 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00098/0.01579, allocations: 0.4951 MB / 330.7 MB, free: 2.109 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001601/0.01739, allocations: 1.831 MB / 332.5 MB, free: 272 kB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008075/0.01819, allocations: 0.798 MB / 333.3 MB, free: 15.43 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001239/0.01943, allocations: 1.118 MB / 334.4 MB, free: 14.31 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001067/0.0205, allocations: 0.8064 MB / 335.2 MB, free: 13.5 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001541/0.02065, allocations: 100 kB / 335.3 MB, free: 13.4 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009774/0.02163, allocations: 487.1 kB / 335.8 MB, free: 12.93 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004394/0.02207, allocations: 0.678 MB / 336.5 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003992/0.02247, allocations: 494.8 kB / 336.9 MB, free: 11.76 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001161/0.02363, allocations: 1.289 MB / 338.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.02363, allocations: 0 / 338.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.02364, allocations: 0 / 338.2 MB, free: 10.47 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.141e-05/0.02366, allocations: 0 / 338.2 MB, free: 10.47 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.00173/0.02539, allocations: 1.484 MB / 339.7 MB, free: 8.953 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.02542, allocations: 8.031 kB / 339.7 MB, free: 8.945 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009309/0.02635, allocations: 320.6 kB / 340 MB, free: 8.633 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/0.02717, allocations: 0.7133 MB / 340.8 MB, free: 7.891 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.901e-05/0.02722, allocations: 82.47 kB / 340.8 MB, free: 7.809 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001792/0.0274, allocations: 131.9 kB / 341 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008233/0.02822, allocations: 0.8754 MB / 341.8 MB, free: 6.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.02825, allocations: 7.984 kB / 341.8 MB, free: 6.727 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.093e-05/0.02831, allocations: 47.92 kB / 341.9 MB, free: 6.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001437/0.02845, allocations: 98.16 kB / 342 MB, free: 6.582 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005044/0.02896, allocations: 384 kB / 342.4 MB, free: 6.188 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003526/0.03248, allocations: 3.89 MB / 346.3 MB, free: 2.09 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003169/0.0328, allocations: 315.4 kB / 346.6 MB, free: 1.754 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001518/0.03295, allocations: 150.5 kB / 346.7 MB, free: 1.598 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.57e-05/0.03299, allocations: 16.66 kB / 346.7 MB, free: 1.582 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.03302, allocations: 39.22 kB / 346.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=67): time 3.096e-06/0.03302, allocations: 3.984 kB / 346.8 MB, free: 1.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=74): time 0.003181/0.0362, allocations: 1.634 MB / 348.4 MB, free: 15.86 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.03624, allocations: 89.75 kB / 348.5 MB, free: 15.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003543/0.0366, allocations: 0.5816 MB / 349.1 MB, free: 15.15 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.88e-05/0.03663, allocations: 37.7 kB / 349.1 MB, free: 15.11 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002046/0.03684, allocations: 0.5243 MB / 349.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002887/0.03713, allocations: 277.6 kB / 349.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001664/0.03729, allocations: 178.5 kB / 350.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.03741, allocations: 406.5 kB / 350.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.03754, allocations: 101.9 kB / 350.6 MB, free: 13.61 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002579/0.0378, allocations: 385.2 kB / 351 MB, free: 13.12 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006453/0.03844, allocations: 0.5997 MB / 351.6 MB, free: 12.4 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.901e-06/0.03845, allocations: 4 kB / 351.6 MB, free: 12.39 MB / 330.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.001557/0.04001, allocations: 0.9032 MB / 352.5 MB, free: 11.47 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.04002, allocations: 8 kB / 352.5 MB, free: 11.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001119/0.04114, allocations: 0.5808 MB / 353 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001392/0.04254, allocations: 0.4973 MB / 353.5 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004605/0.043, allocations: 179.7 kB / 353.7 MB, free: 10.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005861/0.04886, allocations: 6.687 MB / 360.4 MB, free: 3.109 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003509/0.04921, allocations: 31.95 kB / 360.4 MB, free: 3.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.667e-05/0.04927, allocations: 35.94 kB / 360.5 MB, free: 3.043 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0002173/0.04948, allocations: 176.4 kB / 360.6 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001123/0.0496, allocations: 67.94 kB / 360.7 MB, free: 2.793 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009977/0.05059, allocations: 0.6287 MB / 361.3 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/0.0506, allocations: 8 kB / 361.3 MB, free: 2.121 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.0506, allocations: 4 kB / 361.4 MB, free: 2.117 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.835e-06/0.05061, allocations: 3.984 kB / 361.4 MB, free: 2.113 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001884/0.0525, allocations: 1.292 MB / 362.6 MB, free: 0.75 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.0525, allocations: 3.938 kB / 362.7 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003336/0.05283, allocations: 107.9 kB / 362.8 MB, free: 0.6406 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006844/0.05352, allocations: 292.3 kB / 363 MB, free: 344 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.266e-05/0.05357, allocations: 31.97 kB / 363.1 MB, free: 312 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004283/0.05785, allocations: 7.217 MB / 370.3 MB, free: 8.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.05786, allocations: 7.938 kB / 370.3 MB, free: 8.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.05918, allocations: 0.8946 MB / 371.2 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001825/0.05937, allocations: 115.4 kB / 371.3 MB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.184e-05/0.05946, allocations: 31.98 kB / 371.3 MB, free: 7.488 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002561/0.05971, allocations: 19.94 kB / 371.4 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.05982, allocations: 68.47 kB / 371.4 MB, free: 7.402 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.442e-05/0.05985, allocations: 12 kB / 371.4 MB, free: 7.391 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002461/0.0601, allocations: 280.5 kB / 371.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of sort global known variables: time 6e-08/0.0601, allocations: 0 / 371.7 MB, free: 7.117 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0009639/0.06106, allocations: 336 kB / 372 MB, free: 6.789 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.06119, allocations: 96.36 kB / 372.1 MB, free: 6.688 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001142/0.06234, allocations: 1.058 MB / 373.2 MB, free: 5.578 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.841e-05/0.06235, allocations: 13.12 kB / 373.2 MB, free: 5.566 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008271/0.06318, allocations: 0.8818 MB / 374.1 MB, free: 4.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006832/0.06386, allocations: 212 kB / 374.3 MB, free: 4.418 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.06693, allocations: 2.12 MB / 376.4 MB, free: 2.238 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002961/0.06723, allocations: 339.2 kB / 376.7 MB, free: 1.883 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002734/0.0675, allocations: 107.3 kB / 376.8 MB, free: 1.773 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003288/0.06783, allocations: 205.3 kB / 377 MB, free: 1.57 MB / 346.7 MB Notification: Performance of SimCode: time 7.82e-07/0.06783, allocations: 0 / 377 MB, free: 1.57 MB / 346.7 MB Notification: Performance of Templates: time 0.02071/0.08854, allocations: 15.29 MB / 392.3 MB, free: 2.508 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.366928849834949]