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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001827/0.001827, allocations: 112.2 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002211/0.002211, allocations: 196.4 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 225.6 MB / 250.8 MB, free: 13.36 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1782/0.1782, allocations: 38.52 MB / 344.5 MB, free: 2.574 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001871/0.001871, allocations: 67.89 kB / 482.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3246, allocations: 61.23 MB / 0.5306 GB, free: 5.504 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007749/0.3323, allocations: 7.707 MB / 0.5381 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.005319/0.3376, allocations: 2.995 MB / 0.541 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/0.3381, allocations: 29.12 kB / 0.541 GB, free: 13.57 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002239/0.3403, allocations: 0.7537 MB / 0.5418 GB, free: 12.99 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.3421, allocations: 0.7094 MB / 0.5425 GB, free: 12.44 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009636/0.343, allocations: 369.6 kB / 0.5428 GB, free: 12.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001623/0.3447, allocations: 1.361 MB / 0.5442 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006939/0.3454, allocations: 488.9 kB / 0.5446 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007328/0.3461, allocations: 0.5663 MB / 0.5452 GB, free: 10.75 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008904/0.347, allocations: 0.6708 MB / 0.5458 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001106/0.3471, allocations: 78.81 kB / 0.5459 GB, free: 10.34 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000881/0.348, allocations: 0.4961 MB / 0.5464 GB, free: 10.1 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004424/0.3484, allocations: 455.4 kB / 0.5468 GB, free: 9.816 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005586/0.349, allocations: 0.5108 MB / 0.5473 GB, free: 9.48 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001714/0.3507, allocations: 1.425 MB / 0.5487 GB, free: 8.555 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.3507, allocations: 1.438 kB / 0.5487 GB, free: 8.555 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.3507, allocations: 0 / 0.5487 GB, free: 8.555 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.3507, allocations: 0 / 0.5487 GB, free: 8.555 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.002363/0.3531, allocations: 1.312 MB / 0.55 GB, free: 7.543 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3531, allocations: 13.27 kB / 0.55 GB, free: 7.539 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/0.3544, allocations: 216.7 kB / 0.5502 GB, free: 7.434 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001483/0.3558, allocations: 0.7446 MB / 0.5509 GB, free: 6.875 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.35e-05/0.3559, allocations: 63.23 kB / 0.551 GB, free: 6.844 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000248/0.3561, allocations: 100.8 kB / 0.5511 GB, free: 6.805 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001707/0.3579, allocations: 1.094 MB / 0.5522 GB, free: 6.125 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.253e-05/0.3579, allocations: 7.141 kB / 0.5522 GB, free: 6.121 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-05/0.358, allocations: 31.69 kB / 0.5522 GB, free: 6.098 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/0.3581, allocations: 74.36 kB / 0.5523 GB, free: 6.074 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001435/0.3596, allocations: 0.872 MB / 0.5531 GB, free: 5.344 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005484/0.3651, allocations: 3.986 MB / 0.557 GB, free: 1.152 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007158/0.3658, allocations: 407.8 kB / 0.5574 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.3662, allocations: 266.9 kB / 0.5577 GB, free: 460 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.849e-05/0.3662, allocations: 12.42 kB / 0.5577 GB, free: 448 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.863e-05/0.3663, allocations: 46.98 kB / 0.5577 GB, free: 392 kB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.394e-06/0.3663, allocations: 0 / 0.5577 GB, free: 392 kB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003153/0.3694, allocations: 1.731 MB / 0.5594 GB, free: 14.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.002e-05/0.3695, allocations: 85.55 kB / 0.5595 GB, free: 14.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007709/0.3703, allocations: 0.5977 MB / 0.5601 GB, free: 13.89 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.414e-05/0.3703, allocations: 29.7 kB / 0.5601 GB, free: 13.86 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003696/0.3707, allocations: 483.7 kB / 0.5606 GB, free: 13.38 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/0.3708, allocations: 194.3 kB / 0.5608 GB, free: 13.19 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002192/0.3711, allocations: 138.6 kB / 0.5609 GB, free: 13.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002123/0.3713, allocations: 382.8 kB / 0.5613 GB, free: 12.66 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003968/0.3717, allocations: 253.8 kB / 0.5615 GB, free: 12.41 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006311/0.3723, allocations: 476.9 kB / 0.5619 GB, free: 11.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/0.3735, allocations: 0.7702 MB / 0.5627 GB, free: 10.98 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.3735, allocations: 4 kB / 0.5627 GB, free: 10.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002049/0.3755, allocations: 1.107 MB / 0.5638 GB, free: 9.836 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.196e-05/0.3755, allocations: 8 kB / 0.5638 GB, free: 9.828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001425/0.377, allocations: 0.7914 MB / 0.5646 GB, free: 9.012 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007665/0.3777, allocations: 218.3 kB / 0.5648 GB, free: 8.789 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000556/0.3783, allocations: 155.7 kB / 0.5649 GB, free: 8.637 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006904/0.3852, allocations: 5.681 MB / 0.5705 GB, free: 2.531 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007681/0.386, allocations: 35.97 kB / 0.5705 GB, free: 2.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.632e-05/0.386, allocations: 32 kB / 0.5705 GB, free: 2.465 MB / 414.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.0005763/0.3866, allocations: 309.4 kB / 0.5708 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001281/0.3867, allocations: 71.53 kB / 0.5709 GB, free: 2.082 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/0.3878, allocations: 0.6008 MB / 0.5715 GB, free: 1.469 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3878, allocations: 8 kB / 0.5715 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.733e-06/0.3878, allocations: 0 / 0.5715 GB, free: 1.461 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.754e-06/0.3878, allocations: 3.984 kB / 0.5715 GB, free: 1.457 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002729/0.3905, allocations: 1.49 MB / 0.573 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.3905, allocations: 0 / 0.573 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006225/0.3911, allocations: 131.9 kB / 0.5731 GB, free: 15.77 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.897e-06/0.3911, allocations: 4 kB / 0.5731 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.507e-05/0.3912, allocations: 11.94 kB / 0.5731 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/0.3912, allocations: 7.938 kB / 0.5731 GB, free: 15.74 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3912, allocations: 8.156 kB / 0.5731 GB, free: 15.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0013/0.3925, allocations: 0.9442 MB / 0.574 GB, free: 14.75 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002947/0.3928, allocations: 192.5 kB / 0.5742 GB, free: 14.54 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.245e-05/0.3929, allocations: 16 kB / 0.5742 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003118/0.3932, allocations: 15.98 kB / 0.5742 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.897e-05/0.3933, allocations: 32.39 kB / 0.5743 GB, free: 14.48 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-05/0.3933, allocations: 16 kB / 0.5743 GB, free: 14.46 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0005229/0.3938, allocations: 423 kB / 0.5747 GB, free: 14.06 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3938, allocations: 0 / 0.5747 GB, free: 14.06 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0009431/0.3948, allocations: 231.9 kB / 0.5749 GB, free: 13.83 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.0003312/0.3951, allocations: 150.6 kB / 0.5751 GB, free: 13.68 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.3968, allocations: 1.011 MB / 0.576 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3968, allocations: 0 / 0.576 GB, free: 12.63 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003661/0.3972, allocations: 254.6 kB / 0.5763 GB, free: 12.39 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008062/0.398, allocations: 156.3 kB / 0.5764 GB, free: 12.24 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003347/0.4013, allocations: 2.085 MB / 0.5785 GB, free: 10.11 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.4021, allocations: 1.079 MB / 0.5795 GB, free: 8.996 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0004722/0.4025, allocations: 189.9 kB / 0.5797 GB, free: 8.809 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001679/0.4027, allocations: 59.42 kB / 0.5798 GB, free: 8.75 MB / 430.1 MB Notification: Performance of SimCode: time 7.82e-07/0.4027, allocations: 0 / 0.5798 GB, free: 8.75 MB / 430.1 MB Notification: Performance of Templates: time 0.01904/0.4218, allocations: 9.752 MB / 0.5893 GB, free: 15.06 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.196513729169965]