Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.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.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001117/0.001117, allocations: 104.8 kB / 17.74 MB, free: 5.316 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.001178/0.001178, allocations: 194.9 kB / 18.67 MB, free: 4.395 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.34/1.34, allocations: 222.9 MB / 242.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1798/0.1798, allocations: 38.02 MB / 330.6 MB, free: 8.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001405/0.001405, allocations: 63.91 kB / 458.8 MB, free: 6.828 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/0.2986, allocations: 58.05 MB / 0.5048 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.005712/0.3044, allocations: 5.623 MB / 0.5102 GB, free: 3.867 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003527/0.3079, allocations: 2.604 MB / 0.5128 GB, free: 2.027 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005441/0.3085, allocations: 23.5 kB / 0.5128 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.3096, allocations: 374.9 kB / 0.5132 GB, free: 1.789 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00101/0.3106, allocations: 470.9 kB / 0.5136 GB, free: 1.523 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001052/0.3117, allocations: 462.9 kB / 0.5141 GB, free: 1.262 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00116/0.3128, allocations: 1.066 MB / 0.5151 GB, free: 0.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007201/0.3136, allocations: 0.5592 MB / 0.5156 GB, free: 488 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005283/0.3141, allocations: 421.5 kB / 0.516 GB, free: 280 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004975/0.3146, allocations: 426 kB / 0.5165 GB, free: 72 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.3147, allocations: 73.75 kB / 0.5165 GB, free: 72 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009109/0.3157, allocations: 0.5016 MB / 0.517 GB, free: 15.89 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002452/0.3159, allocations: 236.6 kB / 0.5172 GB, free: 15.77 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003843/0.3163, allocations: 376.3 kB / 0.5176 GB, free: 15.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001513/0.3178, allocations: 1.08 MB / 0.5187 GB, free: 15.09 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3179, allocations: 0 / 0.5187 GB, free: 15.09 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3179, allocations: 0.5625 kB / 0.5187 GB, free: 15.09 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.3179, allocations: 3.938 kB / 0.5187 GB, free: 15.08 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002318/0.3202, allocations: 1.103 MB / 0.5197 GB, free: 14.3 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3203, allocations: 13.14 kB / 0.5197 GB, free: 14.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001305/0.3216, allocations: 189.7 kB / 0.5199 GB, free: 14.24 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009847/0.3226, allocations: 0.5568 MB / 0.5205 GB, free: 13.86 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.1e-05/0.3226, allocations: 43.91 kB / 0.5205 GB, free: 13.84 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001166/0.3227, allocations: 58.42 kB / 0.5206 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001508/0.3243, allocations: 0.787 MB / 0.5213 GB, free: 13.46 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.415e-05/0.3243, allocations: 5.656 kB / 0.5213 GB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.921e-05/0.3244, allocations: 22.48 kB / 0.5214 GB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.323e-05/0.3244, allocations: 35.83 kB / 0.5214 GB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00156/0.326, allocations: 0.7315 MB / 0.5221 GB, free: 13.2 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00437/0.3304, allocations: 2.894 MB / 0.5249 GB, free: 11.32 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00141/0.3318, allocations: 0.584 MB / 0.5255 GB, free: 11.09 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007173/0.3325, allocations: 362.5 kB / 0.5259 GB, free: 10.95 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.602e-05/0.3326, allocations: 13.86 kB / 0.5259 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008553/0.3335, allocations: 421.4 kB / 0.5263 GB, free: 10.76 MB / 398.1 MB Notification: Performance of pre-optimization done (n=56): time 2.424e-06/0.3335, allocations: 0 / 0.5263 GB, free: 10.76 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.004488/0.338, allocations: 2.115 MB / 0.5283 GB, free: 9.656 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.3381, allocations: 115.2 kB / 0.5284 GB, free: 9.527 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007157/0.3388, allocations: 482.5 kB / 0.5289 GB, free: 9.309 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.206e-05/0.3389, allocations: 36.95 kB / 0.5289 GB, free: 9.27 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002775/0.3391, allocations: 310.5 kB / 0.5292 GB, free: 9.02 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001899/0.3393, allocations: 194.3 kB / 0.5294 GB, free: 8.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002045/0.3396, allocations: 115.9 kB / 0.5295 GB, free: 8.805 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001695/0.3397, allocations: 371.1 kB / 0.5299 GB, free: 8.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006458/0.3404, allocations: 289.3 kB / 0.5302 GB, free: 8.363 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007075/0.3411, allocations: 402.8 kB / 0.5305 GB, free: 8.141 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001311/0.3424, allocations: 0.7278 MB / 0.5313 GB, free: 7.684 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-06/0.3424, allocations: 1.844 kB / 0.5313 GB, free: 7.684 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.002206/0.3447, allocations: 1.01 MB / 0.5322 GB, free: 7.129 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.92e-05/0.3447, allocations: 31.98 kB / 0.5323 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3447, allocations: 3.875 kB / 0.5323 GB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006623/0.3454, allocations: 192.7 kB / 0.5325 GB, free: 6.996 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000535/0.3459, allocations: 113.8 kB / 0.5326 GB, free: 6.965 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004599/0.3505, allocations: 4.135 MB / 0.5366 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000671/0.3512, allocations: 56.08 kB / 0.5367 GB, free: 3.203 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.523e-05/0.3513, allocations: 30.62 kB / 0.5367 GB, free: 3.191 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009389/0.3523, allocations: 442.3 kB / 0.5371 GB, free: 2.926 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006944/0.353, allocations: 396 kB / 0.5375 GB, free: 2.648 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001245/0.3542, allocations: 0.6946 MB / 0.5382 GB, free: 2.203 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.148e-06/0.3543, allocations: 5.312 kB / 0.5382 GB, free: 2.199 MB / 398.1 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.001947/0.3562, allocations: 0.9282 MB / 0.5391 GB, free: 1.684 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.38e-05/0.3563, allocations: 36.47 kB / 0.5391 GB, free: 1.648 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3563, allocations: 7.312 kB / 0.5391 GB, free: 1.645 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005283/0.3568, allocations: 173.7 kB / 0.5393 GB, free: 1.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005059/0.3573, allocations: 111 kB / 0.5394 GB, free: 1.523 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003849/0.3612, allocations: 3.944 MB / 0.5432 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006628/0.3619, allocations: 51.56 kB / 0.5433 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.984e-05/0.362, allocations: 20.44 kB / 0.5433 GB, free: 13.84 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1,hydroPlant.reservoirLevel.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002577/0.3622, allocations: 221 kB / 0.5435 GB, free: 13.63 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.3624, allocations: 63.52 kB / 0.5436 GB, free: 13.6 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001815/0.3642, allocations: 0.8147 MB / 0.5444 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.161e-05/0.3642, allocations: 3.984 kB / 0.5444 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.547e-06/0.3642, allocations: 1.344 kB / 0.5444 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003356/0.3646, allocations: 193.4 kB / 0.5446 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.3647, allocations: 15.5 kB / 0.5446 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005114/0.3652, allocations: 58.42 kB / 0.5446 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001438/0.3653, allocations: 50.86 kB / 0.5447 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002187/0.3675, allocations: 0.9818 MB / 0.5456 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002183/0.3697, allocations: 1.34 MB / 0.547 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006445/0.3704, allocations: 343.8 kB / 0.5473 GB, free: 11.29 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0005668/0.371, allocations: 342 kB / 0.5476 GB, free: 11.09 MB / 414.1 MB Notification: Performance of Backend: time 9.02e-07/0.371, allocations: 0 / 0.5476 GB, free: 11.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.003631/0.3746, allocations: 1.765 MB / 0.5493 GB, free: 9.598 MB / 414.1 MB Notification: Performance of SimCode: time 0.002565/0.3772, allocations: 1.804 MB / 0.5511 GB, free: 7.738 MB / 414.1 MB Notification: Performance of Templates: time 0.02301/0.4002, allocations: 14.4 MB / 0.5652 GB, free: 9.387 MB / 430.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1)