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.001291/0.001291, allocations: 69.72 kB / 21.24 MB, free: 0.5547 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.001346/0.001346, allocations: 161.9 kB / 24.5 MB, free: 3.711 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.448/1.448, allocations: 177.2 MB / 204.9 MB, free: 8.996 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.1727/0.1727, allocations: 29.43 MB / 290.7 MB, free: 3.27 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002337/0.002337, allocations: 63.91 kB / 431.2 MB, free: 3.203 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3145, allocations: 62.44 MB / 493.6 MB, free: 37.76 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.006353/0.3208, allocations: 7.154 MB / 0.4891 GB, free: 32.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003541/0.3244, allocations: 2.822 MB / 0.4918 GB, free: 31.09 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003502/0.3247, allocations: 39.09 kB / 0.4919 GB, free: 31.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001722/0.3265, allocations: 0.7157 MB / 0.4926 GB, free: 30.67 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001546/0.328, allocations: 0.7066 MB / 0.4932 GB, free: 30.29 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009031/0.3289, allocations: 383.3 kB / 0.4936 GB, free: 30.11 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001367/0.3303, allocations: 1.347 MB / 0.4949 GB, free: 29.53 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005917/0.3309, allocations: 0.552 MB / 0.4955 GB, free: 29.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005558/0.3314, allocations: 0.5748 MB / 0.496 GB, free: 29 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008026/0.3322, allocations: 0.6413 MB / 0.4967 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001122/0.3323, allocations: 75.41 kB / 0.4967 GB, free: 28.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008174/0.3332, allocations: 495.2 kB / 0.4972 GB, free: 28.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003198/0.3335, allocations: 460 kB / 0.4976 GB, free: 28.5 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003846/0.3339, allocations: 436.8 kB / 0.4981 GB, free: 28.29 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001241/0.3351, allocations: 1.437 MB / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.647e-06/0.3351, allocations: 0 / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3351, allocations: 0 / 0.4995 GB, free: 27.79 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.996e-05/0.3351, allocations: 0 / 0.4995 GB, free: 27.79 MB / 446.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.001871/0.337, allocations: 1.238 MB / 0.5007 GB, free: 27 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.079e-05/0.337, allocations: 9.562 kB / 0.5007 GB, free: 27 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0012/0.3382, allocations: 228.4 kB / 0.5009 GB, free: 26.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001341/0.3396, allocations: 0.6632 MB / 0.5015 GB, free: 26.56 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.729e-05/0.3396, allocations: 66.67 kB / 0.5016 GB, free: 26.53 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002032/0.3398, allocations: 105.7 kB / 0.5017 GB, free: 26.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.3411, allocations: 1.099 MB / 0.5028 GB, free: 26.01 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.348e-05/0.3411, allocations: 6.938 kB / 0.5028 GB, free: 26 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.963e-05/0.3412, allocations: 30.59 kB / 0.5028 GB, free: 25.98 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001536/0.3414, allocations: 69.69 kB / 0.5029 GB, free: 25.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.3425, allocations: 0.869 MB / 0.5037 GB, free: 25.7 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003939/0.3465, allocations: 3.525 MB / 0.5072 GB, free: 23.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.347, allocations: 335.7 kB / 0.5075 GB, free: 23.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002904/0.3472, allocations: 258.8 kB / 0.5077 GB, free: 23.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.3473, allocations: 14.31 kB / 0.5078 GB, free: 23.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3473, allocations: 38.06 kB / 0.5078 GB, free: 23.01 MB / 446.1 MB Notification: Performance of pre-optimization done (n=48): time 2.024e-06/0.3473, allocations: 0 / 0.5078 GB, free: 23.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=51): time 0.002376/0.3497, allocations: 1.664 MB / 0.5094 GB, free: 22.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.139e-05/0.3497, allocations: 83.52 kB / 0.5095 GB, free: 22.07 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004483/0.3502, allocations: 0.5209 MB / 0.51 GB, free: 21.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.984e-05/0.3502, allocations: 37.2 kB / 0.51 GB, free: 21.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.3504, allocations: 493.4 kB / 0.5105 GB, free: 21.4 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.668e-05/0.3505, allocations: 199.8 kB / 0.5107 GB, free: 21.24 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001584/0.3506, allocations: 137.1 kB / 0.5108 GB, free: 21.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.3507, allocations: 374.3 kB / 0.5112 GB, free: 20.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.351, allocations: 249.2 kB / 0.5114 GB, free: 20.75 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003834/0.3514, allocations: 474.4 kB / 0.5119 GB, free: 20.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008687/0.3523, allocations: 0.7845 MB / 0.5126 GB, free: 19.9 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/0.3523, allocations: 1.344 kB / 0.5126 GB, free: 19.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001802/0.3541, allocations: 1.034 MB / 0.5137 GB, free: 19.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.3541, allocations: 9.062 kB / 0.5137 GB, free: 19.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001223/0.3553, allocations: 0.7099 MB / 0.5144 GB, free: 19.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006888/0.356, allocations: 223.6 kB / 0.5146 GB, free: 19.16 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005153/0.3565, allocations: 161.4 kB / 0.5147 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004279/0.3608, allocations: 5.257 MB / 0.5199 GB, free: 14.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005483/0.3614, allocations: 40.81 kB / 0.5199 GB, free: 14.85 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.175e-05/0.3614, allocations: 28.91 kB / 0.5199 GB, free: 14.85 MB / 446.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.0003851/0.3618, allocations: 311 kB / 0.5202 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001202/0.3619, allocations: 69.14 kB / 0.5203 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008625/0.3628, allocations: 0.6058 MB / 0.5209 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.3628, allocations: 5.781 kB / 0.5209 GB, free: 14.35 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.3628, allocations: 7.875 kB / 0.5209 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.692e-06/0.3628, allocations: 4.031 kB / 0.5209 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002095/0.3649, allocations: 1.287 MB / 0.5222 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.3649, allocations: 1.875 kB / 0.5222 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006222/0.3655, allocations: 128.5 kB / 0.5223 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.3655, allocations: 3.938 kB / 0.5223 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.9e-05/0.3656, allocations: 15.92 kB / 0.5223 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.58e-06/0.3656, allocations: 4.344 kB / 0.5223 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.3656, allocations: 1.672 kB / 0.5223 GB, free: 13.69 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001165/0.3667, allocations: 0.9361 MB / 0.5232 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002351/0.367, allocations: 103.5 kB / 0.5233 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.157e-05/0.3671, allocations: 11.92 kB / 0.5233 GB, free: 13.16 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.3674, allocations: 22.17 kB / 0.5233 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.391e-05/0.3674, allocations: 38.61 kB / 0.5234 GB, free: 13.14 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.3675, allocations: 19.75 kB / 0.5234 GB, free: 13.13 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004198/0.3679, allocations: 364.3 kB / 0.5237 GB, free: 12.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3679, allocations: 1.5 kB / 0.5238 GB, free: 12.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0008874/0.3688, allocations: 230.6 kB / 0.524 GB, free: 12.95 MB / 446.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.00024/0.369, allocations: 147.7 kB / 0.5241 GB, free: 12.83 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001542/0.3706, allocations: 1.019 MB / 0.5251 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.3706, allocations: 0 / 0.5251 GB, free: 12.27 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003536/0.3709, allocations: 255.8 kB / 0.5254 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007488/0.3717, allocations: 137 kB / 0.5255 GB, free: 12.12 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002886/0.3746, allocations: 2.056 MB / 0.5275 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005474/0.3751, allocations: 489 kB / 0.528 GB, free: 10.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004678/0.3756, allocations: 190.6 kB / 0.5281 GB, free: 10.76 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001629/0.3757, allocations: 54.75 kB / 0.5282 GB, free: 10.75 MB / 446.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3757, allocations: 1.219 kB / 0.5282 GB, free: 10.75 MB / 446.1 MB Notification: Performance of Templates: time 0.01889/0.3946, allocations: 8.58 MB / 0.5366 GB, free: 9.727 MB / 446.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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","/var/lib/jenkins1/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: 5.183232171926647]