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.001443/0.001443, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.001605/0.001605, allocations: 185.4 kB / 18.68 MB, free: 4.434 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.304/1.304, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.172/0.172, allocations: 38.04 MB / 330.6 MB, free: 8.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.00122, allocations: 63.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2918/0.293, allocations: 58.06 MB / 0.5048 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.007053/0.3001, allocations: 7.525 MB / 0.5121 GB, free: 2.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004059/0.3042, allocations: 2.972 MB / 0.515 GB, free: 440 kB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003993/0.3046, allocations: 25.62 kB / 0.515 GB, free: 432 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.3063, allocations: 0.7305 MB / 0.5158 GB, free: 15.98 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001598/0.3079, allocations: 0.6992 MB / 0.5164 GB, free: 15.6 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009159/0.3089, allocations: 375.4 kB / 0.5168 GB, free: 15.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001572/0.3105, allocations: 1.355 MB / 0.5181 GB, free: 14.84 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001009/0.3115, allocations: 0.7148 MB / 0.5188 GB, free: 14.53 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009131/0.3124, allocations: 0.5663 MB / 0.5194 GB, free: 14.27 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008838/0.3133, allocations: 0.6227 MB / 0.52 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.3134, allocations: 74.97 kB / 0.5201 GB, free: 14.03 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009014/0.3143, allocations: 474.7 kB / 0.5205 GB, free: 13.9 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004505/0.3148, allocations: 457.9 kB / 0.5209 GB, free: 13.74 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005393/0.3154, allocations: 0.5071 MB / 0.5214 GB, free: 13.44 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001659/0.317, allocations: 1.42 MB / 0.5228 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.317, allocations: 0 / 0.5228 GB, free: 12.95 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.3171, allocations: 5.844 kB / 0.5228 GB, free: 12.95 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.768e-05/0.3171, allocations: 0 / 0.5228 GB, free: 12.95 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.002279/0.3194, allocations: 1.279 MB / 0.5241 GB, free: 12.09 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.3194, allocations: 13.48 kB / 0.5241 GB, free: 12.09 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001228/0.3206, allocations: 206.9 kB / 0.5243 GB, free: 12.03 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.3221, allocations: 0.7407 MB / 0.525 GB, free: 11.6 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.291e-05/0.3222, allocations: 67.06 kB / 0.5251 GB, free: 11.57 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002292/0.3224, allocations: 103.7 kB / 0.5252 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001665/0.3241, allocations: 1.092 MB / 0.5262 GB, free: 11.05 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.3242, allocations: 11.67 kB / 0.5263 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.401e-05/0.3242, allocations: 35.83 kB / 0.5263 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001692/0.3244, allocations: 72.36 kB / 0.5264 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.3258, allocations: 0.8677 MB / 0.5272 GB, free: 10.73 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005029/0.3308, allocations: 3.971 MB / 0.5311 GB, free: 7.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005949/0.3314, allocations: 435.9 kB / 0.5315 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003647/0.3318, allocations: 274.5 kB / 0.5318 GB, free: 7.504 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.3319, allocations: 8.781 kB / 0.5318 GB, free: 7.5 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.655e-05/0.3319, allocations: 39.34 kB / 0.5318 GB, free: 7.457 MB / 398.1 MB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/0.3319, allocations: 0 / 0.5318 GB, free: 7.457 MB / 398.1 MB Notification: Performance of matching and sorting (n=51): time 0.002885/0.3348, allocations: 1.714 MB / 0.5335 GB, free: 6.398 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.3348, allocations: 82.39 kB / 0.5336 GB, free: 6.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006567/0.3355, allocations: 0.5946 MB / 0.5341 GB, free: 5.949 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.233e-05/0.3356, allocations: 43.92 kB / 0.5342 GB, free: 5.902 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003006/0.3359, allocations: 469.9 kB / 0.5346 GB, free: 5.488 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001462/0.336, allocations: 184.5 kB / 0.5348 GB, free: 5.328 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.3362, allocations: 138.3 kB / 0.5349 GB, free: 5.246 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001484/0.3364, allocations: 380.5 kB / 0.5353 GB, free: 4.883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003898/0.3368, allocations: 253 kB / 0.5355 GB, free: 4.762 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005217/0.3373, allocations: 472.5 kB / 0.536 GB, free: 4.359 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009831/0.3383, allocations: 0.7791 MB / 0.5368 GB, free: 3.789 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.2e-06/0.3383, allocations: 2.031 kB / 0.5368 GB, free: 3.789 MB / 398.1 MB Notification: Performance of matching and sorting (n=94) (initialization): time 0.002028/0.3404, allocations: 1.116 MB / 0.5378 GB, free: 3.137 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.3404, allocations: 11.12 kB / 0.5379 GB, free: 3.133 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001376/0.3418, allocations: 0.7987 MB / 0.5386 GB, free: 2.668 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007115/0.3425, allocations: 220.7 kB / 0.5388 GB, free: 2.555 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005377/0.343, allocations: 153.7 kB / 0.539 GB, free: 2.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005629/0.3487, allocations: 5.669 MB / 0.5445 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006056/0.3493, allocations: 40.5 kB / 0.5446 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.072e-05/0.3494, allocations: 30.03 kB / 0.5446 GB, free: 13.35 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.0005172/0.3499, allocations: 302.2 kB / 0.5449 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.35, allocations: 70.72 kB / 0.545 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009783/0.351, allocations: 0.6058 MB / 0.5455 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.647e-06/0.351, allocations: 5.234 kB / 0.5456 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.351, allocations: 1.156 kB / 0.5456 GB, free: 12.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000303/0.3513, allocations: 187.1 kB / 0.5457 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.208e-05/0.3514, allocations: 17.23 kB / 0.5457 GB, free: 12.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003245/0.3518, allocations: 30.09 kB / 0.5458 GB, free: 12.54 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.815e-05/0.3519, allocations: 31.62 kB / 0.5458 GB, free: 12.52 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001335/0.3532, allocations: 0.7903 MB / 0.5466 GB, free: 12.04 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001349/0.3546, allocations: 1.098 MB / 0.5477 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003439/0.3549, allocations: 253.4 kB / 0.5479 GB, free: 11.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004672/0.3554, allocations: 427 kB / 0.5483 GB, free: 10.78 MB / 414.1 MB Notification: Performance of Backend: time 3.2e-07/0.3554, allocations: 4.031 kB / 0.5483 GB, free: 10.77 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002158/0.3576, allocations: 1.078 MB / 0.5494 GB, free: 9.652 MB / 414.1 MB Notification: Performance of SimCode: time 0.003099/0.3607, allocations: 2.409 MB / 0.5517 GB, free: 7.195 MB / 414.1 MB Notification: Performance of Templates: time 0.0192/0.3799, allocations: 11.58 MB / 0.563 GB, free: 11.67 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