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.00128/0.00128, allocations: 112.2 kB / 21.19 MB, free: 0.7578 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.001388/0.001388, allocations: 209.8 kB / 24.49 MB, free: 4.137 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.35/1.35, allocations: 230.6 MB / 258.3 MB, free: 8.02 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.1767/0.1767, allocations: 38.52 MB / 353.2 MB, free: 12.56 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.002001/0.002001, allocations: 71.89 kB / 493.8 MB, free: 4.387 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3223, allocations: 62.47 MB / 0.5432 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.009897/0.3322, allocations: 7.731 MB / 0.5508 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005313/0.3375, allocations: 3.057 MB / 0.5538 GB, free: 8.27 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004746/0.338, allocations: 40.72 kB / 0.5538 GB, free: 8.246 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.34, allocations: 0.7605 MB / 0.5546 GB, free: 7.656 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00174/0.3418, allocations: 0.7125 MB / 0.5553 GB, free: 7.105 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009664/0.3427, allocations: 383.1 kB / 0.5556 GB, free: 6.816 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001855/0.3446, allocations: 1.352 MB / 0.5569 GB, free: 6.062 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000869/0.3455, allocations: 0.5622 MB / 0.5575 GB, free: 5.68 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009607/0.3464, allocations: 0.5697 MB / 0.558 GB, free: 5.355 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001061/0.3475, allocations: 0.6766 MB / 0.5587 GB, free: 4.73 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001323/0.3476, allocations: 76 kB / 0.5588 GB, free: 4.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001113/0.3487, allocations: 0.5303 MB / 0.5593 GB, free: 4.125 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004776/0.3492, allocations: 458.7 kB / 0.5597 GB, free: 3.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005976/0.3498, allocations: 0.5132 MB / 0.5602 GB, free: 3.16 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001926/0.3517, allocations: 1.432 MB / 0.5616 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3517, allocations: 0 / 0.5616 GB, free: 1.723 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3517, allocations: 0 / 0.5616 GB, free: 1.723 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.515e-05/0.3518, allocations: 8 kB / 0.5616 GB, free: 1.715 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.002479/0.3542, allocations: 1.234 MB / 0.5628 GB, free: 456 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3543, allocations: 12.03 kB / 0.5629 GB, free: 444 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/0.3555, allocations: 212.1 kB / 0.5631 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00159/0.3571, allocations: 0.6776 MB / 0.5637 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.338e-05/0.3572, allocations: 65.73 kB / 0.5638 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002505/0.3574, allocations: 99.92 kB / 0.5639 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.3591, allocations: 1.096 MB / 0.565 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.248e-05/0.3591, allocations: 7.938 kB / 0.565 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.103e-05/0.3592, allocations: 35.98 kB / 0.565 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001621/0.3594, allocations: 69.95 kB / 0.5651 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001458/0.3609, allocations: 0.8704 MB / 0.5659 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005831/0.3667, allocations: 3.888 MB / 0.5697 GB, free: 9.152 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.3673, allocations: 342.7 kB / 0.57 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003995/0.3677, allocations: 258.9 kB / 0.5703 GB, free: 8.543 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.102e-05/0.3678, allocations: 12.36 kB / 0.5703 GB, free: 8.531 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.694e-05/0.3678, allocations: 39 kB / 0.5703 GB, free: 8.484 MB / 414.1 MB Notification: Performance of pre-optimization done (n=48): time 2.505e-06/0.3678, allocations: 0 / 0.5703 GB, free: 8.484 MB / 414.1 MB Notification: Performance of matching and sorting (n=51): time 0.00308/0.3709, allocations: 1.667 MB / 0.572 GB, free: 6.781 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.371, allocations: 85.55 kB / 0.572 GB, free: 6.68 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007401/0.3717, allocations: 0.586 MB / 0.5726 GB, free: 6.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.705e-05/0.3718, allocations: 33.83 kB / 0.5726 GB, free: 6.051 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003852/0.3722, allocations: 487.7 kB / 0.5731 GB, free: 5.566 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001724/0.3723, allocations: 194.4 kB / 0.5733 GB, free: 5.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002063/0.3725, allocations: 142.6 kB / 0.5734 GB, free: 5.227 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.3727, allocations: 382.8 kB / 0.5738 GB, free: 4.844 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004072/0.3731, allocations: 253.8 kB / 0.574 GB, free: 4.598 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/0.3738, allocations: 476.9 kB / 0.5745 GB, free: 4.035 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001079/0.3748, allocations: 0.7754 MB / 0.5752 GB, free: 3.164 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.695e-06/0.3748, allocations: 7.938 kB / 0.5753 GB, free: 3.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002109/0.3769, allocations: 1.029 MB / 0.5763 GB, free: 2.109 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.377, allocations: 8 kB / 0.5763 GB, free: 2.102 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00138/0.3784, allocations: 0.7102 MB / 0.577 GB, free: 1.383 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007447/0.3791, allocations: 222.4 kB / 0.5772 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005386/0.3796, allocations: 163.7 kB / 0.5773 GB, free: 0.9961 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006158/0.3858, allocations: 5.361 MB / 0.5826 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005747/0.3864, allocations: 35.97 kB / 0.5826 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.307e-05/0.3864, allocations: 35.94 kB / 0.5826 GB, free: 11.21 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.0004922/0.3869, allocations: 309.5 kB / 0.5829 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.387, allocations: 71.53 kB / 0.583 GB, free: 10.83 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001019/0.3881, allocations: 0.6046 MB / 0.5836 GB, free: 10.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.133e-06/0.3881, allocations: 8 kB / 0.5836 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-06/0.3881, allocations: 0 / 0.5836 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.807e-06/0.3881, allocations: 3.984 kB / 0.5836 GB, free: 10.21 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.3906, allocations: 1.45 MB / 0.585 GB, free: 8.688 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.3906, allocations: 4 kB / 0.585 GB, free: 8.684 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006391/0.3913, allocations: 131.9 kB / 0.5851 GB, free: 8.555 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.3913, allocations: 4 kB / 0.5851 GB, free: 8.551 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.977e-05/0.3913, allocations: 19.98 kB / 0.5852 GB, free: 8.531 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.17e-06/0.3913, allocations: 4 kB / 0.5852 GB, free: 8.527 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3913, allocations: 4 kB / 0.5852 GB, free: 8.523 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001282/0.3926, allocations: 0.944 MB / 0.5861 GB, free: 7.543 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.3929, allocations: 111.4 kB / 0.5862 GB, free: 7.434 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.898e-05/0.393, allocations: 12 kB / 0.5862 GB, free: 7.422 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003073/0.3933, allocations: 19.97 kB / 0.5862 GB, free: 7.402 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.307e-05/0.3933, allocations: 36.31 kB / 0.5863 GB, free: 7.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.99e-05/0.3934, allocations: 20 kB / 0.5863 GB, free: 7.348 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005026/0.3939, allocations: 419 kB / 0.5867 GB, free: 6.945 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3939, allocations: 3.938 kB / 0.5867 GB, free: 6.941 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0007649/0.3946, allocations: 235.9 kB / 0.5869 GB, free: 6.711 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.0002918/0.3949, allocations: 139.1 kB / 0.587 GB, free: 6.566 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001665/0.3966, allocations: 1.014 MB / 0.588 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3966, allocations: 0 / 0.588 GB, free: 5.52 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003753/0.397, allocations: 254.2 kB / 0.5883 GB, free: 5.273 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007539/0.3977, allocations: 155.6 kB / 0.5884 GB, free: 5.125 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003291/0.401, allocations: 2.146 MB / 0.5905 GB, free: 2.926 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008622/0.4019, allocations: 1.079 MB / 0.5916 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001903/0.4021, allocations: 63.42 kB / 0.5916 GB, free: 1.754 MB / 430.1 MB Notification: Performance of SimCode: time 5.91e-07/0.4021, allocations: 0 / 0.5916 GB, free: 1.754 MB / 430.1 MB Notification: Performance of Templates: time 0.02066/0.4227, allocations: 15.38 MB / 0.6067 GB, free: 2.379 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/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: 9.396630702074617]