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.001012/0.001012, allocations: 75.75 kB / 21.69 MB, free: 2.852 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.00118/0.00118, allocations: 166.7 kB / 24.99 MB, free: 8.688 MB / 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.983/0.983, allocations: 177.1 MB / 205.3 MB, free: 5.285 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.2562/0.2562, allocations: 29.42 MB / 291.2 MB, free: 2.5 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 1.533e-06/1.533e-06, allocations: 3.938 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.233e-05/2.387e-05, allocations: 2.312 kB / 369.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.005412/0.005436, allocations: 5.62 MB / 375.2 MB, free: 5.688 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003135/0.008571, allocations: 2.598 MB / 377.8 MB, free: 3.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005294/0.0091, allocations: 35.75 kB / 377.9 MB, free: 3.047 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008911/0.009991, allocations: 373.9 kB / 378.2 MB, free: 2.68 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009347/0.01093, allocations: 481.2 kB / 378.7 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008363/0.01176, allocations: 486.7 kB / 379.2 MB, free: 1.73 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009024/0.01266, allocations: 1.049 MB / 380.2 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006292/0.01329, allocations: 492.5 kB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006484/0.01394, allocations: 0.5727 MB / 381.3 MB, free: 15.62 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004863/0.01443, allocations: 358.9 kB / 381.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.009e-05/0.01451, allocations: 72 kB / 381.7 MB, free: 15.2 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005861/0.01509, allocations: 450.7 kB / 382.1 MB, free: 14.76 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001791/0.01527, allocations: 247.3 kB / 382.4 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002036/0.01548, allocations: 247.3 kB / 382.6 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009038/0.01638, allocations: 0.7707 MB / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.01639, allocations: 0 / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.483e-06/0.01639, allocations: 0 / 383.4 MB, free: 13.5 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.0164, allocations: 0 / 383.4 MB, free: 13.5 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.001428/0.01783, allocations: 1.122 MB / 384.5 MB, free: 12.33 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.01786, allocations: 11.98 kB / 384.5 MB, free: 12.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009175/0.01878, allocations: 264.2 kB / 384.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006529/0.01944, allocations: 0.5247 MB / 385.3 MB, free: 11.51 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.01947, allocations: 41.69 kB / 385.4 MB, free: 11.47 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.674e-05/0.01954, allocations: 60.33 kB / 385.4 MB, free: 11.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/0.02027, allocations: 0.6068 MB / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.02029, allocations: 192 / 386 MB, free: 10.74 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.594e-05/0.02034, allocations: 32.09 kB / 386.1 MB, free: 10.71 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.302e-05/0.02038, allocations: 41.23 kB / 386.1 MB, free: 10.67 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.02087, allocations: 295.5 kB / 386.4 MB, free: 10.38 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002425/0.02329, allocations: 2.606 MB / 389 MB, free: 7.688 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005456/0.02384, allocations: 316.4 kB / 389.3 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002403/0.02408, allocations: 160.7 kB / 389.5 MB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.02412, allocations: 12.5 kB / 389.5 MB, free: 7.176 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003366/0.02445, allocations: 264.8 kB / 389.7 MB, free: 6.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.064e-06/0.02446, allocations: 0 / 389.7 MB, free: 6.895 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.001861/0.02632, allocations: 1.201 MB / 390.9 MB, free: 5.648 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.283e-05/0.02638, allocations: 141 kB / 391.1 MB, free: 5.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003332/0.02671, allocations: 430.6 kB / 391.5 MB, free: 5.043 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.885e-05/0.02675, allocations: 37.7 kB / 391.5 MB, free: 5 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001841/0.02694, allocations: 375.6 kB / 391.9 MB, free: 4.629 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.02706, allocations: 198.3 kB / 392.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/0.0272, allocations: 119.9 kB / 392.2 MB, free: 4.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.02735, allocations: 0.5392 MB / 392.7 MB, free: 3.758 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002068/0.02756, allocations: 143.9 kB / 392.9 MB, free: 3.605 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.02783, allocations: 343.4 kB / 393.2 MB, free: 3.188 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.02829, allocations: 423.4 kB / 393.6 MB, free: 2.711 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02829, allocations: 0 / 393.6 MB, free: 2.711 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0009049/0.02919, allocations: 0.6518 MB / 394.3 MB, free: 2.031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.409e-05/0.02923, allocations: 33.7 kB / 394.3 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.02923, allocations: 4 kB / 394.3 MB, free: 1.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004561/0.02969, allocations: 151.4 kB / 394.5 MB, free: 1.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002667/0.02996, allocations: 111.8 kB / 394.6 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002556/0.03251, allocations: 4.318 MB / 398.9 MB, free: 13.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.03276, allocations: 35.97 kB / 398.9 MB, free: 13.13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.57e-05/0.0328, allocations: 27.98 kB / 399 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00029/0.03309, allocations: 265.8 kB / 399.2 MB, free: 12.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002639/0.03335, allocations: 347.4 kB / 399.6 MB, free: 12.42 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000425/0.03378, allocations: 415.5 kB / 400 MB, free: 11.95 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.814e-06/0.03378, allocations: 0 / 400 MB, free: 11.95 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.000776/0.03455, allocations: 0.6244 MB / 400.6 MB, free: 11.3 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.813e-05/0.03458, allocations: 33.7 kB / 400.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.03459, allocations: 4 kB / 400.6 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000307/0.03489, allocations: 135.3 kB / 400.8 MB, free: 11.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002567/0.03515, allocations: 111.8 kB / 400.9 MB, free: 11.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002178/0.03733, allocations: 4.261 MB / 405.1 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.03757, allocations: 39.95 kB / 405.2 MB, free: 6.469 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.201e-05/0.0376, allocations: 27.98 kB / 405.2 MB, free: 6.441 MB / 378.7 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.0001701/0.03777, allocations: 303.9 kB / 405.5 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.073e-05/0.03785, allocations: 79.64 kB / 405.6 MB, free: 6.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006938/0.03854, allocations: 0.4946 MB / 406.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.32e-06/0.03855, allocations: 15.97 kB / 406.1 MB, free: 5.531 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.03855, allocations: 4 kB / 406.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.03856, allocations: 0 / 406.1 MB, free: 5.527 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.03986, allocations: 1.149 MB / 407.2 MB, free: 4.305 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.03986, allocations: 3.938 kB / 407.2 MB, free: 4.301 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000314/0.04017, allocations: 119.9 kB / 407.3 MB, free: 4.184 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001411/0.04032, allocations: 55.27 kB / 407.4 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.04035, allocations: 16 kB / 407.4 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00132/0.04167, allocations: 3.511 MB / 410.9 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.04167, allocations: 3.938 kB / 410.9 MB, free: 348 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008675/0.04254, allocations: 0.8117 MB / 411.7 MB, free: 15.47 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001427/0.04268, allocations: 107.5 kB / 411.8 MB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.902e-05/0.04273, allocations: 19.98 kB / 411.9 MB, free: 15.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002008/0.04293, allocations: 35.97 kB / 411.9 MB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.04304, allocations: 60.33 kB / 412 MB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.583e-05/0.04307, allocations: 16 kB / 412 MB, free: 15.24 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002023/0.04327, allocations: 287 kB / 412.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.04327, allocations: 0 / 412.3 MB, free: 14.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006677/0.04394, allocations: 259.9 kB / 412.5 MB, free: 14.7 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.0001325/0.04407, allocations: 123.1 kB / 412.6 MB, free: 14.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00143/0.0455, allocations: 1.513 MB / 414.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.0455, allocations: 0 / 414.1 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.04592, allocations: 0.5549 MB / 414.7 MB, free: 12.35 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005001/0.04642, allocations: 136.7 kB / 414.8 MB, free: 12.23 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.04835, allocations: 1.303 MB / 416.1 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001364/0.04849, allocations: 176.1 kB / 416.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002773/0.04876, allocations: 124.4 kB / 416.4 MB, free: 10.54 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.04888, allocations: 44.5 kB / 416.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.04888, allocations: 3.938 kB / 416.5 MB, free: 10.49 MB / 394.7 MB Notification: Performance of Templates: time 0.01284/0.06172, allocations: 9.956 MB / 426.4 MB, free: 0.6367 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.327768508112058]