Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.002669/0.002669, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.003117/0.003117, allocations: 165.3 kB / 24.28 MB, free: 152 kB / 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.562/1.562, allocations: 177.1 MB / 204.6 MB, free: 5.629 MB / 186.7 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.3014/0.3014, allocations: 29.42 MB / 290.5 MB, free: 2.43 MB / 266.7 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|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.TurbineGeneratorLine") translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|busbar.alpha_v|busbar1.alpha_v|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.TurbineGeneratorLine") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.713e-06/1.713e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.82e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01394/0.01397, allocations: 9.476 MB / 378.4 MB, free: 1.809 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.006707/0.02068, allocations: 3.529 MB / 381.9 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005635/0.02124, allocations: 43.62 kB / 381.9 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002999/0.02424, allocations: 1.108 MB / 383 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002469/0.02671, allocations: 0.9207 MB / 384 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001336/0.02804, allocations: 0.5025 MB / 384.5 MB, free: 11.68 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002557/0.0306, allocations: 1.85 MB / 386.3 MB, free: 9.828 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001243/0.03184, allocations: 0.7394 MB / 387.1 MB, free: 9.066 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001628/0.03347, allocations: 1.048 MB / 388.1 MB, free: 8.016 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001469/0.03494, allocations: 0.861 MB / 389 MB, free: 7.152 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002269/0.03517, allocations: 111.9 kB / 389.1 MB, free: 7.043 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001413/0.03658, allocations: 0.5847 MB / 389.7 MB, free: 6.457 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008078/0.03739, allocations: 0.6858 MB / 390.4 MB, free: 5.77 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007943/0.03818, allocations: 0.4911 MB / 390.8 MB, free: 5.277 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00291/0.04109, allocations: 1.947 MB / 392.8 MB, free: 3.324 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.484e-06/0.0411, allocations: 0 / 392.8 MB, free: 3.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.0411, allocations: 4 kB / 392.8 MB, free: 3.32 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.894e-05/0.04114, allocations: 3.984 kB / 392.8 MB, free: 3.316 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.003955/0.0451, allocations: 1.792 MB / 394.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.04514, allocations: 11.98 kB / 394.6 MB, free: 1.469 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002117/0.04726, allocations: 427.7 kB / 395 MB, free: 1.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002391/0.04965, allocations: 0.8916 MB / 395.9 MB, free: 132 kB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.441e-05/0.04973, allocations: 86.41 kB / 396 MB, free: 44 kB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003651/0.0501, allocations: 135.9 kB / 396.1 MB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00215/0.05225, allocations: 1.088 MB / 397.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.05229, allocations: 0 / 397.2 MB, free: 14.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000113/0.0524, allocations: 44 kB / 397.3 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003373/0.05274, allocations: 102.1 kB / 397.4 MB, free: 14.59 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001516/0.05425, allocations: 0.637 MB / 398 MB, free: 13.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009004/0.06326, allocations: 5.175 MB / 403.2 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00081/0.06407, allocations: 370 kB / 403.5 MB, free: 8.145 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004394/0.06451, allocations: 221.3 kB / 403.7 MB, free: 7.918 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.091e-05/0.06457, allocations: 16.64 kB / 403.8 MB, free: 7.902 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/0.06462, allocations: 49.98 kB / 403.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=67): time 2.414e-06/0.06462, allocations: 0 / 403.8 MB, free: 7.844 MB / 378.7 MB Notification: Performance of matching and sorting (n=74): time 0.00642/0.07104, allocations: 2.314 MB / 406.1 MB, free: 5.477 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.706e-05/0.07112, allocations: 85.77 kB / 406.2 MB, free: 5.375 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001126/0.07224, allocations: 0.8273 MB / 407 MB, free: 4.535 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.0723, allocations: 33.7 kB / 407.1 MB, free: 4.496 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000629/0.07293, allocations: 0.7054 MB / 407.8 MB, free: 3.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003095/0.07324, allocations: 301.7 kB / 408.1 MB, free: 3.484 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003386/0.07357, allocations: 208.3 kB / 408.3 MB, free: 3.273 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0004494/0.07402, allocations: 0.6328 MB / 408.9 MB, free: 2.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004151/0.07444, allocations: 181.9 kB / 409.1 MB, free: 2.453 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000836/0.07528, allocations: 0.6011 MB / 409.7 MB, free: 1.684 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001362/0.07664, allocations: 0.8807 MB / 410.6 MB, free: 0.6406 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/0.07665, allocations: 4 kB / 410.6 MB, free: 0.6367 MB / 378.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003104/0.07975, allocations: 1.237 MB / 411.8 MB, free: 15.38 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.614e-05/0.07977, allocations: 15.94 kB / 411.8 MB, free: 15.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002312/0.08209, allocations: 0.8366 MB / 412.7 MB, free: 14.51 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002398/0.08449, allocations: 0.5597 MB / 413.2 MB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006677/0.08515, allocations: 171.7 kB / 413.4 MB, free: 13.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/0.09743, allocations: 9.488 MB / 422.9 MB, free: 3.793 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007772/0.0982, allocations: 43.97 kB / 422.9 MB, free: 3.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/0.09828, allocations: 44 kB / 423 MB, free: 3.707 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * 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 (93): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0004888/0.09877, allocations: 260.2 kB / 423.2 MB, free: 3.441 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.09898, allocations: 119.4 kB / 423.3 MB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.101, allocations: 0.8319 MB / 424.2 MB, free: 2.461 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.229e-05/0.101, allocations: 11.94 kB / 424.2 MB, free: 2.449 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/0.101, allocations: 4 kB / 424.2 MB, free: 2.445 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.101, allocations: 3.984 kB / 424.2 MB, free: 2.441 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004534/0.1056, allocations: 1.936 MB / 426.1 MB, free: 420 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.305e-06/0.1056, allocations: 4 kB / 426.1 MB, free: 416 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.1061, allocations: 103.9 kB / 426.2 MB, free: 312 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001218/0.1073, allocations: 318 kB / 426.5 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.019e-05/0.1073, allocations: 23.98 kB / 426.6 MB, free: 15.95 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009728/0.1171, allocations: 10.23 MB / 436.8 MB, free: 5.117 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.805e-06/0.1171, allocations: 7.984 kB / 436.8 MB, free: 5.109 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002645/0.1197, allocations: 1.204 MB / 438 MB, free: 3.828 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000485/0.1202, allocations: 139.4 kB / 438.1 MB, free: 3.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001292/0.1203, allocations: 28.12 kB / 438.2 MB, free: 3.664 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004422/0.1208, allocations: 23.97 kB / 438.2 MB, free: 3.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001627/0.1209, allocations: 68.47 kB / 438.3 MB, free: 3.574 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.147e-05/0.121, allocations: 31.98 kB / 438.3 MB, free: 3.543 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.000729/0.1217, allocations: 494.9 kB / 438.8 MB, free: 3.066 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.1217, allocations: 0 / 438.8 MB, free: 3.066 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001456/0.1232, allocations: 367.9 kB / 439.1 MB, free: 2.707 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (57): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003504/0.1235, allocations: 151 kB / 439.3 MB, free: 2.551 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002491/0.126, allocations: 1.503 MB / 440.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.126, allocations: 0 / 440.8 MB, free: 0.9805 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.1411/0.2672, allocations: 1.235 MB / 442 MB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.2685, allocations: 189.2 kB / 442.2 MB, free: 104.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003243/0.2717, allocations: 2.296 MB / 444.5 MB, free: 103.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005336/0.2723, allocations: 0.6276 MB / 445.1 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0004618/0.2727, allocations: 185.5 kB / 445.3 MB, free: 103.7 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.2729, allocations: 64.98 kB / 445.4 MB, free: 103.7 MB / 410.7 MB Notification: Performance of SimCode: time 1.683e-06/0.2729, allocations: 0 / 445.4 MB, free: 103.7 MB / 410.7 MB Notification: Performance of Templates: time 0.022/0.2949, allocations: 14.99 MB / 460.4 MB, free: 102.2 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 240] diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.560415580053814]