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.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.001088/0.001088, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001162/0.001162, allocations: 165 kB / 24.56 MB, free: 12 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 0.9146/0.9146, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] 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.2269/0.2269, allocations: 29.42 MB / 290.9 MB, free: 2.523 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.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.094e-06/2.094e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.462e-05/2.671e-05, allocations: 2.312 kB / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.007538/0.007565, allocations: 5.428 MB / 375.1 MB, free: 5.559 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003782/0.01135, allocations: 2.126 MB / 377.2 MB, free: 3.426 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000708/0.01205, allocations: 27.81 kB / 377.2 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001092/0.01315, allocations: 274.3 kB / 377.5 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001197/0.01434, allocations: 433.5 kB / 377.9 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.01563, allocations: 482.7 kB / 378.4 MB, free: 2.23 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001509/0.01714, allocations: 1.037 MB / 379.4 MB, free: 1.191 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009315/0.01807, allocations: 0.4886 MB / 379.9 MB, free: 0.6992 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/0.01911, allocations: 0.5533 MB / 380.5 MB, free: 148 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007203/0.01983, allocations: 370.9 kB / 380.8 MB, free: 15.78 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001781/0.02001, allocations: 72 kB / 380.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007283/0.02073, allocations: 391 kB / 381.3 MB, free: 15.33 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000249/0.02098, allocations: 251.2 kB / 381.5 MB, free: 15.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003539/0.02134, allocations: 243.4 kB / 381.8 MB, free: 14.84 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001331/0.02267, allocations: 0.7435 MB / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.706e-06/0.02267, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.02267, allocations: 0 / 382.5 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.924e-05/0.02269, allocations: 0 / 382.5 MB, free: 14.1 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001846/0.02454, allocations: 1.11 MB / 383.6 MB, free: 12.94 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.02458, allocations: 15.98 kB / 383.6 MB, free: 12.93 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001179/0.02576, allocations: 268.1 kB / 383.9 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008518/0.02661, allocations: 0.5014 MB / 384.4 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.094e-05/0.02665, allocations: 49.67 kB / 384.4 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.705e-05/0.02675, allocations: 64.33 kB / 384.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.02773, allocations: 0.6068 MB / 385.1 MB, free: 11.36 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/0.02775, allocations: 4.125 kB / 385.1 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.552e-05/0.02781, allocations: 28.12 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.765e-05/0.02787, allocations: 37.3 kB / 385.2 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006608/0.02853, allocations: 295.5 kB / 385.5 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.03113, allocations: 2.614 MB / 388.1 MB, free: 8.297 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005848/0.03172, allocations: 323.7 kB / 388.4 MB, free: 7.961 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002413/0.03196, allocations: 156.8 kB / 388.5 MB, free: 7.801 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.414e-05/0.03199, allocations: 8.594 kB / 388.6 MB, free: 7.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003325/0.03233, allocations: 272.7 kB / 388.8 MB, free: 7.5 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 1.853e-06/0.03233, allocations: 0 / 388.8 MB, free: 7.5 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.001711/0.03404, allocations: 1.197 MB / 390 MB, free: 6.258 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.544e-05/0.0341, allocations: 141 kB / 390.2 MB, free: 6.09 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.03442, allocations: 434.6 kB / 390.6 MB, free: 5.648 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.03446, allocations: 33.7 kB / 390.6 MB, free: 5.609 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001734/0.03463, allocations: 367.6 kB / 391 MB, free: 5.246 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001175/0.03475, allocations: 206.2 kB / 391.2 MB, free: 5.043 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.03488, allocations: 116 kB / 391.3 MB, free: 4.922 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001437/0.03502, allocations: 0.5352 MB / 391.8 MB, free: 4.375 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001996/0.03522, allocations: 135.9 kB / 392 MB, free: 4.23 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002615/0.03548, allocations: 347.8 kB / 392.3 MB, free: 3.812 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004289/0.03591, allocations: 403.7 kB / 392.7 MB, free: 3.359 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.03592, allocations: 4 kB / 392.7 MB, free: 3.355 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008622/0.03678, allocations: 0.6478 MB / 393.3 MB, free: 2.684 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.435e-05/0.03681, allocations: 38.02 kB / 393.4 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.03682, allocations: 4 kB / 393.4 MB, free: 2.637 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004334/0.03725, allocations: 151 kB / 393.5 MB, free: 2.484 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002544/0.03751, allocations: 111.8 kB / 393.6 MB, free: 2.375 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002459/0.03997, allocations: 4.303 MB / 397.9 MB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002343/0.0402, allocations: 40.06 kB / 398 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.704e-05/0.04024, allocations: 27.98 kB / 398 MB, free: 13.76 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002766/0.04051, allocations: 261.8 kB / 398.3 MB, free: 13.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000249/0.04076, allocations: 339.6 kB / 398.6 MB, free: 13.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004117/0.04117, allocations: 399.8 kB / 399 MB, free: 12.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.146e-06/0.04118, allocations: 4 kB / 399 MB, free: 12.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0007403/0.04192, allocations: 0.6168 MB / 399.6 MB, free: 11.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.04194, allocations: 29.7 kB / 399.6 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.04194, allocations: 8 kB / 399.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003036/0.04225, allocations: 142.3 kB / 399.8 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002352/0.04248, allocations: 111.8 kB / 399.9 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002127/0.04461, allocations: 4.249 MB / 404.1 MB, free: 7.203 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.04482, allocations: 47.98 kB / 404.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/0.04485, allocations: 24 kB / 404.2 MB, free: 7.133 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (58): * Single equations (assignments): 55 * 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.0001514/0.045, allocations: 303.9 kB / 404.5 MB, free: 6.828 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.04508, allocations: 83.61 kB / 404.6 MB, free: 6.746 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/0.04573, allocations: 498.4 kB / 405.1 MB, free: 6.242 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.779e-06/0.04574, allocations: 8 kB / 405.1 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-06/0.04574, allocations: 4 kB / 405.1 MB, free: 6.23 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.252e-06/0.04575, allocations: 3.984 kB / 405.1 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001205/0.04695, allocations: 1.156 MB / 406.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.04695, allocations: 0 / 406.2 MB, free: 4.996 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003044/0.04726, allocations: 123.8 kB / 406.4 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00013/0.04739, allocations: 55.53 kB / 406.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.04742, allocations: 19.92 kB / 406.4 MB, free: 4.793 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001352/0.04877, allocations: 3.515 MB / 410 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.04878, allocations: 7.875 kB / 410 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.04961, allocations: 0.7999 MB / 410.8 MB, free: 168 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.04975, allocations: 107.6 kB / 410.9 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.551e-05/0.0498, allocations: 16 kB / 410.9 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001961/0.04999, allocations: 44.05 kB / 410.9 MB, free: 0 / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001154/0.05011, allocations: 56.34 kB / 411 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.841e-05/0.05014, allocations: 19.98 kB / 411 MB, free: 15.93 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001983/0.05034, allocations: 283 kB / 411.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.05034, allocations: 0 / 411.3 MB, free: 15.65 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006344/0.05097, allocations: 259.9 kB / 411.5 MB, free: 15.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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,secondary.T_start,secondary.count) * Number of discrete states: 1 (secondary.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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): 2 systems {(1,2,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001339/0.05111, allocations: 125.9 kB / 411.7 MB, free: 15.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001355/0.05246, allocations: 1.518 MB / 413.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.05246, allocations: 4.062 kB / 413.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003846/0.05285, allocations: 0.5461 MB / 413.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.05329, allocations: 130.1 kB / 413.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.0551, allocations: 1.297 MB / 415.1 MB, free: 11.56 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001329/0.05523, allocations: 180 kB / 415.3 MB, free: 11.36 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.05548, allocations: 120.4 kB / 415.4 MB, free: 11.24 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.0556, allocations: 44.48 kB / 415.5 MB, free: 11.2 MB / 394.7 MB Notification: Performance of SimCode: time 7.32e-07/0.0556, allocations: 4 kB / 415.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of Templates: time 0.01241/0.068, allocations: 10.31 MB / 425.8 MB, free: 0.9844 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2119324449449778]