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/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002082/0.002083, allocations: 176.4 kB / 17.4 MB, free: 4.297 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.728/1.728, allocations: 205.4 MB / 223.5 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008999/0.0008999, allocations: 82.38 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1666/0.1666, allocations: 38.08 MB / 358.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003473/0.0003473, allocations: 12 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3072, allocations: 56.31 MB / 481.6 MB, free: 9.594 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1532/0.4604, allocations: 113.3 MB / 0.5809 GB, free: 4.906 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.4608, allocations: 103.8 kB / 0.581 GB, free: 4.809 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08214/0.543, allocations: 29.78 MB / 0.6101 GB, free: 6.664 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.993e-06/0.543, allocations: 0 / 0.6101 GB, free: 6.664 MB / 442.7 MB Notification: Performance of Transformations before backend: time 6.775e-05/0.5431, allocations: 19.94 kB / 0.6101 GB, free: 6.645 MB / 442.7 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.002687/0.5458, allocations: 1.146 MB / 0.6113 GB, free: 5.441 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.227e-05/0.5458, allocations: 15.98 kB / 0.6113 GB, free: 5.426 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001218/0.5471, allocations: 191.6 kB / 0.6114 GB, free: 5.238 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/0.5492, allocations: 0.9093 MB / 0.6123 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.068e-05/0.5493, allocations: 58 kB / 0.6124 GB, free: 4.23 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.5496, allocations: 99.77 kB / 0.6125 GB, free: 4.133 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.5514, allocations: 1.081 MB / 0.6135 GB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.5514, allocations: 0 / 0.6135 GB, free: 3.004 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.615e-05/0.5515, allocations: 43.97 kB / 0.6136 GB, free: 2.961 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001053/0.5516, allocations: 73.91 kB / 0.6137 GB, free: 2.887 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001549/0.5532, allocations: 0.8547 MB / 0.6145 GB, free: 2.035 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006012/0.5592, allocations: 4.007 MB / 0.6184 GB, free: 13.83 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006582/0.5599, allocations: 438.1 kB / 0.6188 GB, free: 13.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003902/0.5603, allocations: 275 kB / 0.6191 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.5604, allocations: 8.438 kB / 0.6191 GB, free: 13.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.418e-05/0.5604, allocations: 39 kB / 0.6191 GB, free: 13.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=48): time 3.277e-06/0.5604, allocations: 0 / 0.6191 GB, free: 13.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=51): time 0.003293/0.5637, allocations: 1.725 MB / 0.6208 GB, free: 11.26 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.5638, allocations: 81.55 kB / 0.6209 GB, free: 11.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007474/0.5646, allocations: 0.5859 MB / 0.6215 GB, free: 10.57 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.3e-05/0.5646, allocations: 37.69 kB / 0.6215 GB, free: 10.53 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003672/0.565, allocations: 458.6 kB / 0.6219 GB, free: 10.07 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.5652, allocations: 197.2 kB / 0.6221 GB, free: 9.875 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.5652, allocations: 12 kB / 0.6221 GB, free: 9.863 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001744/0.5654, allocations: 382.8 kB / 0.6225 GB, free: 9.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.5658, allocations: 245.8 kB / 0.6227 GB, free: 9.242 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005446/0.5664, allocations: 472.9 kB / 0.6232 GB, free: 8.684 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.5674, allocations: 0.7706 MB / 0.6239 GB, free: 7.816 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.102e-06/0.5674, allocations: 7.938 kB / 0.6239 GB, free: 7.809 MB / 458.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002258/0.5697, allocations: 1.103 MB / 0.625 GB, free: 6.668 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.955e-05/0.5697, allocations: 11.98 kB / 0.625 GB, free: 6.656 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001366/0.5711, allocations: 0.7998 MB / 0.6258 GB, free: 5.828 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007019/0.5718, allocations: 214.4 kB / 0.626 GB, free: 5.609 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005539/0.5724, allocations: 151.7 kB / 0.6262 GB, free: 5.461 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005343/0.5777, allocations: 5.244 MB / 0.6313 GB, free: 15.81 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000692/0.5785, allocations: 39.88 kB / 0.6313 GB, free: 15.77 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001091/0.5786, allocations: 32 kB / 0.6314 GB, free: 15.74 MB / 474.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 1 {2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0006281/0.5792, allocations: 313.4 kB / 0.6317 GB, free: 15.43 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001716/0.5794, allocations: 63.25 kB / 0.6317 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001046/0.5804, allocations: 0.6086 MB / 0.6323 GB, free: 14.74 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.5805, allocations: 4 kB / 0.6323 GB, free: 14.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.748e-06/0.5805, allocations: 11.94 kB / 0.6323 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.5805, allocations: 0 / 0.6323 GB, free: 14.72 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002829/0.5833, allocations: 1.493 MB / 0.6338 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.5834, allocations: 0 / 0.6338 GB, free: 13.16 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.5839, allocations: 124 kB / 0.6339 GB, free: 13.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.584, allocations: 7.938 kB / 0.6339 GB, free: 13.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.129e-05/0.584, allocations: 12 kB / 0.6339 GB, free: 13.02 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.356e-06/0.584, allocations: 11.92 kB / 0.6339 GB, free: 13.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.584, allocations: 7.984 kB / 0.6339 GB, free: 13 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001219/0.5853, allocations: 0.9232 MB / 0.6348 GB, free: 12.04 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003389/0.5856, allocations: 184.1 kB / 0.635 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/0.5858, allocations: 16 kB / 0.635 GB, free: 11.82 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003565/0.5861, allocations: 15.98 kB / 0.635 GB, free: 11.81 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.393e-05/0.5862, allocations: 32.39 kB / 0.6351 GB, free: 11.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.233e-05/0.5862, allocations: 23.98 kB / 0.6351 GB, free: 11.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000511/0.5868, allocations: 415 kB / 0.6355 GB, free: 11.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5868, allocations: 0 / 0.6355 GB, free: 11.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0008307/0.5876, allocations: 216 kB / 0.6357 GB, free: 11.14 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 8 (turboGrp.w,generator.phi_el,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: 2 (system.initime,$cse4) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002492/0.5879, allocations: 153.1 kB / 0.6358 GB, free: 10.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00162/0.5895, allocations: 1.022 MB / 0.6368 GB, free: 9.93 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.5895, allocations: 0 / 0.6368 GB, free: 9.93 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.5899, allocations: 262.6 kB / 0.6371 GB, free: 9.672 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009155/0.5908, allocations: 142.8 kB / 0.6372 GB, free: 9.527 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00372/0.5945, allocations: 2.499 MB / 0.6397 GB, free: 6.977 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007805/0.5953, allocations: 1.082 MB / 0.6407 GB, free: 5.863 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0006019/0.5959, allocations: 181.9 kB / 0.6409 GB, free: 5.684 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.5961, allocations: 59.44 kB / 0.641 GB, free: 5.629 MB / 474.7 MB Notification: Performance of SimCode: time 6.81e-07/0.5962, allocations: 3.938 kB / 0.641 GB, free: 5.625 MB / 474.7 MB Notification: Performance of Templates: time 0.2059/0.8021, allocations: 8.517 MB / 0.6493 GB, free: 131.8 MB / 474.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:Time,generator.powerAngle,sensor.p[1],sensor.p[2],sensor.p[3],sensor1.p[1],sensor1.p[2],sensor1.p[3] Variables in the result:RLgen1.L,RLgen1.L0,RLgen1.R,RLgen1.RL_base[1],RLgen1.RL_base[2],RLgen1.S_nom,RLgen1.V_nom,RLgen1.dynType,RLgen1.f_nom,RLgen1.i_start[1],RLgen1.i_start[2],RLgen1.i_start[3],RLgen1.puUnits,RLgen1.r,RLgen1.v_start[1],RLgen1.v_start[2],RLgen1.v_start[3],RLgen1.x_m,RLgen1.x_s,VBus1.S_nom,VBus1.V_base,VBus1.V_nom,VBus1.alpha,VBus1.alpha0,VBus1.f,VBus1.fType,VBus1.phi,VBus1.puUnits,VBus1.use_vPhasor_in,VBus1.v0,VBus1.vPhasor_internal[1],VBus1.vPhasor_internal[2],Vgen1.S_nom,Vgen1.V_base,Vgen1.V_nom,Vgen1.alpha,Vgen1.alpha0,Vgen1.f,Vgen1.fType,Vgen1.phi,Vgen1.puUnits,Vgen1.use_vPhasor_in,Vgen1.v0,Vgen1.vPhasor_internal[1],Vgen1.vPhasor_internal[2],bdCond.T_amb,bdCond.heat.m,bdCond.heat.ports[1].T,bdCond.heat.ports[2].T,bdCond.m,excitation.V_nom,excitation.Vf_nom,excitation.fieldVoltage,exciter.fieldVoltage,exciter.par,exciter.v_f,generator.Vf_nom,generator.c.L_s[1],generator.c.L_s[2],generator.c.L_s[3],generator.c.Psi_pm,generator.c.R_n,generator.c.R_s,generator.c.omega_nom,generator.dynType,generator.heat.m,generator.heat.ports[1].T,generator.heat.ports[2].T,generator.i_s_start[1],generator.i_s_start[2],generator.i_s_start[3],generator.i_start[1],generator.i_start[2],generator.i_start[3],generator.n_n,generator.par.S_nom,generator.par.V_nom,generator.par.excite,generator.par.f_nom,generator.par.neu_iso,generator.par.pp,generator.par.psi_pm,generator.par.puUnits,generator.par.r_n,generator.par.r_s,generator.par.x_0,generator.par.x_d,generator.par.x_q,generator.phi_el_start,generator.powerAngle,generator.pp,generator.top.n_n,governor.p,governor.par,governor.power,infBus.S_base,infBus.S_nom,infBus.V_base,infBus.V_nom,infBus.alpha,infBus.alpha0,infBus.phi,infBus.puUnits,infBus.use_vPhasor_in,infBus.v0,infBus.vPhasor_internal[1],infBus.vPhasor_internal[2],sensor.S_base,sensor.S_nom,sensor.V_nom,sensor.p[1],sensor.p[2],sensor.p[3],sensor.puUnits,sensor1.S_base,sensor1.S_nom,sensor1.V_nom,sensor1.p[1],sensor1.p[2],sensor1.p[3],sensor1.puUnits,system.alpha0,system.dynType,system.f,system.fType,system.f_lim[1],system.f_lim[2],system.f_nom,system.omega_nom,system.refType,system.synRef,system.w_nom,time,turboGrp.H,turboGrp.J,turboGrp.P_nom,turboGrp.dynType,turboGrp.power,turboGrp.speed_thr,turboGrp.tau_nom,turboGrp.w_nom,turboGrp.w_start,w_start