Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_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/package.mo", uses=false) Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3") translateModel(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_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.001015/0.001015, allocations: 110.9 kB / 17.75 MB, free: 5.305 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.0009708/0.0009708, allocations: 186.6 kB / 18.68 MB, free: 4.379 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.365/1.365, allocations: 222.9 MB / 242.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1759/0.1759, allocations: 38.03 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.91 kB / 458.8 MB, free: 6.852 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2921/0.2935, allocations: 58.07 MB / 0.5048 GB, free: 7.766 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3): time 0.005704/0.2992, allocations: 5.897 MB / 0.5105 GB, free: 3.621 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.3024, allocations: 2.735 MB / 0.5132 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003441/0.3027, allocations: 26.72 kB / 0.5132 GB, free: 1.668 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009839/0.3037, allocations: 383 kB / 0.5136 GB, free: 1.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007959/0.3045, allocations: 485.2 kB / 0.5141 GB, free: 1.148 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009229/0.3054, allocations: 0.5569 MB / 0.5146 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001052/0.3065, allocations: 1.207 MB / 0.5158 GB, free: 252 kB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008485/0.3074, allocations: 0.7186 MB / 0.5165 GB, free: 15.86 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.3079, allocations: 468.4 kB / 0.5169 GB, free: 15.62 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005671/0.3085, allocations: 475.8 kB / 0.5174 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001182/0.3086, allocations: 86.81 kB / 0.5175 GB, free: 15.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008829/0.3095, allocations: 0.5171 MB / 0.518 GB, free: 15.21 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002886/0.3098, allocations: 272.7 kB / 0.5182 GB, free: 15.06 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004263/0.3102, allocations: 432.2 kB / 0.5186 GB, free: 14.76 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.3119, allocations: 1.251 MB / 0.5199 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.3119, allocations: 0 / 0.5199 GB, free: 14.24 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.152e-06/0.3119, allocations: 0 / 0.5199 GB, free: 14.24 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.3119, allocations: 1.25 kB / 0.5199 GB, free: 14.24 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.002073/0.314, allocations: 1.233 MB / 0.5211 GB, free: 13.39 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3141, allocations: 13.61 kB / 0.5211 GB, free: 13.39 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/0.3153, allocations: 202.5 kB / 0.5213 GB, free: 13.33 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001017/0.3163, allocations: 0.6422 MB / 0.5219 GB, free: 12.9 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.3164, allocations: 48.69 kB / 0.5219 GB, free: 12.88 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/0.3165, allocations: 72.91 kB / 0.522 GB, free: 12.85 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001529/0.318, allocations: 0.8865 MB / 0.5229 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.44e-05/0.3181, allocations: 2.266 kB / 0.5229 GB, free: 12.43 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.135e-05/0.3182, allocations: 30.39 kB / 0.5229 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/0.3182, allocations: 35.67 kB / 0.5229 GB, free: 12.41 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.3197, allocations: 0.7883 MB / 0.5237 GB, free: 12.14 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004732/0.3245, allocations: 3.237 MB / 0.5269 GB, free: 10.1 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.3262, allocations: 0.9623 MB / 0.5278 GB, free: 9.527 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.3268, allocations: 311.6 kB / 0.5281 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.691e-05/0.3269, allocations: 8.516 kB / 0.5281 GB, free: 9.406 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.066e-05/0.3269, allocations: 38.95 kB / 0.5282 GB, free: 9.363 MB / 398.1 MB Notification: Performance of pre-optimization done (n=59): time 2.224e-06/0.3269, allocations: 0 / 0.5282 GB, free: 9.363 MB / 398.1 MB Notification: Performance of matching and sorting (n=63): time 0.005013/0.3319, allocations: 2.557 MB / 0.5307 GB, free: 7.934 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.505e-05/0.332, allocations: 115.1 kB / 0.5308 GB, free: 7.805 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007563/0.3328, allocations: 0.5741 MB / 0.5313 GB, free: 7.555 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.481e-05/0.3329, allocations: 40.48 kB / 0.5314 GB, free: 7.512 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/0.3331, allocations: 376.2 kB / 0.5317 GB, free: 7.215 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001959/0.3333, allocations: 240.3 kB / 0.5319 GB, free: 7.023 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002034/0.3336, allocations: 117.7 kB / 0.5321 GB, free: 6.961 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001598/0.3337, allocations: 388.2 kB / 0.5324 GB, free: 6.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005795/0.3343, allocations: 269.1 kB / 0.5327 GB, free: 6.457 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.335, allocations: 419.2 kB / 0.5331 GB, free: 6.148 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001238/0.3362, allocations: 0.6874 MB / 0.5338 GB, free: 5.715 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/0.3363, allocations: 3.938 kB / 0.5338 GB, free: 5.711 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001591/0.3379, allocations: 0.8418 MB / 0.5346 GB, free: 5.273 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.3379, allocations: 11.22 kB / 0.5346 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.3379, allocations: 3.812 kB / 0.5346 GB, free: 5.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002509/0.3382, allocations: 56.97 kB / 0.5347 GB, free: 5.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007699/0.3389, allocations: 184.5 kB / 0.5348 GB, free: 5.191 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001684/0.3406, allocations: 1.799 MB / 0.5366 GB, free: 3.457 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004696/0.3411, allocations: 58.69 kB / 0.5366 GB, free: 3.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.3412, allocations: 23.75 kB / 0.5367 GB, free: 3.422 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007553/0.3419, allocations: 443.9 kB / 0.5371 GB, free: 3.152 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006554/0.3426, allocations: 400.2 kB / 0.5375 GB, free: 2.859 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001212/0.3438, allocations: 0.6737 MB / 0.5381 GB, free: 2.422 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.519e-06/0.3438, allocations: 1.125 kB / 0.5381 GB, free: 2.422 MB / 398.1 MB Notification: Performance of matching and sorting (n=83) (initialization_lambda0): time 0.00161/0.3455, allocations: 0.8075 MB / 0.5389 GB, free: 2.008 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.3455, allocations: 8.188 kB / 0.5389 GB, free: 2.008 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.3455, allocations: 7.312 kB / 0.5389 GB, free: 2.004 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002103/0.3457, allocations: 62 kB / 0.539 GB, free: 1.973 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007328/0.3465, allocations: 172.7 kB / 0.5392 GB, free: 1.93 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001531/0.348, allocations: 1.803 MB / 0.5409 GB, free: 204 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000487/0.3485, allocations: 52.2 kB / 0.541 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.518e-05/0.3486, allocations: 22.66 kB / 0.541 GB, free: 172 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.0002073/0.3488, allocations: 218 kB / 0.5412 GB, free: 15.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3489, allocations: 74.25 kB / 0.5413 GB, free: 15.92 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00166/0.3506, allocations: 0.7847 MB / 0.542 GB, free: 15.46 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.061e-05/0.3506, allocations: 5.078 kB / 0.542 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3506, allocations: 1.219 kB / 0.542 GB, free: 15.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002494/0.3509, allocations: 200.5 kB / 0.5422 GB, free: 15.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.275e-05/0.351, allocations: 12.66 kB / 0.5422 GB, free: 15.26 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004494/0.3514, allocations: 46.19 kB / 0.5423 GB, free: 15.24 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.3516, allocations: 58.56 kB / 0.5423 GB, free: 15.2 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002348/0.3539, allocations: 1.018 MB / 0.5433 GB, free: 14.62 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002064/0.356, allocations: 1.29 MB / 0.5446 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005896/0.3566, allocations: 315.8 kB / 0.5449 GB, free: 13.66 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006082/0.3572, allocations: 422.1 kB / 0.5453 GB, free: 13.41 MB / 414.1 MB Notification: Performance of Backend: time 6.21e-07/0.3572, allocations: 4 kB / 0.5453 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.002865/0.3601, allocations: 1.323 MB / 0.5466 GB, free: 12.63 MB / 414.1 MB Notification: Performance of SimCode: time 0.002497/0.3626, allocations: 1.961 MB / 0.5485 GB, free: 10.67 MB / 414.1 MB Notification: Performance of Templates: time 0.02286/0.3855, allocations: 13.73 MB / 0.5619 GB, free: 13 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.PowerPlantTest3.pipe 2>&1)