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.001472/0.001472, allocations: 80.92 kB / 21.49 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.001856/0.001856, allocations: 169.9 kB / 24.91 MB, free: 8.723 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.017/1.017, allocations: 177.1 MB / 205.3 MB, free: 5.121 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.2618/0.2618, allocations: 29.42 MB / 291.2 MB, free: 2.445 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 2.555e-06/2.555e-06, allocations: 0 / 316.9 MB, free: 32 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/3.829e-05, allocations: 2.312 kB / 316.9 MB, free: 28 kB / 282.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01001/0.01004, allocations: 6.613 MB / 323.5 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005444/0.01549, allocations: 2.79 MB / 326.3 MB, free: 6.586 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.01596, allocations: 35.69 kB / 326.3 MB, free: 6.551 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001136/0.0171, allocations: 0.5947 MB / 326.9 MB, free: 5.953 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001254/0.01835, allocations: 0.7187 MB / 327.6 MB, free: 5.23 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000913/0.01926, allocations: 395.5 kB / 328 MB, free: 4.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001112/0.02037, allocations: 1.36 MB / 329.4 MB, free: 3.477 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005325/0.02091, allocations: 0.5919 MB / 329.9 MB, free: 2.867 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006486/0.02156, allocations: 0.8105 MB / 330.8 MB, free: 2.055 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006707/0.02223, allocations: 0.5727 MB / 331.3 MB, free: 1.48 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.849e-05/0.0223, allocations: 76 kB / 331.4 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.02277, allocations: 383.2 kB / 331.8 MB, free: 1.031 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002957/0.02307, allocations: 482.8 kB / 332.2 MB, free: 0.5547 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002618/0.02333, allocations: 359.2 kB / 332.6 MB, free: 208 kB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007753/0.0241, allocations: 0.9343 MB / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.02411, allocations: 0 / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.02411, allocations: 0 / 333.5 MB, free: 15.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.02412, allocations: 0 / 333.5 MB, free: 15.27 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.001179/0.02529, allocations: 1.148 MB / 334.7 MB, free: 14.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.258e-05/0.02533, allocations: 15.98 kB / 334.7 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/0.02636, allocations: 224.7 kB / 334.9 MB, free: 13.85 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006109/0.02697, allocations: 0.5595 MB / 335.5 MB, free: 13.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.02701, allocations: 66.3 kB / 335.5 MB, free: 13.2 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001428/0.02715, allocations: 104.6 kB / 335.6 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006014/0.02775, allocations: 0.6688 MB / 336.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/0.02777, allocations: 7.938 kB / 336.3 MB, free: 12.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.703e-05/0.02782, allocations: 32 kB / 336.3 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.982e-05/0.02791, allocations: 69.95 kB / 336.4 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003582/0.02827, allocations: 281.6 kB / 336.7 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.03066, allocations: 3.017 MB / 339.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002327/0.03089, allocations: 229 kB / 339.9 MB, free: 8.586 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.031, allocations: 106.7 kB / 340 MB, free: 8.477 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.03103, allocations: 8.5 kB / 340 MB, free: 8.469 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.03105, allocations: 39.06 kB / 340.1 MB, free: 8.422 MB / 314.7 MB Notification: Performance of pre-optimization done (n=48): time 1.783e-06/0.03106, allocations: 0 / 340.1 MB, free: 8.422 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001185/0.03224, allocations: 0.7989 MB / 340.9 MB, free: 7.59 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.03229, allocations: 89.55 kB / 341 MB, free: 7.484 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003097/0.0326, allocations: 470.8 kB / 341.4 MB, free: 7.012 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.112e-05/0.03263, allocations: 41.83 kB / 341.5 MB, free: 6.965 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001867/0.03282, allocations: 432.9 kB / 341.9 MB, free: 6.535 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006039/0.03342, allocations: 190.4 kB / 342.1 MB, free: 6.348 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001228/0.03355, allocations: 134.5 kB / 342.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.00012/0.03367, allocations: 382.6 kB / 342.6 MB, free: 5.828 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.03376, allocations: 65.97 kB / 342.6 MB, free: 5.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000198/0.03395, allocations: 296.9 kB / 342.9 MB, free: 5.375 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003523/0.03431, allocations: 445 kB / 343.4 MB, free: 4.84 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.03431, allocations: 7.984 kB / 343.4 MB, free: 4.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.0007309/0.03504, allocations: 0.5536 MB / 343.9 MB, free: 4.262 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.295e-05/0.03506, allocations: 12.48 kB / 343.9 MB, free: 4.25 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004378/0.0355, allocations: 324 kB / 344.3 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000434/0.03594, allocations: 178.9 kB / 344.4 MB, free: 3.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.03621, allocations: 147.8 kB / 344.6 MB, free: 3.59 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002842/0.03905, allocations: 4.08 MB / 348.7 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004779/0.03953, allocations: 24 kB / 348.7 MB, free: 15.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.624e-05/0.03957, allocations: 28 kB / 348.7 MB, free: 15.16 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.0002409/0.03981, allocations: 156.5 kB / 348.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.035e-05/0.03989, allocations: 59.88 kB / 348.9 MB, free: 14.94 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003512/0.04024, allocations: 316.9 kB / 349.2 MB, free: 14.62 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.04024, allocations: 8 kB / 349.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.273e-06/0.04025, allocations: 0 / 349.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.04025, allocations: 3.984 kB / 349.2 MB, free: 14.61 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.04136, allocations: 0.8247 MB / 350.1 MB, free: 13.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.92e-06/0.04137, allocations: 3.984 kB / 350.1 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003099/0.04168, allocations: 115.8 kB / 350.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.04168, allocations: 4 kB / 350.2 MB, free: 13.62 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.091e-05/0.04171, allocations: 24.14 kB / 350.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.04172, allocations: 4 kB / 350.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.04172, allocations: 0 / 350.2 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005036/0.04222, allocations: 0.5405 MB / 350.8 MB, free: 13.01 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.04235, allocations: 79.55 kB / 350.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.0424, allocations: 19.98 kB / 350.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.04253, allocations: 11.94 kB / 350.9 MB, free: 12.9 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.484e-05/0.04257, allocations: 36.38 kB / 350.9 MB, free: 12.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-05/0.04259, allocations: 16 kB / 350.9 MB, free: 12.85 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001714/0.04276, allocations: 208.4 kB / 351.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.04276, allocations: 0 / 351.1 MB, free: 12.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000573/0.04334, allocations: 204 kB / 351.3 MB, free: 12.45 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 0.0001514/0.04349, allocations: 100.2 kB / 351.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008061/0.04429, allocations: 0.7411 MB / 352.2 MB, free: 11.56 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.852e-05/0.04431, allocations: 8.5 kB / 352.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001379/0.04445, allocations: 140.9 kB / 352.3 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.04494, allocations: 140.8 kB / 352.4 MB, free: 11.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002338/0.04727, allocations: 1.584 MB / 354 MB, free: 9.645 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001807/0.04745, allocations: 242.8 kB / 354.3 MB, free: 9.387 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002296/0.04768, allocations: 89.42 kB / 354.4 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002342/0.04792, allocations: 173.3 kB / 354.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of SimCode: time 1.412e-06/0.04792, allocations: 0 / 354.5 MB, free: 9.125 MB / 330.7 MB Notification: Performance of Templates: time 0.01359/0.06151, allocations: 8.71 MB / 363.2 MB, free: 0.5664 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 -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.4130651019513607]