Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00188/0.00188, allocations: 95.61 kB / 20.96 MB, free: 3.461 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002035/0.002035, allocations: 161.6 kB / 24.27 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.526/1.526, allocations: 177.1 MB / 204.6 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.293/0.293, allocations: 29.41 MB / 290.5 MB, free: 2.426 MB / 266.7 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.119e-05/3.284e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.008166/0.008199, allocations: 5.086 MB / 374 MB, free: 6.207 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004218/0.01242, allocations: 2.128 MB / 376.1 MB, free: 4.074 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003931/0.01281, allocations: 31.75 kB / 376.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009632/0.01377, allocations: 270.3 kB / 376.4 MB, free: 3.777 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008124/0.01459, allocations: 345.8 kB / 376.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009888/0.01557, allocations: 426.9 kB / 377.1 MB, free: 3.02 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001145/0.01672, allocations: 0.8929 MB / 378 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007276/0.01745, allocations: 452.6 kB / 378.5 MB, free: 1.68 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007756/0.01822, allocations: 0.4909 MB / 379 MB, free: 1.188 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005165/0.01874, allocations: 291.1 kB / 379.3 MB, free: 0.9023 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000117/0.01886, allocations: 72 kB / 379.3 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005553/0.01941, allocations: 299.2 kB / 379.6 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002441/0.01965, allocations: 203.3 kB / 379.8 MB, free: 348 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002877/0.01994, allocations: 211.4 kB / 380 MB, free: 136 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00134/0.02128, allocations: 0.9579 MB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.02129, allocations: 0 / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02129, allocations: 0 / 381 MB, free: 15.17 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.0213, allocations: 4 kB / 381 MB, free: 15.17 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002025/0.02332, allocations: 1.093 MB / 382.1 MB, free: 14.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.02336, allocations: 11.98 kB / 382.1 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009898/0.02435, allocations: 220.2 kB / 382.3 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009531/0.0253, allocations: 476.8 kB / 382.8 MB, free: 13.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000175/0.02548, allocations: 41.36 kB / 382.8 MB, free: 13.27 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.0256, allocations: 52.36 kB / 382.9 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001278/0.02688, allocations: 0.6709 MB / 383.5 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.048e-05/0.02691, allocations: 12.06 kB / 383.5 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.132e-05/0.02697, allocations: 24.11 kB / 383.6 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.302e-05/0.02702, allocations: 32.98 kB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001102/0.02812, allocations: 415.6 kB / 384 MB, free: 12.01 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004352/0.03247, allocations: 2.831 MB / 386.8 MB, free: 9.078 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.03366, allocations: 439.7 kB / 387.3 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004058/0.03406, allocations: 167.9 kB / 387.4 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.776e-05/0.03411, allocations: 8.328 kB / 387.4 MB, free: 8.445 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006297/0.03474, allocations: 296 kB / 387.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.863e-06/0.03474, allocations: 0 / 387.7 MB, free: 8.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.00163/0.03637, allocations: 0.5552 MB / 388.3 MB, free: 7.562 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.03651, allocations: 170.2 kB / 388.4 MB, free: 7.359 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007321/0.03724, allocations: 0.5456 MB / 389 MB, free: 6.801 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.015e-05/0.03729, allocations: 37.7 kB / 389 MB, free: 6.758 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003731/0.03766, allocations: 395.8 kB / 389.4 MB, free: 6.367 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.03783, allocations: 158.8 kB / 389.6 MB, free: 6.211 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002116/0.03804, allocations: 111.8 kB / 389.7 MB, free: 6.09 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0006339/0.03868, allocations: 0.5742 MB / 390.3 MB, free: 5.504 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004293/0.03911, allocations: 175.3 kB / 390.4 MB, free: 5.324 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006343/0.03974, allocations: 404.7 kB / 390.8 MB, free: 4.836 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009631/0.0407, allocations: 496.7 kB / 391.3 MB, free: 4.281 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.04071, allocations: 0 / 391.3 MB, free: 4.281 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001726/0.04243, allocations: 0.699 MB / 392 MB, free: 3.559 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.883e-05/0.04248, allocations: 37.69 kB / 392 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.04249, allocations: 4 kB / 392 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006861/0.04318, allocations: 172.1 kB / 392.2 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003932/0.04357, allocations: 83.89 kB / 392.3 MB, free: 3.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.04794, allocations: 3.079 MB / 395.4 MB, free: 64 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004932/0.04843, allocations: 67.72 kB / 395.4 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-05/0.04848, allocations: 16 kB / 395.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006254/0.0491, allocations: 341.5 kB / 395.8 MB, free: 15.64 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005935/0.0497, allocations: 400.6 kB / 396.2 MB, free: 15.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000882/0.05058, allocations: 469.1 kB / 396.6 MB, free: 14.63 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.093e-06/0.05059, allocations: 11.88 kB / 396.7 MB, free: 14.62 MB / 378.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.001563/0.05215, allocations: 0.6325 MB / 397.3 MB, free: 13.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.037e-05/0.05219, allocations: 38.12 kB / 397.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.0522, allocations: 4 kB / 397.3 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004496/0.05265, allocations: 131.5 kB / 397.5 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/0.05301, allocations: 87.83 kB / 397.5 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003405/0.05642, allocations: 2.935 MB / 400.5 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004264/0.05685, allocations: 63.64 kB / 400.5 MB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.336e-05/0.0569, allocations: 24.03 kB / 400.6 MB, free: 10.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.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 (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 1 * 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,13)} Notification: Performance of prepare postOptimizeDAE: time 0.0002677/0.05717, allocations: 303 kB / 400.9 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001296/0.0573, allocations: 63.67 kB / 400.9 MB, free: 10.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00111/0.05841, allocations: 434.9 kB / 401.3 MB, free: 9.762 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.05841, allocations: 7.984 kB / 401.4 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.05842, allocations: 4 kB / 401.4 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.293e-06/0.05843, allocations: 0 / 401.4 MB, free: 9.75 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002041/0.06047, allocations: 1.072 MB / 402.4 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.06047, allocations: 0 / 402.4 MB, free: 8.633 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004517/0.06092, allocations: 79.89 kB / 402.5 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001415/0.06106, allocations: 31.67 kB / 402.5 MB, free: 8.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.958e-05/0.0611, allocations: 12 kB / 402.5 MB, free: 8.508 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.06281, allocations: 1.861 MB / 404.4 MB, free: 6.523 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.06281, allocations: 4 kB / 404.4 MB, free: 6.52 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001584/0.06439, allocations: 0.7731 MB / 405.2 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002341/0.06463, allocations: 87.58 kB / 405.3 MB, free: 5.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.62e-05/0.06469, allocations: 7.984 kB / 405.3 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003307/0.06503, allocations: 28.02 kB / 405.3 MB, free: 5.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001389/0.06516, allocations: 40.06 kB / 405.3 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.095e-05/0.06521, allocations: 15.98 kB / 405.4 MB, free: 5.535 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005086/0.06572, allocations: 351 kB / 405.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.06572, allocations: 0 / 405.7 MB, free: 5.191 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009919/0.06672, allocations: 259.4 kB / 406 MB, free: 4.938 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (hydroPlant.reservoirLevel.y,hydroPlant.rotor.phi,hydroPlant.rotor.w,hydroPlant.controlDynamics.x_scaled[1]) * Number of discrete variables: 4 (system.initime,$whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001825/0.0669, allocations: 119.1 kB / 406.1 MB, free: 4.809 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003267/0.07017, allocations: 1.226 MB / 407.3 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.07017, allocations: 0 / 407.3 MB, free: 3.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000955/0.07112, allocations: 373.3 kB / 407.7 MB, free: 3.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.07228, allocations: 120.1 kB / 407.8 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003326/0.07561, allocations: 1.121 MB / 408.9 MB, free: 1.844 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005519/0.07616, allocations: 299.3 kB / 409.2 MB, free: 1.523 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005419/0.0767, allocations: 87.36 kB / 409.3 MB, free: 1.438 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001997/0.0769, allocations: 40.5 kB / 409.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of SimCode: time 1.292e-06/0.0769, allocations: 0 / 409.3 MB, free: 1.398 MB / 378.7 MB Notification: Performance of Templates: time 0.02565/0.1025, allocations: 7.878 MB / 417.2 MB, free: 9.609 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1 -abortSlowSimulation -alarm=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.994652051012963]