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.001252/0.001252, allocations: 177.1 kB / 13.64 MB, free: 1.676 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.373/1.373, allocations: 205.2 MB / 219.4 MB, free: 14.2 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.000788/0.000788, allocations: 90.66 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1546/0.1546, allocations: 37.98 MB / 353.5 MB, free: 1.746 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.43e-05/2.44e-05, allocations: 4 kB / 417.7 MB, free: 29.11 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09527/0.0953, allocations: 56.31 MB / 474.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.383/0.4784, allocations: 113.2 MB / 0.5735 GB, free: 5.93 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003365/0.4788, allocations: 90.89 kB / 0.5736 GB, free: 5.887 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08072/0.5596, allocations: 29.98 MB / 0.6028 GB, free: 12.15 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.442e-06/0.5596, allocations: 3.938 kB / 0.6028 GB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 4.984e-05/0.5597, allocations: 24 kB / 0.6029 GB, free: 12.12 MB / 410.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.001805/0.5615, allocations: 1.031 MB / 0.6039 GB, free: 11.1 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.5615, allocations: 11.98 kB / 0.6039 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.5626, allocations: 194.1 kB / 0.6041 GB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002955/0.5655, allocations: 1.212 MB / 0.6053 GB, free: 9.844 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.213e-05/0.5656, allocations: 58.81 kB / 0.6053 GB, free: 9.812 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001892/0.5658, allocations: 89.2 kB / 0.6054 GB, free: 9.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001608/0.5674, allocations: 1.06 MB / 0.6064 GB, free: 8.945 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.5675, allocations: 11.75 kB / 0.6064 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.484e-05/0.5675, allocations: 32.36 kB / 0.6065 GB, free: 8.926 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.674e-05/0.5676, allocations: 64.91 kB / 0.6065 GB, free: 8.871 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/0.5689, allocations: 0.8394 MB / 0.6074 GB, free: 8.277 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004915/0.5738, allocations: 4.003 MB / 0.6113 GB, free: 4.719 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005775/0.5744, allocations: 427.7 kB / 0.6117 GB, free: 4.359 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003595/0.5748, allocations: 271.4 kB / 0.6119 GB, free: 4.18 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.234e-05/0.5748, allocations: 15.67 kB / 0.6119 GB, free: 4.168 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5749, allocations: 42.52 kB / 0.612 GB, free: 4.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=48): time 2.786e-06/0.5749, allocations: 4 kB / 0.612 GB, free: 4.117 MB / 410.7 MB Notification: Performance of matching and sorting (n=51): time 0.002517/0.5774, allocations: 1.527 MB / 0.6135 GB, free: 2.812 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.5775, allocations: 85.55 kB / 0.6136 GB, free: 2.711 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000552/0.578, allocations: 0.5119 MB / 0.6141 GB, free: 2.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.811e-05/0.5781, allocations: 35.89 kB / 0.6141 GB, free: 2.266 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002651/0.5783, allocations: 464.2 kB / 0.6145 GB, free: 1.918 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.5785, allocations: 192.1 kB / 0.6147 GB, free: 1.754 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.813e-05/0.5785, allocations: 10.75 kB / 0.6147 GB, free: 1.754 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001497/0.5787, allocations: 382.4 kB / 0.6151 GB, free: 1.398 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003492/0.579, allocations: 244.2 kB / 0.6153 GB, free: 1.234 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005065/0.5795, allocations: 461.1 kB / 0.6158 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004581/0.58, allocations: 337.2 kB / 0.6161 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.58, allocations: 0 / 0.6161 GB, free: 0.5508 MB / 410.7 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.001814/0.5818, allocations: 1.095 MB / 0.6172 GB, free: 15.64 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.02e-05/0.5819, allocations: 11.94 kB / 0.6172 GB, free: 15.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001277/0.5831, allocations: 0.7811 MB / 0.6179 GB, free: 15 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006857/0.5838, allocations: 223.3 kB / 0.6182 GB, free: 14.81 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005094/0.5844, allocations: 154.4 kB / 0.6183 GB, free: 14.66 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004894/0.5893, allocations: 5.22 MB / 0.6234 GB, free: 9.352 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005339/0.5898, allocations: 43.94 kB / 0.6234 GB, free: 9.309 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.953e-05/0.5899, allocations: 28 kB / 0.6235 GB, free: 9.281 MB / 426.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 () * 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.0001676/0.5901, allocations: 164.7 kB / 0.6236 GB, free: 9.113 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.5902, allocations: 67.16 kB / 0.6237 GB, free: 9.047 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009808/0.5912, allocations: 0.5972 MB / 0.6243 GB, free: 8.441 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.5912, allocations: 4 kB / 0.6243 GB, free: 8.438 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5912, allocations: 4 kB / 0.6243 GB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5912, allocations: 11.86 kB / 0.6243 GB, free: 8.422 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002387/0.5936, allocations: 1.463 MB / 0.6257 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.5936, allocations: 0 / 0.6257 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000593/0.5942, allocations: 119.9 kB / 0.6258 GB, free: 6.773 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.5942, allocations: 11.88 kB / 0.6258 GB, free: 6.762 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.5943, allocations: 15.98 kB / 0.6259 GB, free: 6.746 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5943, allocations: 7.984 kB / 0.6259 GB, free: 6.738 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.5943, allocations: 12.11 kB / 0.6259 GB, free: 6.727 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001226/0.5955, allocations: 0.9766 MB / 0.6268 GB, free: 5.68 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/0.5958, allocations: 180.2 kB / 0.627 GB, free: 5.484 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.226e-05/0.5959, allocations: 15.98 kB / 0.627 GB, free: 5.469 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003087/0.5962, allocations: 19.98 kB / 0.627 GB, free: 5.449 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.388e-05/0.5963, allocations: 36.36 kB / 0.6271 GB, free: 5.414 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.483e-05/0.5963, allocations: 19.98 kB / 0.6271 GB, free: 5.395 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004784/0.5968, allocations: 403.2 kB / 0.6275 GB, free: 5.004 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5968, allocations: 0 / 0.6275 GB, free: 5.004 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0008144/0.5976, allocations: 220 kB / 0.6277 GB, free: 4.789 MB / 426.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: 1 (system.initime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 52 * 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.0002519/0.5979, allocations: 151.8 kB / 0.6278 GB, free: 4.629 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001452/0.5994, allocations: 1.003 MB / 0.6288 GB, free: 3.586 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.5994, allocations: 4.188 kB / 0.6288 GB, free: 3.582 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.5997, allocations: 250.4 kB / 0.6291 GB, free: 3.336 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006182/0.6003, allocations: 147.1 kB / 0.6292 GB, free: 3.195 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002437/0.6028, allocations: 1.663 MB / 0.6308 GB, free: 1.484 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000666/0.6035, allocations: 1.098 MB / 0.6319 GB, free: 364 kB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005153/0.604, allocations: 193.8 kB / 0.6321 GB, free: 168 kB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.6041, allocations: 55.42 kB / 0.6321 GB, free: 116 kB / 426.7 MB Notification: Performance of SimCode: time 3.5e-07/0.6042, allocations: 0 / 0.6321 GB, free: 116 kB / 426.7 MB Notification: Performance of Templates: time 0.01457/0.6187, allocations: 8.518 MB / 0.6404 GB, free: 7.598 MB / 442.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/jenkins/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) Reference file matches