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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001327/0.001328, allocations: 110.5 kB / 17.75 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001403/0.001403, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.339/1.339, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1784/0.1784, allocations: 38.05 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0014/0.0014, allocations: 63.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3133/0.3147, allocations: 58.05 MB / 0.5048 GB, free: 7.801 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007993/0.3228, allocations: 7.525 MB / 0.5121 GB, free: 2.559 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004834/0.3276, allocations: 2.974 MB / 0.515 GB, free: 480 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007353/0.3284, allocations: 29.38 kB / 0.5151 GB, free: 468 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.3303, allocations: 0.7338 MB / 0.5158 GB, free: 16 kB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002127/0.3325, allocations: 0.6997 MB / 0.5165 GB, free: 15.63 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001141/0.3336, allocations: 373.6 kB / 0.5168 GB, free: 15.46 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.3358, allocations: 1.348 MB / 0.5181 GB, free: 14.88 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001195/0.337, allocations: 0.7247 MB / 0.5188 GB, free: 14.56 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001226/0.3383, allocations: 0.5582 MB / 0.5194 GB, free: 14.31 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001302/0.3396, allocations: 0.6303 MB / 0.52 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002557/0.3399, allocations: 75.06 kB / 0.5201 GB, free: 14.06 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00125/0.3411, allocations: 482.5 kB / 0.5205 GB, free: 13.92 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007552/0.3419, allocations: 448.4 kB / 0.521 GB, free: 13.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001154/0.343, allocations: 0.5094 MB / 0.5215 GB, free: 13.47 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002255/0.3453, allocations: 1.423 MB / 0.5228 GB, free: 12.98 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3453, allocations: 1.531 kB / 0.5228 GB, free: 12.98 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3453, allocations: 3.938 kB / 0.5229 GB, free: 12.97 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.458e-05/0.3454, allocations: 0 / 0.5229 GB, free: 12.97 MB / 398.1 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.002812/0.3482, allocations: 1.275 MB / 0.5241 GB, free: 12.12 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.3482, allocations: 12.25 kB / 0.5241 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.3497, allocations: 207.2 kB / 0.5243 GB, free: 12.06 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001668/0.3514, allocations: 0.7413 MB / 0.525 GB, free: 11.63 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.3514, allocations: 58.8 kB / 0.5251 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002492/0.3517, allocations: 103.7 kB / 0.5252 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001802/0.3535, allocations: 1.093 MB / 0.5263 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.186e-05/0.3535, allocations: 7.281 kB / 0.5263 GB, free: 11.08 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/0.3536, allocations: 35.64 kB / 0.5263 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001815/0.3538, allocations: 73.53 kB / 0.5264 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001448/0.3553, allocations: 0.8704 MB / 0.5272 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005623/0.3609, allocations: 3.977 MB / 0.5311 GB, free: 7.922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006331/0.3616, allocations: 430.7 kB / 0.5315 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003777/0.362, allocations: 280.1 kB / 0.5318 GB, free: 7.496 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.87e-05/0.362, allocations: 14.42 kB / 0.5318 GB, free: 7.488 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.362, allocations: 36.78 kB / 0.5318 GB, free: 7.445 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.415e-06/0.3621, allocations: 0 / 0.5318 GB, free: 7.445 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.003023/0.3651, allocations: 1.719 MB / 0.5335 GB, free: 6.383 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3651, allocations: 83.55 kB / 0.5336 GB, free: 6.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.3658, allocations: 0.5903 MB / 0.5342 GB, free: 5.938 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.258e-05/0.3659, allocations: 35.14 kB / 0.5342 GB, free: 5.898 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003025/0.3662, allocations: 465.7 kB / 0.5346 GB, free: 5.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001553/0.3663, allocations: 193.8 kB / 0.5348 GB, free: 5.32 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.3665, allocations: 141.4 kB / 0.535 GB, free: 5.234 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.3667, allocations: 376.7 kB / 0.5353 GB, free: 4.875 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.3671, allocations: 252 kB / 0.5356 GB, free: 4.754 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005602/0.3677, allocations: 477.3 kB / 0.536 GB, free: 4.348 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.3687, allocations: 0.7793 MB / 0.5368 GB, free: 3.777 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3687, allocations: 1.281 kB / 0.5368 GB, free: 3.777 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002251/0.371, allocations: 1.112 MB / 0.5379 GB, free: 3.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.371, allocations: 8.094 kB / 0.5379 GB, free: 3.129 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001393/0.3724, allocations: 0.7918 MB / 0.5386 GB, free: 2.672 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007359/0.3732, allocations: 227.8 kB / 0.5389 GB, free: 2.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.3737, allocations: 161.4 kB / 0.539 GB, free: 2.508 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005593/0.3793, allocations: 5.663 MB / 0.5445 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004958/0.3798, allocations: 37.84 kB / 0.5446 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.03e-05/0.3799, allocations: 32.75 kB / 0.5446 GB, free: 13.34 MB / 414.1 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 (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,7)} Notification: Performance of prepare postOptimizeDAE: time 0.0004506/0.3803, allocations: 302.6 kB / 0.5449 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.3804, allocations: 70.72 kB / 0.545 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009446/0.3814, allocations: 0.6071 MB / 0.5456 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/0.3814, allocations: 3.984 kB / 0.5456 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.915e-06/0.3814, allocations: 1.594 kB / 0.5456 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002778/0.3817, allocations: 188 kB / 0.5457 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.571e-05/0.3818, allocations: 13.19 kB / 0.5458 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.3822, allocations: 25.38 kB / 0.5458 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.13e-05/0.3822, allocations: 38.89 kB / 0.5458 GB, free: 12.51 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001414/0.3837, allocations: 0.7828 MB / 0.5466 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001353/0.385, allocations: 1.107 MB / 0.5477 GB, free: 11.33 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000349/0.3854, allocations: 256.9 kB / 0.5479 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004721/0.3859, allocations: 415 kB / 0.5483 GB, free: 10.79 MB / 414.1 MB Notification: Performance of Backend: time 2.91e-07/0.3859, allocations: 0 / 0.5483 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002338/0.3882, allocations: 1.088 MB / 0.5494 GB, free: 9.66 MB / 414.1 MB Notification: Performance of SimCode: time 0.003028/0.3913, allocations: 2.413 MB / 0.5517 GB, free: 7.203 MB / 414.1 MB Notification: Performance of Templates: time 0.01886/0.4101, allocations: 11.58 MB / 0.563 GB, free: 11.68 MB / 430.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches