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.001029/0.001029, allocations: 174.8 kB / 13.63 MB, free: 1.684 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.441/1.441, 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.0008232/0.0008231, allocations: 86.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.1594/0.1594, allocations: 37.98 MB / 353.5 MB, free: 1.75 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.958e-05/2.961e-05, allocations: 4 kB / 417.7 MB, free: 29.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09072/0.09077, allocations: 56.31 MB / 474.1 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3883/0.4792, allocations: 116.9 MB / 0.5771 GB, free: 2.359 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4795, allocations: 97 kB / 0.5772 GB, free: 2.309 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1024/0.5819, allocations: 38.06 MB / 0.6143 GB, free: 1.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.582, allocations: 0 / 0.6143 GB, free: 1.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.807e-05/0.582, allocations: 28 kB / 0.6144 GB, free: 1.543 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: 298 * Number of variables: 298 Notification: Performance of Generate backend data structure: time 0.002469/0.5845, allocations: 1.295 MB / 0.6156 GB, free: 280 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.5846, allocations: 8.031 kB / 0.6156 GB, free: 272 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001455/0.586, allocations: 258.1 kB / 0.6159 GB, free: 12 kB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003696/0.5897, allocations: 1.538 MB / 0.6174 GB, free: 14.71 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.5898, allocations: 80.03 kB / 0.6175 GB, free: 14.66 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002379/0.5901, allocations: 123.9 kB / 0.6176 GB, free: 14.57 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00207/0.5921, allocations: 1.442 MB / 0.619 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.5922, allocations: 7.953 kB / 0.619 GB, free: 13.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-05/0.5923, allocations: 42.06 kB / 0.619 GB, free: 13.47 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/0.5924, allocations: 93.84 kB / 0.6191 GB, free: 13.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001812/0.5942, allocations: 1.206 MB / 0.6203 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006963/0.6012, allocations: 5.66 MB / 0.6258 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000881/0.6021, allocations: 0.5784 MB / 0.6264 GB, free: 6.684 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005146/0.6026, allocations: 387.3 kB / 0.6268 GB, free: 6.301 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.038e-05/0.6027, allocations: 4.562 kB / 0.6268 GB, free: 6.297 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.6027, allocations: 51.11 kB / 0.6268 GB, free: 6.238 MB / 426.7 MB Notification: Performance of pre-optimization done (n=67): time 2.986e-06/0.6028, allocations: 0 / 0.6268 GB, free: 6.238 MB / 426.7 MB Notification: Performance of matching and sorting (n=74): time 0.005518/0.6083, allocations: 2.809 MB / 0.6296 GB, free: 3.363 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.6083, allocations: 81.89 kB / 0.6296 GB, free: 3.262 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006989/0.609, allocations: 0.6329 MB / 0.6303 GB, free: 2.617 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.6091, allocations: 37.7 kB / 0.6303 GB, free: 2.574 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003422/0.6095, allocations: 0.5919 MB / 0.6309 GB, free: 1.973 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000204/0.6097, allocations: 272.1 kB / 0.6311 GB, free: 1.703 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.6097, allocations: 23.94 kB / 0.6312 GB, free: 1.68 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.6099, allocations: 410.8 kB / 0.6315 GB, free: 1.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000545/0.6104, allocations: 373.9 kB / 0.6319 GB, free: 0.9023 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007009/0.6111, allocations: 0.642 MB / 0.6325 GB, free: 140 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.6119, allocations: 0.4939 MB / 0.633 GB, free: 15.64 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.6119, allocations: 4 kB / 0.633 GB, free: 15.64 MB / 442.7 MB Notification: Performance of matching and sorting (n=125) (initialization): time 0.003163/0.6151, allocations: 1.665 MB / 0.6346 GB, free: 13.95 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.6151, allocations: 8 kB / 0.6346 GB, free: 13.95 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002602/0.6177, allocations: 1.277 MB / 0.6359 GB, free: 12.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001914/0.6196, allocations: 0.5769 MB / 0.6365 GB, free: 12.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006039/0.6203, allocations: 175.7 kB / 0.6366 GB, free: 11.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.631, allocations: 9.391 MB / 0.6458 GB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007497/0.6317, allocations: 51.97 kB / 0.6458 GB, free: 1.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.178e-05/0.6318, allocations: 43.98 kB / 0.6459 GB, free: 1.84 MB / 442.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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 90 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(2,100.0%) 8,(1,100.0%) 1} * Non-linear torn systems: 1 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0001887/0.632, allocations: 156.7 kB / 0.646 GB, free: 1.68 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.6322, allocations: 90.83 kB / 0.6461 GB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00227/0.6344, allocations: 1.23 MB / 0.6473 GB, free: 340 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.304e-06/0.6345, allocations: 8 kB / 0.6473 GB, free: 332 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/0.6345, allocations: 4 kB / 0.6473 GB, free: 328 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.907e-06/0.6345, allocations: 3.984 kB / 0.6473 GB, free: 324 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003979/0.6385, allocations: 2.377 MB / 0.6497 GB, free: 13.84 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.6385, allocations: 11.98 kB / 0.6497 GB, free: 13.83 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004553/0.6389, allocations: 103.8 kB / 0.6498 GB, free: 13.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.64, allocations: 376.1 kB / 0.6501 GB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.494e-05/0.6401, allocations: 27.98 kB / 0.6502 GB, free: 13.32 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0069/0.647, allocations: 8.475 MB / 0.6584 GB, free: 4.176 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/0.647, allocations: 11.88 kB / 0.6584 GB, free: 4.164 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002604/0.6496, allocations: 1.736 MB / 0.6601 GB, free: 2.324 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000374/0.65, allocations: 231.8 kB / 0.6604 GB, free: 2.078 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001112/0.6501, allocations: 24 kB / 0.6604 GB, free: 2.055 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.6506, allocations: 27.97 kB / 0.6604 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.6507, allocations: 60.42 kB / 0.6605 GB, free: 1.965 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.653e-05/0.6508, allocations: 23.98 kB / 0.6605 GB, free: 1.941 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0006293/0.6514, allocations: 0.4913 MB / 0.661 GB, free: 1.457 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6514, allocations: 0 / 0.661 GB, free: 1.457 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001284/0.6527, allocations: 364 kB / 0.6613 GB, free: 1.102 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (56): * Single equations (assignments): 50 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 10,(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003037/0.653, allocations: 195.1 kB / 0.6615 GB, free: 0.9023 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002173/0.6552, allocations: 1.534 MB / 0.663 GB, free: 15.32 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6552, allocations: 0 / 0.663 GB, free: 15.32 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00151/0.6567, allocations: 1.084 MB / 0.6641 GB, free: 14.17 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007745/0.6575, allocations: 171.3 kB / 0.6642 GB, free: 14 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00344/0.661, allocations: 2.201 MB / 0.6664 GB, free: 11.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008843/0.6619, allocations: 1.29 MB / 0.6676 GB, free: 10.42 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000591/0.6625, allocations: 219.6 kB / 0.6678 GB, free: 10.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000144/0.6626, allocations: 59.44 kB / 0.6679 GB, free: 10.14 MB / 474.7 MB Notification: Performance of SimCode: time 3.4e-07/0.6626, allocations: 0 / 0.6679 GB, free: 10.14 MB / 474.7 MB Notification: Performance of Templates: time 0.02322/0.6858, allocations: 14.72 MB / 0.6823 GB, free: 11.42 MB / 490.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/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