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.00158/0.00158, allocations: 85.91 kB / 20.68 MB, free: 1.035 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.001705/0.001705, allocations: 164.8 kB / 23.95 MB, free: 4.172 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.409/1.409, allocations: 177.2 MB / 204.3 MB, free: 9.156 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.1711/0.1711, allocations: 29.42 MB / 290.1 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.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.663e-06/1.663e-06, allocations: 0 / 430.7 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.887e-05, allocations: 2.281 kB / 430.7 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01113/0.01116, allocations: 8.91 MB / 439.6 MB, free: 8.945 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006784/0.01794, allocations: 3.373 MB / 443 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008579/0.0188, allocations: 43.62 kB / 443.1 MB, free: 5.52 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003064/0.02187, allocations: 1.08 MB / 444.1 MB, free: 4.438 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002588/0.02445, allocations: 0.9323 MB / 445.1 MB, free: 3.5 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00133/0.02578, allocations: 0.498 MB / 445.6 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002441/0.02823, allocations: 1.85 MB / 447.4 MB, free: 1.148 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001076/0.0293, allocations: 0.7394 MB / 448.2 MB, free: 396 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1905/0.2198, allocations: 1.038 MB / 449.2 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001665/0.2214, allocations: 0.8556 MB / 450.1 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002202/0.2216, allocations: 105.4 kB / 450.2 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001345/0.223, allocations: 0.5813 MB / 450.7 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000739/0.2237, allocations: 0.682 MB / 451.4 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006964/0.2244, allocations: 496.2 kB / 451.9 MB, free: 16.16 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002834/0.2273, allocations: 1.944 MB / 453.8 MB, free: 16.08 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2273, allocations: 0 / 453.8 MB, free: 16.08 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.2273, allocations: 0 / 453.8 MB, free: 16.08 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.2273, allocations: 1.438 kB / 453.8 MB, free: 16.08 MB / 366.1 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.003106/0.2304, allocations: 1.584 MB / 455.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.2304, allocations: 12.05 kB / 455.4 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001954/0.2324, allocations: 321.2 kB / 455.8 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002314/0.2347, allocations: 0.8748 MB / 456.6 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.358e-05/0.2348, allocations: 82.41 kB / 456.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003807/0.2352, allocations: 139.8 kB / 456.8 MB, free: 14.92 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00302/0.2382, allocations: 1.493 MB / 458.3 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.38e-05/0.2382, allocations: 7.953 kB / 458.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001186/0.2384, allocations: 42.64 kB / 458.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003432/0.2387, allocations: 99.14 kB / 458.5 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/0.241, allocations: 1.249 MB / 459.7 MB, free: 14.7 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008114/0.2491, allocations: 4.694 MB / 464.4 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001071/0.2502, allocations: 0.5607 MB / 465 MB, free: 12.04 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005988/0.2508, allocations: 380.4 kB / 465.4 MB, free: 11.91 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.2508, allocations: 15.28 kB / 465.4 MB, free: 11.89 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.977e-05/0.2508, allocations: 44.22 kB / 465.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of pre-optimization done (n=67): time 3.276e-06/0.2508, allocations: 1.188 kB / 465.4 MB, free: 11.85 MB / 366.1 MB Notification: Performance of matching and sorting (n=74): time 0.007059/0.2579, allocations: 3.198 MB / 468.6 MB, free: 10.52 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.2579, allocations: 85.52 kB / 468.7 MB, free: 10.43 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/0.2588, allocations: 0.6864 MB / 469.4 MB, free: 10.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.489e-05/0.2588, allocations: 40.08 kB / 469.4 MB, free: 10.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002724/0.2591, allocations: 0.6138 MB / 470 MB, free: 9.602 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001566/0.2593, allocations: 277.2 kB / 470.3 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002456/0.2595, allocations: 188 kB / 470.5 MB, free: 9.293 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2596, allocations: 401.7 kB / 470.9 MB, free: 8.941 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005585/0.2602, allocations: 383.9 kB / 471.3 MB, free: 8.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006965/0.2609, allocations: 0.6641 MB / 471.9 MB, free: 8.355 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001348/0.2622, allocations: 1.142 MB / 473.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.513e-06/0.2622, allocations: 3.062 kB / 473.1 MB, free: 7.684 MB / 366.1 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003233/0.2655, allocations: 1.689 MB / 474.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.2655, allocations: 7.031 kB / 474.8 MB, free: 7.121 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002336/0.2678, allocations: 1.289 MB / 476.1 MB, free: 6.578 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001772/0.2696, allocations: 0.5761 MB / 476.6 MB, free: 6.293 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005447/0.2701, allocations: 173.3 kB / 476.8 MB, free: 6.266 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009933/0.2801, allocations: 9.655 MB / 486.5 MB, free: 14.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008693/0.2809, allocations: 55.89 kB / 486.5 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.747e-05/0.281, allocations: 40 kB / 486.6 MB, free: 14.09 MB / 382.1 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.0007441/0.2818, allocations: 387.1 kB / 486.9 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001659/0.2819, allocations: 93.2 kB / 487 MB, free: 13.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.2845, allocations: 1.233 MB / 488.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.357e-06/0.2845, allocations: 8 kB / 488.3 MB, free: 12.36 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.2845, allocations: 8 kB / 488.3 MB, free: 12.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.525e-05/0.2845, allocations: 7.922 kB / 488.3 MB, free: 12.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004403/0.2889, allocations: 2.115 MB / 490.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/0.2889, allocations: 4.219 kB / 490.4 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/0.2894, allocations: 111.4 kB / 490.5 MB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001179/0.2906, allocations: 373.8 kB / 490.9 MB, free: 9.707 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.325e-05/0.2906, allocations: 35.72 kB / 490.9 MB, free: 9.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009086/0.2997, allocations: 8.617 MB / 499.5 MB, free: 0.6016 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.582e-06/0.2997, allocations: 8 kB / 499.5 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003091/0.3028, allocations: 1.665 MB / 0.4894 GB, free: 14.88 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004158/0.3032, allocations: 151.4 kB / 0.4896 GB, free: 14.73 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3034, allocations: 20 kB / 0.4896 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004782/0.3038, allocations: 27.97 kB / 0.4896 GB, free: 14.69 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/0.304, allocations: 72.27 kB / 0.4897 GB, free: 14.62 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.484e-05/0.3041, allocations: 24 kB / 0.4897 GB, free: 14.6 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000653/0.3047, allocations: 467 kB / 0.4902 GB, free: 14.15 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3047, allocations: 4 kB / 0.4902 GB, free: 14.14 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001558/0.3063, allocations: 367.9 kB / 0.4905 GB, free: 13.79 MB / 398.1 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.0003884/0.3067, allocations: 150.2 kB / 0.4907 GB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002641/0.3093, allocations: 1.528 MB / 0.4922 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/0.3093, allocations: 1.812 kB / 0.4922 GB, free: 12.11 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001714/0.311, allocations: 1.07 MB / 0.4932 GB, free: 10.98 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.3121, allocations: 199.1 kB / 0.4934 GB, free: 10.79 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/0.317, allocations: 2.545 MB / 0.4959 GB, free: 8.219 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009335/0.3179, allocations: 0.6644 MB / 0.4965 GB, free: 7.523 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007221/0.3186, allocations: 211.2 kB / 0.4967 GB, free: 7.312 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002242/0.3189, allocations: 64.47 kB / 0.4968 GB, free: 7.25 MB / 398.1 MB Notification: Performance of SimCode: time 1.924e-06/0.3189, allocations: 4 kB / 0.4968 GB, free: 7.246 MB / 398.1 MB Notification: Performance of Templates: time 0.02811/0.347, allocations: 14.73 MB / 0.5112 GB, free: 8.742 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480] 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.106294471770525]