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.0013/0.0013, allocations: 84.55 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001466/0.001466, allocations: 168 kB / 23.95 MB, free: 4.16 MB / 14.72 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.42/1.42, allocations: 177.1 MB / 204.3 MB, free: 9.199 MB / 190.1 MB " [Timeout remaining time 178] 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.1702/0.1702, allocations: 29.43 MB / 290.1 MB, free: 3.305 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.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.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",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.1.|sensor.p.2.|sensor.p.3.|sensor1.p.1.|sensor1.p.2.|sensor1.p.3.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.293e-06/1.293e-06, allocations: 0 / 430.7 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.148e-05, allocations: 2.281 kB / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008362/0.008383, allocations: 7.092 MB / 437.8 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.004666/0.01305, allocations: 2.82 MB / 440.6 MB, free: 7.988 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000354/0.0134, allocations: 35.69 kB / 440.7 MB, free: 7.953 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001911/0.01531, allocations: 0.7231 MB / 441.4 MB, free: 7.227 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001571/0.01689, allocations: 0.7303 MB / 442.1 MB, free: 6.492 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009174/0.0178, allocations: 398.3 kB / 442.5 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.001706/0.01951, allocations: 1.383 MB / 443.9 MB, free: 4.719 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000784/0.02029, allocations: 0.5451 MB / 444.4 MB, free: 4.16 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009678/0.02126, allocations: 0.7634 MB / 445.2 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008807/0.02214, allocations: 0.5844 MB / 445.8 MB, free: 2.809 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.02227, allocations: 76 kB / 445.9 MB, free: 2.734 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008914/0.02317, allocations: 0.495 MB / 446.4 MB, free: 2.238 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004525/0.02362, allocations: 482.7 kB / 446.8 MB, free: 1.766 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004432/0.02406, allocations: 363.2 kB / 447.2 MB, free: 1.41 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.186/0.2101, allocations: 1.436 MB / 448.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/0.2101, allocations: 0 / 448.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.2101, allocations: 0.5938 kB / 448.6 MB, free: 17.93 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.607e-05/0.2102, allocations: 0 / 448.6 MB, free: 17.93 MB / 366.1 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.002752/0.2129, allocations: 1.227 MB / 449.9 MB, free: 17.36 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.213, allocations: 16.27 kB / 449.9 MB, free: 17.36 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001376/0.2144, allocations: 227.1 kB / 450.1 MB, free: 17.3 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001677/0.216, allocations: 0.6662 MB / 450.8 MB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/0.2161, allocations: 60.06 kB / 450.8 MB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002746/0.2164, allocations: 103 kB / 450.9 MB, free: 17.05 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.2182, allocations: 1.1 MB / 452 MB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.205e-05/0.2182, allocations: 2.219 kB / 452 MB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.802e-05/0.2183, allocations: 38.62 kB / 452.1 MB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/0.2185, allocations: 75.92 kB / 452.1 MB, free: 16.88 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001434/0.2199, allocations: 0.8648 MB / 453 MB, free: 16.87 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004979/0.2249, allocations: 3.509 MB / 456.5 MB, free: 15.14 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006256/0.2255, allocations: 335.9 kB / 456.8 MB, free: 15.09 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003969/0.2259, allocations: 260.5 kB / 457.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.352e-05/0.226, allocations: 12.94 kB / 457.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.226, allocations: 42.78 kB / 457.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of pre-optimization done (n=48): time 3.176e-06/0.226, allocations: 0 / 457.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=51): time 0.003414/0.2294, allocations: 1.662 MB / 458.8 MB, free: 14.56 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.2295, allocations: 87.75 kB / 458.9 MB, free: 14.46 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006652/0.2301, allocations: 0.5236 MB / 459.4 MB, free: 14.33 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.2302, allocations: 34.42 kB / 459.4 MB, free: 14.3 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002634/0.2304, allocations: 495.2 kB / 459.9 MB, free: 14.01 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2306, allocations: 198.8 kB / 460.1 MB, free: 13.86 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.2308, allocations: 137.5 kB / 460.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.95e-05/0.2309, allocations: 372.4 kB / 460.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003888/0.2312, allocations: 252.3 kB / 460.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004817/0.2317, allocations: 475.4 kB / 461.3 MB, free: 13.02 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009764/0.2327, allocations: 0.7804 MB / 462.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.2327, allocations: 3.781 kB / 462.1 MB, free: 12.54 MB / 366.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002071/0.2348, allocations: 1.03 MB / 463.1 MB, free: 12.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.291e-05/0.2348, allocations: 8.078 kB / 463.2 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00138/0.2362, allocations: 0.7116 MB / 463.9 MB, free: 11.93 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007707/0.237, allocations: 223.2 kB / 464.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.2375, allocations: 155.1 kB / 464.2 MB, free: 11.87 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.2422, allocations: 5.256 MB / 469.5 MB, free: 7.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006024/0.2428, allocations: 43.22 kB / 469.5 MB, free: 7.633 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.494e-05/0.2429, allocations: 33.08 kB / 469.6 MB, free: 7.625 MB / 366.1 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.0004692/0.2434, allocations: 309.2 kB / 469.9 MB, free: 7.434 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001076/0.2435, allocations: 65.11 kB / 469.9 MB, free: 7.398 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009642/0.2444, allocations: 0.6082 MB / 470.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.662e-06/0.2445, allocations: 6.312 kB / 470.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.285e-06/0.2445, allocations: 1 kB / 470.5 MB, free: 7.137 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.2445, allocations: 7.125 kB / 470.6 MB, free: 7.133 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002257/0.2467, allocations: 1.284 MB / 471.8 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/0.2467, allocations: 5.156 kB / 471.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000623/0.2473, allocations: 127.8 kB / 472 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.232e-06/0.2474, allocations: 3.094 kB / 472 MB, free: 6.531 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.995e-05/0.2474, allocations: 16.55 kB / 472 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-06/0.2474, allocations: 3.875 kB / 472 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.2474, allocations: 6.5 kB / 472 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0011/0.2485, allocations: 0.9248 MB / 472.9 MB, free: 6.051 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.2487, allocations: 113.8 kB / 473 MB, free: 5.996 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.912e-05/0.2488, allocations: 14.75 kB / 473.1 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003201/0.2491, allocations: 21.56 kB / 473.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.383e-05/0.2492, allocations: 35.88 kB / 473.1 MB, free: 5.977 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.234e-05/0.2492, allocations: 17.97 kB / 473.1 MB, free: 5.969 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000387/0.2496, allocations: 366.5 kB / 473.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2496, allocations: 0 / 473.5 MB, free: 5.809 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009257/0.2506, allocations: 233.7 kB / 473.7 MB, free: 5.781 MB / 366.1 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.0002812/0.2508, allocations: 147.8 kB / 473.9 MB, free: 5.676 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.2524, allocations: 1.008 MB / 474.9 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.2524, allocations: 3.719 kB / 474.9 MB, free: 5.148 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.2527, allocations: 252.8 kB / 475.1 MB, free: 5.074 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007504/0.2535, allocations: 134 kB / 475.2 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002698/0.2562, allocations: 1.874 MB / 477.1 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004938/0.2567, allocations: 487.6 kB / 477.6 MB, free: 3.875 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0004455/0.2571, allocations: 186.7 kB / 477.8 MB, free: 3.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.2573, allocations: 61.27 kB / 477.8 MB, free: 3.828 MB / 366.1 MB Notification: Performance of SimCode: time 7.01e-07/0.2573, allocations: 0 / 477.8 MB, free: 3.828 MB / 366.1 MB Notification: Performance of Templates: time 0.01537/0.2727, allocations: 8.551 MB / 486.4 MB, free: 14.92 MB / 382.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.855189710855484]