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/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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001324/0.001324, allocations: 186.5 kB / 17.27 MB, free: 4.504 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.453/1.453, allocations: 205.1 MB / 223.1 MB, free: 8.461 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.0009932/0.0009932, allocations: 104.1 kB / 270.5 MB, free: 8.422 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1969/0.1969, allocations: 38.01 MB / 355.8 MB, free: 2.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001022/0.001022, allocations: 51.92 kB / 421.9 MB, free: 37.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3233, allocations: 55.24 MB / 477.1 MB, free: 9.898 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01168/0.3351, allocations: 11.18 MB / 488.3 MB, free: 1.969 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.008813/0.3439, allocations: 4.126 MB / 492.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002132/0.3461, allocations: 71.91 kB / 492.5 MB, free: 15.02 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003139/0.3493, allocations: 1.05 MB / 493.5 MB, free: 14.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003688/0.353, allocations: 0.8213 MB / 494.4 MB, free: 13.95 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001806/0.3549, allocations: 424.2 kB / 494.8 MB, free: 13.74 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004881/0.3598, allocations: 2.787 MB / 497.6 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001812/0.3616, allocations: 0.9169 MB / 498.5 MB, free: 12.47 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001688/0.3633, allocations: 0.6645 MB / 499.1 MB, free: 12.19 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.3652, allocations: 0.9541 MB / 0.4884 GB, free: 11.71 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002153/0.3655, allocations: 81.5 kB / 0.4884 GB, free: 11.71 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001451/0.3669, allocations: 0.5266 MB / 0.489 GB, free: 11.45 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008218/0.3677, allocations: 0.6151 MB / 0.4896 GB, free: 11.07 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00102/0.3688, allocations: 0.669 MB / 0.4902 GB, free: 10.64 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002809/0.3716, allocations: 1.835 MB / 0.492 GB, free: 9.441 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3716, allocations: 3.938 kB / 0.492 GB, free: 9.438 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.3716, allocations: 1.062 kB / 0.492 GB, free: 9.438 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.879e-05/0.3717, allocations: 4 kB / 0.492 GB, free: 9.434 MB / 330.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.003923/0.3756, allocations: 1.624 MB / 0.4936 GB, free: 8.238 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.3756, allocations: 9.219 kB / 0.4936 GB, free: 8.238 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001661/0.3773, allocations: 277 kB / 0.4939 GB, free: 8.105 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002165/0.3795, allocations: 0.8993 MB / 0.4948 GB, free: 7.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.799e-05/0.3796, allocations: 81.31 kB / 0.4948 GB, free: 7.406 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003136/0.3799, allocations: 138.9 kB / 0.495 GB, free: 7.352 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002403/0.3823, allocations: 1.492 MB / 0.4964 GB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.635e-05/0.3824, allocations: 7.344 kB / 0.4964 GB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001053/0.3825, allocations: 41.25 kB / 0.4965 GB, free: 6.398 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003207/0.3828, allocations: 103.2 kB / 0.4966 GB, free: 6.367 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.3849, allocations: 1.255 MB / 0.4978 GB, free: 5.762 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00784/0.3928, allocations: 5.666 MB / 0.5033 GB, free: 76 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000825/0.3936, allocations: 0.5859 MB / 0.5039 GB, free: 15.47 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005412/0.3942, allocations: 407.2 kB / 0.5043 GB, free: 15.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.331e-05/0.3942, allocations: 8.5 kB / 0.5043 GB, free: 15.06 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.619e-05/0.3943, allocations: 43.11 kB / 0.5043 GB, free: 15.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=67): time 2.765e-06/0.3943, allocations: 4 kB / 0.5043 GB, free: 15 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.006886/0.4012, allocations: 3.634 MB / 0.5079 GB, free: 11.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.973e-05/0.4013, allocations: 89.7 kB / 0.508 GB, free: 11.11 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008305/0.4021, allocations: 0.7351 MB / 0.5087 GB, free: 10.37 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.4022, allocations: 41.73 kB / 0.5087 GB, free: 10.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003565/0.4025, allocations: 0.5841 MB / 0.5093 GB, free: 9.727 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002142/0.4027, allocations: 280.1 kB / 0.5096 GB, free: 9.449 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.403, allocations: 182.5 kB / 0.5097 GB, free: 9.266 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.4032, allocations: 398.7 kB / 0.5101 GB, free: 8.867 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005514/0.4037, allocations: 389.8 kB / 0.5105 GB, free: 8.488 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007314/0.4045, allocations: 0.6651 MB / 0.5111 GB, free: 7.699 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001337/0.4058, allocations: 1.148 MB / 0.5123 GB, free: 6.438 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.427e-06/0.4058, allocations: 0 / 0.5123 GB, free: 6.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003109/0.4089, allocations: 1.713 MB / 0.5139 GB, free: 4.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.044e-05/0.409, allocations: 8 kB / 0.5139 GB, free: 4.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002454/0.4114, allocations: 1.299 MB / 0.5152 GB, free: 3.387 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/0.4132, allocations: 0.5847 MB / 0.5158 GB, free: 2.789 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006061/0.4139, allocations: 171.7 kB / 0.5159 GB, free: 2.621 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.4247, allocations: 9.478 MB / 0.5252 GB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.4256, allocations: 47.97 kB / 0.5252 GB, free: 8.531 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.271e-05/0.4257, allocations: 40 kB / 0.5253 GB, free: 8.492 MB / 362.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.0006939/0.4264, allocations: 389.3 kB / 0.5257 GB, free: 8.102 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001446/0.4266, allocations: 90.88 kB / 0.5257 GB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002254/0.4288, allocations: 1.244 MB / 0.527 GB, free: 6.738 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.117e-05/0.4288, allocations: 11.98 kB / 0.527 GB, free: 6.727 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.4289, allocations: 4 kB / 0.527 GB, free: 6.723 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.4289, allocations: 3.984 kB / 0.527 GB, free: 6.719 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004348/0.4332, allocations: 2.404 MB / 0.5293 GB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/0.4333, allocations: 4 kB / 0.5293 GB, free: 4.215 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004475/0.4337, allocations: 107.8 kB / 0.5294 GB, free: 4.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.4348, allocations: 375.8 kB / 0.5298 GB, free: 3.727 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/0.4348, allocations: 27.98 kB / 0.5298 GB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007278/0.4421, allocations: 8.49 MB / 0.5381 GB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.648e-06/0.4422, allocations: 7.938 kB / 0.5381 GB, free: 10.53 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02251/0.4647, allocations: 17.65 MB / 0.5553 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003578/0.465, allocations: 231.9 kB / 0.5556 GB, free: 7.648 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001147/0.4652, allocations: 31.84 kB / 0.5556 GB, free: 7.617 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004392/0.4656, allocations: 24.12 kB / 0.5556 GB, free: 7.594 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/0.4658, allocations: 64.42 kB / 0.5557 GB, free: 7.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.702e-05/0.4658, allocations: 23.98 kB / 0.5557 GB, free: 7.508 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005799/0.4664, allocations: 0.5029 MB / 0.5562 GB, free: 7.008 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4664, allocations: 0 / 0.5562 GB, free: 7.008 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001627/0.4681, allocations: 0.4922 MB / 0.5567 GB, free: 6.516 MB / 394.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.0002775/0.4683, allocations: 155.2 kB / 0.5568 GB, free: 6.355 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00202/0.4704, allocations: 1.567 MB / 0.5584 GB, free: 4.742 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.4704, allocations: 4 kB / 0.5584 GB, free: 4.738 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001432/0.4718, allocations: 1.096 MB / 0.5594 GB, free: 3.578 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009329/0.4728, allocations: 195.8 kB / 0.5596 GB, free: 3.391 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00616/0.4789, allocations: 4.361 MB / 0.5639 GB, free: 14.9 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001368/0.4803, allocations: 1.29 MB / 0.5651 GB, free: 13.57 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0008234/0.4812, allocations: 227.6 kB / 0.5654 GB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.4814, allocations: 71.42 kB / 0.5654 GB, free: 13.27 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.4814, allocations: 0 / 0.5654 GB, free: 13.27 MB / 410.7 MB Notification: Performance of Templates: time 0.02947/0.5109, allocations: 18.38 MB / 0.5834 GB, free: 10.89 MB / 426.7 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile (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) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.mat","../files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches