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.0008399/0.0008399, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00122/0.00206, 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.000759/0.000759, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009888/0.001748, 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.9819/0.9819, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09855/1.08, allocations: 53.65 MB / 243.4 MB, free: 15.51 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.1283/0.1283, allocations: 29.45 MB / 273.6 MB, free: 1.395 MB / 266.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1162/0.2445, allocations: 9.537 MB / 283.1 MB, free: 12.83 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.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="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="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.403e-06/1.403e-06, allocations: 0 / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012e-05/1.152e-05, allocations: 2.312 kB / 284.5 MB, free: 11.87 MB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.005769/0.005781, allocations: 6.735 MB / 291.2 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002935/0.008716, allocations: 2.826 MB / 294 MB, free: 4.422 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002596/0.008976, allocations: 37.5 kB / 294.1 MB, free: 4.402 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009634/0.009939, allocations: 0.7279 MB / 294.8 MB, free: 3.852 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009254/0.01086, allocations: 0.7478 MB / 295.5 MB, free: 3.27 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004826/0.01135, allocations: 382 kB / 295.9 MB, free: 2.984 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00113/0.01248, allocations: 1.407 MB / 297.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004711/0.01295, allocations: 0.553 MB / 297.9 MB, free: 1.254 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006468/0.01359, allocations: 0.878 MB / 298.7 MB, free: 384 kB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006134/0.01421, allocations: 0.6155 MB / 299.4 MB, free: 15.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.493e-05/0.01428, allocations: 72 kB / 299.4 MB, free: 15.69 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004329/0.01472, allocations: 391.2 kB / 299.8 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002662/0.01498, allocations: 443 kB / 300.2 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.01522, allocations: 295.4 kB / 300.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007344/0.01595, allocations: 0.8836 MB / 301.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.136e-05/0.01596, allocations: 0 / 301.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01596, allocations: 0 / 301.4 MB, free: 13.7 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.341e-05/0.01598, allocations: 0 / 301.4 MB, free: 13.7 MB / 298.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.001256/0.01723, allocations: 1.371 MB / 302.8 MB, free: 12.3 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.01726, allocations: 8.031 kB / 302.8 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006642/0.01793, allocations: 313.7 kB / 303.1 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006301/0.01856, allocations: 0.5633 MB / 303.7 MB, free: 11.37 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.539e-05/0.01859, allocations: 62.36 kB / 303.7 MB, free: 11.31 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003068/0.0189, allocations: 100.6 kB / 303.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005991/0.0195, allocations: 0.6737 MB / 304.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.01952, allocations: 4 kB / 304.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.344e-05/0.01956, allocations: 35.98 kB / 304.5 MB, free: 10.45 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.574e-05/0.01966, allocations: 73.95 kB / 304.6 MB, free: 10.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003255/0.01998, allocations: 277.6 kB / 304.9 MB, free: 10.11 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002371/0.02236, allocations: 3.028 MB / 307.9 MB, free: 6.926 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002257/0.02258, allocations: 220.2 kB / 308.1 MB, free: 6.691 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001104/0.02269, allocations: 110.7 kB / 308.2 MB, free: 6.578 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.651e-05/0.02272, allocations: 8.5 kB / 308.2 MB, free: 6.57 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.02274, allocations: 39.06 kB / 308.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of pre-optimization done (n=48): time 1.553e-06/0.02275, allocations: 0 / 308.3 MB, free: 6.52 MB / 298.7 MB Notification: Performance of matching and sorting (n=51): time 0.001068/0.02381, allocations: 0.8106 MB / 309.1 MB, free: 5.684 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.506e-05/0.02385, allocations: 89.61 kB / 309.2 MB, free: 5.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002486/0.0241, allocations: 474.8 kB / 309.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.02412, allocations: 33.7 kB / 309.7 MB, free: 5.062 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001529/0.02428, allocations: 425.1 kB / 310.1 MB, free: 4.641 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.241e-05/0.02437, allocations: 202.2 kB / 310.3 MB, free: 4.441 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.02448, allocations: 138.5 kB / 310.4 MB, free: 4.301 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.0246, allocations: 382.6 kB / 310.8 MB, free: 3.918 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.02484, allocations: 69.95 kB / 310.9 MB, free: 3.848 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001862/0.02502, allocations: 301.8 kB / 311.2 MB, free: 3.457 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003412/0.02536, allocations: 475.6 kB / 311.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.02537, allocations: 0 / 311.6 MB, free: 2.887 MB / 298.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0006401/0.02601, allocations: 0.5517 MB / 312.2 MB, free: 2.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.02602, allocations: 8 kB / 312.2 MB, free: 2.312 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.02603, allocations: 8 kB / 312.2 MB, free: 2.305 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003862/0.02641, allocations: 187.1 kB / 312.4 MB, free: 2.109 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003453/0.02676, allocations: 183.7 kB / 312.5 MB, free: 1.93 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002274/0.02903, allocations: 4.091 MB / 316.6 MB, free: 13.54 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001772/0.02921, allocations: 20 kB / 316.7 MB, free: 13.52 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.686e-05/0.02924, allocations: 24 kB / 316.7 MB, free: 13.49 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * 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.0001337/0.02937, allocations: 160.4 kB / 316.8 MB, free: 13.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.997e-05/0.02943, allocations: 47.95 kB / 316.9 MB, free: 13.28 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003206/0.02975, allocations: 325 kB / 317.2 MB, free: 12.95 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.02976, allocations: 11.88 kB / 317.2 MB, free: 12.94 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.02976, allocations: 4 kB / 317.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.02976, allocations: 3.984 kB / 317.2 MB, free: 12.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009889/0.03075, allocations: 0.8247 MB / 318 MB, free: 12.06 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.03076, allocations: 4 kB / 318 MB, free: 12.05 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003773/0.03113, allocations: 154.3 kB / 318.2 MB, free: 11.91 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/0.03123, allocations: 83.53 kB / 318.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.417e-06/0.03123, allocations: 4 kB / 318.3 MB, free: 11.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.127e-05/0.03125, allocations: 12 kB / 318.3 MB, free: 11.81 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.03126, allocations: 4 kB / 318.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.03126, allocations: 8.094 kB / 318.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003967/0.03165, allocations: 0.5366 MB / 318.8 MB, free: 11.22 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/0.0317, allocations: 23.92 kB / 318.9 MB, free: 11.2 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001251/0.03182, allocations: 12 kB / 318.9 MB, free: 11.19 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.92e-05/0.03186, allocations: 36.38 kB / 318.9 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.03188, allocations: 8 kB / 318.9 MB, free: 11.14 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001286/0.03201, allocations: 208.4 kB / 319.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03201, allocations: 0 / 319.1 MB, free: 10.94 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.03237, allocations: 208 kB / 319.3 MB, free: 10.74 MB / 314.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 0.0001013/0.03247, allocations: 108.2 kB / 319.4 MB, free: 10.62 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006146/0.03308, allocations: 0.7495 MB / 320.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.053e-05/0.0331, allocations: 12.5 kB / 320.2 MB, free: 9.828 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001589/0.03326, allocations: 170.1 kB / 320.4 MB, free: 9.656 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007009/0.03396, allocations: 1.181 MB / 321.5 MB, free: 8.266 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.04628, allocations: 1.624 MB / 323.2 MB, free: 6.586 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001699/0.04645, allocations: 246.8 kB / 323.4 MB, free: 6.324 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002075/0.04666, allocations: 89.55 kB / 323.5 MB, free: 6.234 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002359/0.04689, allocations: 173.2 kB / 323.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of SimCode: time 1.012e-06/0.0469, allocations: 0 / 323.7 MB, free: 6.062 MB / 314.7 MB Notification: Performance of Templates: time 0.0119/0.0588, allocations: 8.862 MB / 332.5 MB, free: 13.35 MB / 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 -emit_protected -ignoreHideResult -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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.95625810790807]