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.001399/0.001399, allocations: 111.1 kB / 20.44 MB, free: 1.199 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.001608/0.001608, allocations: 208.2 kB / 23.72 MB, free: 4.41 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.546/1.546, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.1996/0.1996, allocations: 38.57 MB / 352.5 MB, free: 12.3 MB / 286.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.002224/0.002224, allocations: 67.89 kB / 493 MB, free: 4.188 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3714, allocations: 62.47 MB / 0.5424 GB, free: 432 kB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.01035/0.3818, allocations: 7.154 MB / 0.5494 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.006236/0.388, allocations: 2.817 MB / 0.5522 GB, free: 8.801 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000804/0.3888, allocations: 36.38 kB / 0.5522 GB, free: 8.781 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.3913, allocations: 0.7156 MB / 0.5529 GB, free: 8.238 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00265/0.3939, allocations: 0.7052 MB / 0.5536 GB, free: 7.695 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001426/0.3954, allocations: 380.3 kB / 0.554 GB, free: 7.41 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002512/0.3979, allocations: 1.355 MB / 0.5553 GB, free: 6.652 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001259/0.3991, allocations: 0.5512 MB / 0.5558 GB, free: 6.281 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.4005, allocations: 0.5749 MB / 0.5564 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.4019, allocations: 0.6461 MB / 0.557 GB, free: 5.266 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002737/0.4022, allocations: 76 kB / 0.5571 GB, free: 5.191 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001475/0.4037, allocations: 495.1 kB / 0.5576 GB, free: 4.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006647/0.4043, allocations: 454.8 kB / 0.558 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009143/0.4053, allocations: 434 kB / 0.5584 GB, free: 3.836 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002655/0.4079, allocations: 1.436 MB / 0.5598 GB, free: 2.395 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.535e-06/0.4079, allocations: 0 / 0.5598 GB, free: 2.395 MB / 398.1 MB Notification: Performance of FrontEnd: time 5.781e-06/0.4079, allocations: 3.984 kB / 0.5598 GB, free: 2.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 8.681e-05/0.408, allocations: 0 / 0.5598 GB, free: 2.391 MB / 398.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.003589/0.4116, allocations: 1.236 MB / 0.561 GB, free: 1.117 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.023e-05/0.4117, allocations: 8.031 kB / 0.561 GB, free: 1.109 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.4132, allocations: 220.1 kB / 0.5612 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/0.4151, allocations: 0.6616 MB / 0.5619 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.776e-05/0.4151, allocations: 70.31 kB / 0.562 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002465/0.4154, allocations: 99.86 kB / 0.562 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001861/0.4172, allocations: 1.096 MB / 0.5631 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.4173, allocations: 4 kB / 0.5631 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.011e-05/0.4173, allocations: 35.98 kB / 0.5632 GB, free: 14.86 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001846/0.4175, allocations: 73.91 kB / 0.5632 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/0.419, allocations: 0.8665 MB / 0.5641 GB, free: 13.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005762/0.4248, allocations: 3.514 MB / 0.5675 GB, free: 10.23 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006774/0.4254, allocations: 330.8 kB / 0.5678 GB, free: 9.895 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004333/0.4259, allocations: 268.4 kB / 0.5681 GB, free: 9.629 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.822e-05/0.4259, allocations: 8.438 kB / 0.5681 GB, free: 9.621 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.759e-05/0.4259, allocations: 39 kB / 0.5681 GB, free: 9.574 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.705e-06/0.4259, allocations: 3.938 kB / 0.5681 GB, free: 9.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.003339/0.4293, allocations: 1.664 MB / 0.5697 GB, free: 7.871 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.177e-05/0.4294, allocations: 81.55 kB / 0.5698 GB, free: 7.773 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007159/0.4301, allocations: 0.53 MB / 0.5703 GB, free: 7.234 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 5.356e-05/0.4301, allocations: 33.7 kB / 0.5704 GB, free: 7.195 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003868/0.4305, allocations: 487.7 kB / 0.5708 GB, free: 6.711 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.4307, allocations: 198.3 kB / 0.571 GB, free: 6.516 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002253/0.4309, allocations: 134.6 kB / 0.5712 GB, free: 6.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002215/0.4312, allocations: 374.8 kB / 0.5715 GB, free: 6 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004353/0.4316, allocations: 253.8 kB / 0.5718 GB, free: 5.754 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000641/0.4322, allocations: 480.8 kB / 0.5722 GB, free: 5.191 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001182/0.4334, allocations: 0.7793 MB / 0.573 GB, free: 4.316 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.798e-06/0.4334, allocations: 4 kB / 0.573 GB, free: 4.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002303/0.4357, allocations: 1.033 MB / 0.574 GB, free: 3.262 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.866e-05/0.4358, allocations: 10.97 kB / 0.574 GB, free: 3.254 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001466/0.4372, allocations: 0.7142 MB / 0.5747 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007993/0.438, allocations: 226.6 kB / 0.5749 GB, free: 2.301 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.4386, allocations: 151.7 kB / 0.5751 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00672/0.4453, allocations: 5.26 MB / 0.5802 GB, free: 12.58 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000683/0.446, allocations: 36.25 kB / 0.5802 GB, free: 12.54 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.782e-05/0.4461, allocations: 32 kB / 0.5803 GB, free: 12.51 MB / 430.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.0005912/0.4467, allocations: 309.4 kB / 0.5806 GB, free: 12.2 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002071/0.4469, allocations: 75.62 kB / 0.5806 GB, free: 12.12 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001178/0.4481, allocations: 0.6078 MB / 0.5812 GB, free: 11.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.4481, allocations: 4 kB / 0.5812 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.983e-06/0.4481, allocations: 0 / 0.5812 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.4481, allocations: 3.984 kB / 0.5812 GB, free: 11.51 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002854/0.4509, allocations: 1.287 MB / 0.5825 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.451, allocations: 4 kB / 0.5825 GB, free: 10.16 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006569/0.4516, allocations: 127.8 kB / 0.5826 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.528e-05/0.4516, allocations: 4 kB / 0.5826 GB, free: 10.03 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.4517, allocations: 19.98 kB / 0.5826 GB, free: 10.01 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.215e-06/0.4517, allocations: 7.938 kB / 0.5826 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4517, allocations: 0 / 0.5826 GB, free: 10 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001482/0.4532, allocations: 0.9325 MB / 0.5836 GB, free: 9.035 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003661/0.4535, allocations: 107.5 kB / 0.5837 GB, free: 8.93 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001231/0.4537, allocations: 12 kB / 0.5837 GB, free: 8.918 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.454, allocations: 19.98 kB / 0.5837 GB, free: 8.898 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.367e-05/0.4541, allocations: 40.31 kB / 0.5837 GB, free: 8.859 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.175e-05/0.4541, allocations: 12 kB / 0.5837 GB, free: 8.848 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005063/0.4546, allocations: 366.8 kB / 0.5841 GB, free: 8.492 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4546, allocations: 0 / 0.5841 GB, free: 8.492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009283/0.4556, allocations: 231.9 kB / 0.5843 GB, free: 8.266 MB / 430.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.0003487/0.4559, allocations: 139.1 kB / 0.5844 GB, free: 8.121 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001919/0.4578, allocations: 1.01 MB / 0.5854 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/0.4578, allocations: 0 / 0.5854 GB, free: 7.078 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004075/0.4582, allocations: 251.6 kB / 0.5857 GB, free: 6.836 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.4591, allocations: 145.2 kB / 0.5858 GB, free: 6.699 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.4628, allocations: 2.056 MB / 0.5878 GB, free: 4.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006483/0.4635, allocations: 490.5 kB / 0.5883 GB, free: 4.082 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.00052/0.464, allocations: 181.4 kB / 0.5885 GB, free: 3.902 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001793/0.4642, allocations: 59.42 kB / 0.5885 GB, free: 3.844 MB / 430.1 MB Notification: Performance of SimCode: time 5.11e-07/0.4642, allocations: 0 / 0.5885 GB, free: 3.844 MB / 430.1 MB Notification: Performance of Templates: time 0.02039/0.4846, allocations: 9.811 MB / 0.5981 GB, free: 10.14 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 -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: 5.717822842299938]