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.0008979/0.0008979, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0008913/0.0008913, allocations: 163.9 kB / 25.61 MB, free: 8.582 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.889/0.889, allocations: 177.2 MB / 206.1 MB, free: 4.469 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.1159/0.1159, allocations: 29.42 MB / 292 MB, free: 2.621 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.784e-06/1.784e-06, allocations: 4 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.221e-05, allocations: 4.984 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.003679/0.003691, allocations: 5.358 MB / 376.2 MB, free: 26.94 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002041/0.005732, allocations: 2.107 MB / 378.3 MB, free: 24.82 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002617/0.005994, allocations: 27.81 kB / 378.4 MB, free: 24.8 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005722/0.006566, allocations: 278.3 kB / 378.6 MB, free: 24.52 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004825/0.007049, allocations: 425.5 kB / 379.1 MB, free: 24.11 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005436/0.007592, allocations: 490.7 kB / 379.5 MB, free: 23.62 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008158/0.008408, allocations: 1.033 MB / 380.6 MB, free: 22.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006798/0.009088, allocations: 484.5 kB / 381 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006973/0.009785, allocations: 0.5688 MB / 381.6 MB, free: 21.54 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.01018, allocations: 370.9 kB / 382 MB, free: 21.18 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.908e-05/0.01025, allocations: 72 kB / 382 MB, free: 21.11 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004036/0.01065, allocations: 398.9 kB / 382.4 MB, free: 20.72 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00013/0.01078, allocations: 251.3 kB / 382.7 MB, free: 20.47 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000156/0.01094, allocations: 239.4 kB / 382.9 MB, free: 20.24 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006742/0.01161, allocations: 0.7436 MB / 383.7 MB, free: 19.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01161, allocations: 0 / 383.7 MB, free: 19.49 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.01162, allocations: 3.938 kB / 383.7 MB, free: 19.49 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.447e-06/0.01162, allocations: 0 / 383.7 MB, free: 19.49 MB / 314.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.001007/0.01263, allocations: 1.102 MB / 384.8 MB, free: 18.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.195e-05/0.01266, allocations: 16.02 kB / 384.8 MB, free: 18.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006984/0.01336, allocations: 256.2 kB / 385 MB, free: 18.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.01383, allocations: 0.4973 MB / 385.5 MB, free: 17.55 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.475e-05/0.01386, allocations: 45.69 kB / 385.6 MB, free: 17.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.036e-05/0.01392, allocations: 56.38 kB / 385.6 MB, free: 17.45 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004806/0.0144, allocations: 0.5677 MB / 386.2 MB, free: 16.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.01442, allocations: 8.078 kB / 386.2 MB, free: 16.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.602e-05/0.01445, allocations: 28.12 kB / 386.2 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.01448, allocations: 37.3 kB / 386.3 MB, free: 16.75 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002917/0.01478, allocations: 238.1 kB / 386.5 MB, free: 16.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00174/0.01652, allocations: 2.493 MB / 389 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003914/0.01691, allocations: 293.2 kB / 389.3 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.01705, allocations: 136.8 kB / 389.4 MB, free: 13.49 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.01708, allocations: 8.5 kB / 389.4 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002297/0.01731, allocations: 244.7 kB / 389.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 2.064e-06/0.01731, allocations: 0 / 389.7 MB, free: 13.22 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001236/0.01855, allocations: 0.9367 MB / 390.6 MB, free: 12.24 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.812e-05/0.01858, allocations: 141 kB / 390.7 MB, free: 12.07 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002016/0.01878, allocations: 422.4 kB / 391.1 MB, free: 11.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.01881, allocations: 41.7 kB / 391.2 MB, free: 11.6 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001193/0.01893, allocations: 363.6 kB / 391.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.135e-05/0.01901, allocations: 214.1 kB / 391.7 MB, free: 11.02 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001105/0.01912, allocations: 115.9 kB / 391.9 MB, free: 10.9 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.489e-05/0.01918, allocations: 0.5391 MB / 392.4 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001131/0.0193, allocations: 119.9 kB / 392.5 MB, free: 10.22 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.01944, allocations: 319.6 kB / 392.8 MB, free: 9.832 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002659/0.01971, allocations: 363.7 kB / 393.2 MB, free: 9.418 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.01971, allocations: 0 / 393.2 MB, free: 9.418 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0006562/0.02037, allocations: 0.5894 MB / 393.8 MB, free: 8.801 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.546e-05/0.02039, allocations: 37.69 kB / 393.8 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.0204, allocations: 0 / 393.8 MB, free: 8.758 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003803/0.02078, allocations: 151.3 kB / 394 MB, free: 8.602 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002377/0.02102, allocations: 99.83 kB / 394.1 MB, free: 8.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.02267, allocations: 4.218 MB / 398.3 MB, free: 4.066 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002724/0.02295, allocations: 31.97 kB / 398.3 MB, free: 4.035 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.796e-05/0.02297, allocations: 16 kB / 398.3 MB, free: 4.02 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002042/0.02318, allocations: 249.8 kB / 398.6 MB, free: 3.762 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001479/0.02333, allocations: 315.6 kB / 398.9 MB, free: 3.383 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002569/0.02358, allocations: 363.7 kB / 399.2 MB, free: 2.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.823e-06/0.02358, allocations: 0 / 399.2 MB, free: 2.973 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.000568/0.02415, allocations: 0.5622 MB / 399.8 MB, free: 2.383 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.02417, allocations: 29.7 kB / 399.8 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.02418, allocations: 4 kB / 399.8 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002583/0.02443, allocations: 135.4 kB / 400 MB, free: 2.203 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002204/0.02465, allocations: 99.83 kB / 400.1 MB, free: 2.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001935/0.02659, allocations: 4.188 MB / 404.2 MB, free: 13.69 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002851/0.02687, allocations: 31.98 kB / 404.3 MB, free: 13.66 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.077e-05/0.0269, allocations: 19.98 kB / 404.3 MB, free: 13.64 MB / 330.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,hydroPlant.reservoirLevel.local_reset,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.T_start,$whenCondition1) * 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.0001729/0.02708, allocations: 292.5 kB / 404.6 MB, free: 13.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.106e-05/0.02716, allocations: 79.62 kB / 404.7 MB, free: 13.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005801/0.02774, allocations: 462.4 kB / 405.1 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.02774, allocations: 8 kB / 405.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.02775, allocations: 0 / 405.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.194e-06/0.02776, allocations: 3.984 kB / 405.1 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00138/0.02914, allocations: 1.024 MB / 406.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.02914, allocations: 0 / 406.1 MB, free: 11.7 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.02946, allocations: 112.1 kB / 406.2 MB, free: 11.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000142/0.0296, allocations: 55.27 kB / 406.3 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.02963, allocations: 16 kB / 406.3 MB, free: 11.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001375/0.03101, allocations: 3.473 MB / 409.8 MB, free: 7.797 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.03101, allocations: 4 kB / 409.8 MB, free: 7.793 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007655/0.03177, allocations: 0.7334 MB / 410.5 MB, free: 7.008 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.03193, allocations: 103.6 kB / 410.6 MB, free: 6.906 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.74e-05/0.03197, allocations: 16.09 kB / 410.6 MB, free: 6.891 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.03217, allocations: 31.98 kB / 410.7 MB, free: 6.859 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.466e-05/0.03226, allocations: 64.27 kB / 410.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.03229, allocations: 12.19 kB / 410.8 MB, free: 6.785 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001711/0.03246, allocations: 271 kB / 411 MB, free: 6.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.03246, allocations: 0 / 411 MB, free: 6.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006831/0.03314, allocations: 256 kB / 411.3 MB, free: 6.27 MB / 330.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.0001386/0.03328, allocations: 126.9 kB / 411.4 MB, free: 6.141 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001217/0.0345, allocations: 1.448 MB / 412.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.0345, allocations: 0 / 412.8 MB, free: 4.574 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003739/0.03487, allocations: 0.5227 MB / 413.4 MB, free: 4.016 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.03533, allocations: 122.5 kB / 413.5 MB, free: 3.902 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.03712, allocations: 1.288 MB / 414.8 MB, free: 2.547 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001418/0.03726, allocations: 176 kB / 414.9 MB, free: 2.355 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002523/0.03751, allocations: 72.53 kB / 415 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002995/0.03781, allocations: 194 kB / 415.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of SimCode: time 1.704e-06/0.03782, allocations: 0 / 415.2 MB, free: 2.094 MB / 330.7 MB Notification: Performance of Templates: time 0.01471/0.05253, allocations: 10.84 MB / 426 MB, free: 7.379 MB / 346.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.105992035008967]