Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.0009755/0.0009755, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001014/0.001014, allocations: 169.1 kB / 24.91 MB, free: 9.191 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.119/1.119, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2432/0.2432, allocations: 29.43 MB / 291.2 MB, free: 2.41 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.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|generator.powerAngle|sensor.p.[0-9,]+.|sensor1.p.[0-9,]+.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.764e-05/1.888e-05, allocations: 3.406 kB / 316.9 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005751/0.00577, allocations: 6.648 MB / 323.6 MB, free: 9.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003065/0.008834, allocations: 2.794 MB / 326.3 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002437/0.009078, allocations: 39.69 kB / 326.4 MB, free: 6.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007799/0.009858, allocations: 0.5829 MB / 327 MB, free: 5.824 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00084/0.0107, allocations: 0.7109 MB / 327.7 MB, free: 5.109 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004753/0.01117, allocations: 382.9 kB / 328.1 MB, free: 4.734 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009748/0.01215, allocations: 1.376 MB / 329.4 MB, free: 3.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004772/0.01263, allocations: 0.5802 MB / 330 MB, free: 2.754 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000605/0.01323, allocations: 0.8143 MB / 330.8 MB, free: 1.938 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006162/0.01385, allocations: 0.5766 MB / 331.4 MB, free: 1.359 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.383e-05/0.01392, allocations: 72 kB / 331.5 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004048/0.01433, allocations: 395.2 kB / 331.9 MB, free: 0.8984 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002738/0.0146, allocations: 482.8 kB / 332.3 MB, free: 436 kB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.01483, allocations: 359.2 kB / 332.7 MB, free: 76 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000728/0.01556, allocations: 0.9304 MB / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.01556, allocations: 0 / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.01557, allocations: 0 / 333.6 MB, free: 15.14 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.454e-06/0.01557, allocations: 0 / 333.6 MB, free: 15.14 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.001046/0.01662, allocations: 1.148 MB / 334.8 MB, free: 13.96 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.685e-05/0.01665, allocations: 11.98 kB / 334.8 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005997/0.01724, allocations: 236.7 kB / 335 MB, free: 13.72 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006271/0.01787, allocations: 0.5555 MB / 335.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.556e-05/0.01791, allocations: 62.36 kB / 335.6 MB, free: 13.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001376/0.01805, allocations: 104.6 kB / 335.7 MB, free: 12.97 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006325/0.01868, allocations: 0.6687 MB / 336.4 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.806e-05/0.0187, allocations: 3.938 kB / 336.4 MB, free: 12.25 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.616e-05/0.01874, allocations: 35.98 kB / 336.4 MB, free: 12.22 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.144e-05/0.01883, allocations: 73.95 kB / 336.5 MB, free: 12.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003654/0.0192, allocations: 281.6 kB / 336.8 MB, free: 11.87 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.02168, allocations: 3.009 MB / 339.8 MB, free: 8.703 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002326/0.02192, allocations: 220 kB / 340 MB, free: 8.473 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001248/0.02204, allocations: 109.1 kB / 340.1 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.29e-05/0.02206, allocations: 8.5 kB / 340.1 MB, free: 8.355 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.02209, allocations: 51.05 kB / 340.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 1.483e-06/0.02209, allocations: 0 / 340.2 MB, free: 8.297 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001069/0.02316, allocations: 0.795 MB / 341 MB, free: 7.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.0232, allocations: 89.67 kB / 341 MB, free: 7.363 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002892/0.02349, allocations: 470.9 kB / 341.5 MB, free: 6.891 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.02352, allocations: 37.7 kB / 341.5 MB, free: 6.848 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001966/0.02372, allocations: 424.9 kB / 342 MB, free: 6.426 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001152/0.02383, allocations: 198.3 kB / 342.1 MB, free: 6.23 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001301/0.02396, allocations: 134.5 kB / 342.3 MB, free: 6.094 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001243/0.02408, allocations: 378.6 kB / 342.6 MB, free: 5.715 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.397e-05/0.02418, allocations: 73.95 kB / 342.7 MB, free: 5.641 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002225/0.0244, allocations: 296.9 kB / 343 MB, free: 5.254 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003903/0.02479, allocations: 449 kB / 343.4 MB, free: 4.715 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.0248, allocations: 4 kB / 343.5 MB, free: 4.711 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007524/0.02555, allocations: 0.5542 MB / 344 MB, free: 4.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.02556, allocations: 15.94 kB / 344 MB, free: 4.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000414/0.02598, allocations: 318.7 kB / 344.3 MB, free: 3.805 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003854/0.02636, allocations: 186.8 kB / 344.5 MB, free: 3.609 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003134/0.02668, allocations: 155.8 kB / 344.7 MB, free: 3.457 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002509/0.02918, allocations: 4.102 MB / 348.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/0.02936, allocations: 20 kB / 348.8 MB, free: 15.04 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.837e-05/0.02939, allocations: 24 kB / 348.8 MB, free: 15.01 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (80): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.02953, allocations: 156.5 kB / 349 MB, free: 14.85 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.593e-05/0.0296, allocations: 59.83 kB / 349 MB, free: 14.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.02992, allocations: 317 kB / 349.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.02992, allocations: 4 kB / 349.3 MB, free: 14.47 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.32e-07/0.02992, allocations: 4 kB / 349.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.02993, allocations: 3.984 kB / 349.3 MB, free: 14.46 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009131/0.03084, allocations: 0.8285 MB / 350.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.03084, allocations: 4 kB / 350.2 MB, free: 13.58 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.03123, allocations: 150.4 kB / 350.3 MB, free: 13.44 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.03124, allocations: 4 kB / 350.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.03126, allocations: 16 kB / 350.3 MB, free: 13.42 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.03126, allocations: 3.938 kB / 350.3 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.03126, allocations: 4 kB / 350.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004372/0.0317, allocations: 0.5366 MB / 350.9 MB, free: 12.84 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001106/0.03181, allocations: 87.53 kB / 351 MB, free: 12.75 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.03186, allocations: 19.88 kB / 351 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001289/0.03199, allocations: 12 kB / 351 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.578e-05/0.03203, allocations: 36.38 kB / 351 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.973e-05/0.03205, allocations: 12 kB / 351.1 MB, free: 12.67 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001507/0.03221, allocations: 204.4 kB / 351.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-08/0.03221, allocations: 0 / 351.3 MB, free: 12.47 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003798/0.03259, allocations: 208 kB / 351.5 MB, free: 12.27 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (54): * Single equations (assignments): 53 * Array equations: 0 * 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 9.754e-05/0.03268, allocations: 92.36 kB / 351.5 MB, free: 12.17 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006902/0.03337, allocations: 0.7439 MB / 352.3 MB, free: 11.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-05/0.03339, allocations: 8.5 kB / 352.3 MB, free: 11.38 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001414/0.03353, allocations: 138.2 kB / 352.4 MB, free: 11.24 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.03395, allocations: 158.9 kB / 352.6 MB, free: 11.1 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001903/0.03585, allocations: 1.569 MB / 354.2 MB, free: 9.469 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001628/0.03601, allocations: 238.9 kB / 354.4 MB, free: 9.215 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001814/0.03619, allocations: 97.52 kB / 354.5 MB, free: 9.117 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/0.03642, allocations: 173.3 kB / 354.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of SimCode: time 7.41e-07/0.03642, allocations: 0 / 354.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of Templates: time 0.01077/0.0472, allocations: 8.881 MB / 363.5 MB, free: 232 kB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.134369391016662]