Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.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.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.throttling.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|powerPlant.P_generator|powerPlant.frequency.y|powerPlant.fuel.y|powerPlant.throttling.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001635/0.001635, allocations: 110.3 kB / 17.75 MB, free: 5.359 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.00183/0.00183, allocations: 181.4 kB / 18.67 MB, free: 4.441 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.307/1.307, allocations: 222.9 MB / 242.4 MB, free: 15.15 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.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.91 kB / 458.8 MB, free: 6.844 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2991, allocations: 58.06 MB / 0.5048 GB, free: 7.676 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.006848/0.306, allocations: 5.908 MB / 0.5105 GB, free: 3.523 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004032/0.3101, allocations: 2.725 MB / 0.5132 GB, free: 1.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007768/0.3109, allocations: 27.69 kB / 0.5132 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001181/0.3121, allocations: 388.2 kB / 0.5136 GB, free: 1.336 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.3133, allocations: 473 kB / 0.514 GB, free: 1.062 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.3146, allocations: 0.5498 MB / 0.5146 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001532/0.3161, allocations: 1.204 MB / 0.5158 GB, free: 172 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.3172, allocations: 0.7182 MB / 0.5165 GB, free: 15.78 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008156/0.3181, allocations: 469.5 kB / 0.5169 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007631/0.3189, allocations: 470.4 kB / 0.5174 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001413/0.319, allocations: 87.09 kB / 0.5174 GB, free: 15.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009768/0.32, allocations: 0.5282 MB / 0.518 GB, free: 15.12 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.3204, allocations: 265 kB / 0.5182 GB, free: 14.98 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004787/0.3209, allocations: 428.8 kB / 0.5186 GB, free: 14.69 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001829/0.3227, allocations: 1.244 MB / 0.5198 GB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.334e-06/0.3227, allocations: 5.156 kB / 0.5198 GB, free: 14.18 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3227, allocations: 0 / 0.5198 GB, free: 14.18 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.314e-05/0.3228, allocations: 0 / 0.5198 GB, free: 14.18 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002335/0.3251, allocations: 1.206 MB / 0.521 GB, free: 13.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.688e-05/0.3251, allocations: 14.8 kB / 0.521 GB, free: 13.35 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00128/0.3264, allocations: 198 kB / 0.5212 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001172/0.3276, allocations: 0.6374 MB / 0.5218 GB, free: 12.87 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.015e-05/0.3277, allocations: 52.19 kB / 0.5219 GB, free: 12.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.3278, allocations: 69.39 kB / 0.522 GB, free: 12.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001563/0.3294, allocations: 0.8768 MB / 0.5228 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.521e-05/0.3294, allocations: 1.094 kB / 0.5228 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.379e-05/0.3295, allocations: 29.89 kB / 0.5228 GB, free: 12.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.155e-05/0.3295, allocations: 39.8 kB / 0.5229 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001538/0.3311, allocations: 0.7838 MB / 0.5236 GB, free: 12.12 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00478/0.3359, allocations: 3.243 MB / 0.5268 GB, free: 10.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001714/0.3376, allocations: 0.9707 MB / 0.5278 GB, free: 9.492 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005731/0.3382, allocations: 305.4 kB / 0.5281 GB, free: 9.379 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.3383, allocations: 11.73 kB / 0.5281 GB, free: 9.375 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.3383, allocations: 42.81 kB / 0.5281 GB, free: 9.328 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.655e-06/0.3383, allocations: 0 / 0.5281 GB, free: 9.328 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.005039/0.3434, allocations: 2.532 MB / 0.5306 GB, free: 7.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3434, allocations: 110.5 kB / 0.5307 GB, free: 7.797 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00077/0.3442, allocations: 0.5857 MB / 0.5313 GB, free: 7.535 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.746e-05/0.3443, allocations: 40.39 kB / 0.5313 GB, free: 7.492 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002705/0.3445, allocations: 364.9 kB / 0.5316 GB, free: 7.207 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002089/0.3448, allocations: 218.1 kB / 0.5319 GB, free: 7.035 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.345, allocations: 123 kB / 0.532 GB, free: 6.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002009/0.3452, allocations: 380 kB / 0.5323 GB, free: 6.613 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005519/0.3457, allocations: 274.4 kB / 0.5326 GB, free: 6.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006331/0.3464, allocations: 422.4 kB / 0.533 GB, free: 6.164 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001206/0.3476, allocations: 0.687 MB / 0.5337 GB, free: 5.73 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.3476, allocations: 8.906 kB / 0.5337 GB, free: 5.723 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001606/0.3492, allocations: 0.8335 MB / 0.5345 GB, free: 5.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.3492, allocations: 5.625 kB / 0.5345 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3493, allocations: 4.594 kB / 0.5345 GB, free: 5.293 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002536/0.3495, allocations: 58.19 kB / 0.5346 GB, free: 5.266 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007171/0.3502, allocations: 176 kB / 0.5347 GB, free: 5.223 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001637/0.3519, allocations: 1.811 MB / 0.5365 GB, free: 3.477 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004863/0.3524, allocations: 53.2 kB / 0.5365 GB, free: 3.449 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.268e-05/0.3525, allocations: 27.86 kB / 0.5366 GB, free: 3.441 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007536/0.3532, allocations: 444.9 kB / 0.537 GB, free: 3.172 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005985/0.3538, allocations: 399.3 kB / 0.5374 GB, free: 2.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001124/0.355, allocations: 0.6739 MB / 0.538 GB, free: 2.441 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.334e-06/0.355, allocations: 1.438 kB / 0.538 GB, free: 2.441 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.001486/0.3565, allocations: 0.8089 MB / 0.5388 GB, free: 2.027 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.3565, allocations: 7.844 kB / 0.5388 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3565, allocations: 4.438 kB / 0.5388 GB, free: 2.027 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.3567, allocations: 65.97 kB / 0.5389 GB, free: 1.992 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/0.3574, allocations: 173.9 kB / 0.5391 GB, free: 1.949 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.3589, allocations: 1.8 MB / 0.5408 GB, free: 228 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004634/0.3594, allocations: 51.64 kB / 0.5409 GB, free: 200 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-05/0.3595, allocations: 27.61 kB / 0.5409 GB, free: 192 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (system.initime,powerPlant.throttleCosts.local_reset,powerPlant.hotwellLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002056/0.3597, allocations: 222.6 kB / 0.5411 GB, free: 15.97 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001277/0.3598, allocations: 68.84 kB / 0.5412 GB, free: 15.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001621/0.3614, allocations: 0.7778 MB / 0.5419 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.3615, allocations: 3.984 kB / 0.5419 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3615, allocations: 1.219 kB / 0.5419 GB, free: 15.48 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002733/0.3618, allocations: 195.8 kB / 0.5421 GB, free: 15.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.894e-05/0.3619, allocations: 16.59 kB / 0.5421 GB, free: 15.29 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004487/0.3623, allocations: 46.27 kB / 0.5422 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.3625, allocations: 55.48 kB / 0.5422 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002349/0.3648, allocations: 1.025 MB / 0.5432 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00203/0.3669, allocations: 1.281 MB / 0.5445 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005994/0.3675, allocations: 320.6 kB / 0.5448 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006129/0.3681, allocations: 424.3 kB / 0.5452 GB, free: 13.44 MB / 414.1 MB Notification: Performance of Backend: time 7.31e-07/0.3681, allocations: 1.281 kB / 0.5452 GB, free: 13.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00306/0.3712, allocations: 1.324 MB / 0.5465 GB, free: 12.66 MB / 414.1 MB Notification: Performance of SimCode: time 0.002745/0.3739, allocations: 1.919 MB / 0.5484 GB, free: 10.8 MB / 414.1 MB Notification: Performance of Templates: time 0.023/0.397, allocations: 13.73 MB / 0.5618 GB, free: 13.12 MB / 430.1 MB make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1) diffSimulationResults("PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/PowerSystems/PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches