Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.0009597/0.0009597, allocations: 80.8 kB / 21.5 MB, free: 2.992 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.001028/0.001028, allocations: 171 kB / 24.91 MB, free: 9.188 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.9652/0.9652, allocations: 177.1 MB / 205.3 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.2627/0.2627, allocations: 29.43 MB / 291.2 MB, free: 2.473 MB / 266.7 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/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="mat",numberOfIntervals=2500,variableFilter="Time|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.reservoirLevel.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|hydroPlant.P_control|hydroPlant.P_generator|hydroPlant.reservoirLevel.y",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.638e-05/1.776e-05, allocations: 2.312 kB / 316.8 MB, free: 15.99 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.00494/0.004957, allocations: 5.377 MB / 322.2 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002862/0.00782, allocations: 2.154 MB / 324.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.008206, allocations: 31.75 kB / 324.4 MB, free: 8.391 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000655/0.008861, allocations: 262.4 kB / 324.7 MB, free: 8.133 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006328/0.009494, allocations: 445.3 kB / 325.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006924/0.01019, allocations: 482.7 kB / 325.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007188/0.01091, allocations: 1.03 MB / 326.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004684/0.01137, allocations: 0.5062 MB / 327.1 MB, free: 5.68 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005043/0.01188, allocations: 0.565 MB / 327.7 MB, free: 5.113 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.01226, allocations: 354.9 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.474e-05/0.01234, allocations: 76 kB / 328.1 MB, free: 4.691 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003591/0.0127, allocations: 375 kB / 328.5 MB, free: 4.324 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.01286, allocations: 247.3 kB / 328.7 MB, free: 4.082 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.01302, allocations: 247.3 kB / 328.9 MB, free: 3.84 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006444/0.01367, allocations: 0.7396 MB / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.004e-06/0.01367, allocations: 0 / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.01367, allocations: 0 / 329.7 MB, free: 3.098 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.01368, allocations: 0 / 329.7 MB, free: 3.098 MB / 298.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.001065/0.01474, allocations: 0.9847 MB / 330.7 MB, free: 2.078 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.01478, allocations: 15.98 kB / 330.7 MB, free: 2.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007576/0.01554, allocations: 252.6 kB / 330.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005903/0.01613, allocations: 428 kB / 331.3 MB, free: 1.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.489e-05/0.01616, allocations: 45.67 kB / 331.4 MB, free: 1.328 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.01624, allocations: 60.36 kB / 331.5 MB, free: 1.27 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005614/0.0168, allocations: 0.5439 MB / 332 MB, free: 0.668 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/0.01682, allocations: 4.141 kB / 332 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.83e-05/0.01686, allocations: 32.11 kB / 332 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.649e-05/0.01689, allocations: 41.3 kB / 332.1 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.01721, allocations: 217 kB / 332.3 MB, free: 388 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001812/0.01902, allocations: 1.843 MB / 334.1 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.0194, allocations: 304.7 kB / 334.4 MB, free: 14.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001388/0.01954, allocations: 111.2 kB / 334.5 MB, free: 14.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.177e-05/0.01957, allocations: 16.48 kB / 334.5 MB, free: 14.03 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002481/0.01982, allocations: 240.1 kB / 334.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 1.453e-06/0.01982, allocations: 0 / 334.8 MB, free: 13.77 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001198/0.02102, allocations: 0.8281 MB / 335.6 MB, free: 12.91 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.915e-05/0.02108, allocations: 145 kB / 335.8 MB, free: 12.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002324/0.02131, allocations: 363.2 kB / 336.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.02135, allocations: 37.7 kB / 336.1 MB, free: 12.33 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.02147, allocations: 261.9 kB / 336.4 MB, free: 12.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.02158, allocations: 206.1 kB / 336.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001209/0.0217, allocations: 106.3 kB / 336.7 MB, free: 11.75 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.02181, allocations: 374.6 kB / 337.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.02192, allocations: 99.98 kB / 337.2 MB, free: 11.27 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001705/0.02209, allocations: 268 kB / 337.4 MB, free: 10.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002816/0.02238, allocations: 327.4 kB / 337.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.02238, allocations: 0 / 337.8 MB, free: 10.57 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0005669/0.02294, allocations: 0.4917 MB / 338.2 MB, free: 10.06 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.032e-05/0.02298, allocations: 37.69 kB / 338.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.02298, allocations: 0 / 338.3 MB, free: 10.02 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003439/0.02333, allocations: 140.8 kB / 338.4 MB, free: 9.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002193/0.02354, allocations: 107.8 kB / 338.5 MB, free: 9.766 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00182/0.02536, allocations: 2.974 MB / 341.5 MB, free: 6.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.02555, allocations: 43.84 kB / 341.5 MB, free: 6.57 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.749e-05/0.02558, allocations: 20.03 kB / 341.6 MB, free: 6.551 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002232/0.0258, allocations: 204.7 kB / 341.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001873/0.02599, allocations: 256.1 kB / 342 MB, free: 6.027 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00028/0.02627, allocations: 328.4 kB / 342.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.02627, allocations: 0 / 342.3 MB, free: 5.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0004986/0.02677, allocations: 463.8 kB / 342.8 MB, free: 5.18 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.0268, allocations: 45.72 kB / 342.8 MB, free: 5.129 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.0268, allocations: 4 kB / 342.8 MB, free: 5.125 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002402/0.02704, allocations: 115.3 kB / 342.9 MB, free: 5.004 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002034/0.02724, allocations: 99.88 kB / 343 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001609/0.02885, allocations: 2.942 MB / 346 MB, free: 1.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.02904, allocations: 35.98 kB / 346 MB, free: 1.742 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.711e-05/0.02906, allocations: 23.98 kB / 346 MB, free: 1.719 MB / 314.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.000145/0.02921, allocations: 216.1 kB / 346.3 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.106e-05/0.02927, allocations: 51.95 kB / 346.3 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004418/0.02971, allocations: 383.7 kB / 346.7 MB, free: 1.059 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-06/0.02971, allocations: 8 kB / 346.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.02972, allocations: 0 / 346.7 MB, free: 1.051 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.02972, allocations: 11.92 kB / 346.7 MB, free: 1.039 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009063/0.03063, allocations: 0.8774 MB / 347.6 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.03063, allocations: 0 / 347.6 MB, free: 112 kB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002601/0.03089, allocations: 111.8 kB / 347.7 MB, free: 0 / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/0.03102, allocations: 56.64 kB / 347.7 MB, free: 15.94 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.892e-05/0.03105, allocations: 15.98 kB / 347.8 MB, free: 15.92 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001055/0.0321, allocations: 2.391 MB / 350.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.0321, allocations: 4 kB / 350.1 MB, free: 13.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005809/0.03268, allocations: 0.6151 MB / 350.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.03279, allocations: 75.53 kB / 350.8 MB, free: 12.6 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.366e-05/0.03283, allocations: 20 kB / 350.9 MB, free: 12.58 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001604/0.03299, allocations: 27.98 kB / 350.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.569e-05/0.03308, allocations: 56.42 kB / 350.9 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.323e-05/0.0331, allocations: 16 kB / 351 MB, free: 12.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001155/0.03322, allocations: 152.7 kB / 351.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.03322, allocations: 0 / 351.1 MB, free: 12.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005955/0.03381, allocations: 256 kB / 351.4 MB, free: 12.09 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.0001591/0.03397, allocations: 100.3 kB / 351.5 MB, free: 11.98 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.03512, allocations: 1.171 MB / 352.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.758e-06/0.03513, allocations: 4 kB / 352.6 MB, free: 10.71 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003168/0.03544, allocations: 418.2 kB / 353 MB, free: 10.27 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004178/0.03586, allocations: 141.4 kB / 353.2 MB, free: 10.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001823/0.03769, allocations: 1.251 MB / 354.4 MB, free: 8.844 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.03784, allocations: 176 kB / 354.6 MB, free: 8.648 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002134/0.03806, allocations: 72.52 kB / 354.7 MB, free: 8.578 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000306/0.03836, allocations: 155.3 kB / 354.8 MB, free: 8.426 MB / 330.7 MB Notification: Performance of SimCode: time 9.42e-07/0.03836, allocations: 0 / 354.8 MB, free: 8.426 MB / 330.7 MB Notification: Performance of Templates: time 0.01285/0.05122, allocations: 10.43 MB / 365.3 MB, free: 14.11 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.makefile [Timeout 660] (rm -f PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; mkfifo PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe ; head -c 1048576 < PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe >> ../files/PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.sim & ./PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > PowerSystems_latest_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.0961873731575906]