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.001337/0.001337, 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.001848/0.001848, allocations: 169.1 kB / 24.91 MB, free: 8.773 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 1.02/1.02, allocations: 177.1 MB / 205.3 MB, free: 5.5 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.2322/0.2322, allocations: 29.41 MB / 291.2 MB, free: 2.398 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.643e-06/1.643e-06, allocations: 0 / 316.9 MB, free: 15.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.303e-05, allocations: 2.312 kB / 316.9 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.005608/0.005631, allocations: 5.411 MB / 322.3 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002815/0.008446, allocations: 2.154 MB / 324.4 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003808/0.008827, allocations: 31.75 kB / 324.5 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007661/0.009593, allocations: 270.2 kB / 324.7 MB, free: 8.039 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007618/0.01035, allocations: 433.5 kB / 325.2 MB, free: 7.613 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007936/0.01115, allocations: 478.7 kB / 325.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008545/0.012, allocations: 1.03 MB / 326.7 MB, free: 6.113 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000564/0.01257, allocations: 0.5179 MB / 327.2 MB, free: 5.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006459/0.01321, allocations: 0.5572 MB / 327.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004093/0.01362, allocations: 350.9 kB / 328.1 MB, free: 4.688 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.308e-05/0.01369, allocations: 76 kB / 328.2 MB, free: 4.613 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005123/0.01421, allocations: 387 kB / 328.5 MB, free: 4.234 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001868/0.01439, allocations: 251.2 kB / 328.8 MB, free: 3.988 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.01464, allocations: 247.3 kB / 329 MB, free: 3.746 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001193/0.01583, allocations: 0.7397 MB / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.137e-06/0.01583, allocations: 0 / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.41e-07/0.01583, allocations: 0 / 329.8 MB, free: 3.004 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.01584, allocations: 0 / 329.8 MB, free: 3.004 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.00134/0.01718, allocations: 0.9808 MB / 330.7 MB, free: 1.988 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.01722, allocations: 11.98 kB / 330.8 MB, free: 1.977 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001162/0.01838, allocations: 252.5 kB / 331 MB, free: 1.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006333/0.01901, allocations: 424 kB / 331.4 MB, free: 1.289 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.508e-05/0.01906, allocations: 45.69 kB / 331.5 MB, free: 1.246 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.63e-05/0.01914, allocations: 52.38 kB / 331.5 MB, free: 1.195 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007274/0.01987, allocations: 0.5595 MB / 332.1 MB, free: 0.5781 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.0199, allocations: 8.078 kB / 332.1 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.728e-05/0.01994, allocations: 28.12 kB / 332.1 MB, free: 0.543 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-05/0.01999, allocations: 37.3 kB / 332.1 MB, free: 0.5039 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004239/0.02042, allocations: 221 kB / 332.4 MB, free: 296 kB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002519/0.02294, allocations: 1.843 MB / 334.2 MB, free: 14.39 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.02346, allocations: 304.7 kB / 334.5 MB, free: 14.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.02365, allocations: 119.7 kB / 334.6 MB, free: 13.95 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.973e-05/0.02369, allocations: 8.5 kB / 334.6 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003589/0.02405, allocations: 240.1 kB / 334.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of pre-optimization done (n=56): time 2.164e-06/0.02405, allocations: 0 / 334.9 MB, free: 13.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001655/0.02571, allocations: 0.832 MB / 335.7 MB, free: 12.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.754e-05/0.02578, allocations: 137 kB / 335.8 MB, free: 12.65 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.02636, allocations: 367.2 kB / 336.2 MB, free: 12.28 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.161e-05/0.0264, allocations: 37.7 kB / 336.2 MB, free: 12.24 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001474/0.02655, allocations: 261.9 kB / 336.5 MB, free: 11.98 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001335/0.02668, allocations: 210.2 kB / 336.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001505/0.02683, allocations: 102.3 kB / 336.8 MB, free: 11.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.02695, allocations: 370.8 kB / 337.1 MB, free: 11.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001634/0.02712, allocations: 108 kB / 337.2 MB, free: 11.18 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002191/0.02734, allocations: 264.1 kB / 337.5 MB, free: 10.86 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.02773, allocations: 331.3 kB / 337.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.02773, allocations: 0 / 337.8 MB, free: 10.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007857/0.02852, allocations: 499.7 kB / 338.3 MB, free: 9.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.335e-05/0.02856, allocations: 37.7 kB / 338.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.806e-06/0.02857, allocations: 0 / 338.4 MB, free: 9.926 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004656/0.02904, allocations: 144.8 kB / 338.5 MB, free: 9.777 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003306/0.02937, allocations: 107.8 kB / 338.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.03172, allocations: 2.992 MB / 341.6 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002813/0.032, allocations: 35.92 kB / 341.6 MB, free: 6.465 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.899e-05/0.03204, allocations: 20 kB / 341.6 MB, free: 6.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000257/0.0323, allocations: 188.8 kB / 341.8 MB, free: 6.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002191/0.03252, allocations: 268 kB / 342.1 MB, free: 5.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003752/0.03289, allocations: 320.6 kB / 342.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.505e-06/0.0329, allocations: 0 / 342.4 MB, free: 5.566 MB / 314.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.0006726/0.03357, allocations: 467.7 kB / 342.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.874e-05/0.0336, allocations: 33.7 kB / 342.9 MB, free: 5.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.0336, allocations: 7.984 kB / 342.9 MB, free: 5.035 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003407/0.03394, allocations: 125.4 kB / 343 MB, free: 4.906 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005761/0.03452, allocations: 111.8 kB / 343.1 MB, free: 4.797 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/0.03766, allocations: 2.964 MB / 346.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003835/0.03804, allocations: 27.98 kB / 346.1 MB, free: 1.617 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.924e-05/0.03809, allocations: 19.98 kB / 346.1 MB, free: 1.598 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.0002236/0.03831, allocations: 208.2 kB / 346.3 MB, free: 1.387 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.03841, allocations: 51.95 kB / 346.4 MB, free: 1.336 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.03912, allocations: 379.7 kB / 346.8 MB, free: 0.9492 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.03912, allocations: 8 kB / 346.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.03913, allocations: 0 / 346.8 MB, free: 0.9414 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.03914, allocations: 3.984 kB / 346.8 MB, free: 0.9375 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.04042, allocations: 0.8891 MB / 347.7 MB, free: 15.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.721e-06/0.04043, allocations: 8.125 kB / 347.7 MB, free: 15.98 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003919/0.04082, allocations: 111.8 kB / 347.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000152/0.04097, allocations: 52.44 kB / 347.8 MB, free: 15.82 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.04101, allocations: 16 kB / 347.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.04242, allocations: 2.395 MB / 350.3 MB, free: 13.22 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.188e-05/0.04244, allocations: 7.984 kB / 350.3 MB, free: 13.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008375/0.04328, allocations: 0.6192 MB / 350.9 MB, free: 12.55 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001691/0.04345, allocations: 79.58 kB / 351 MB, free: 12.47 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.275e-05/0.04351, allocations: 12 kB / 351 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000275/0.04378, allocations: 31.97 kB / 351 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000121/0.04391, allocations: 60.34 kB / 351.1 MB, free: 12.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.59e-05/0.04394, allocations: 15.94 kB / 351.1 MB, free: 12.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001827/0.04412, allocations: 152.6 kB / 351.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.04412, allocations: 0 / 351.2 MB, free: 12.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00091/0.04503, allocations: 256 kB / 351.5 MB, free: 11.96 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.0001433/0.04518, allocations: 100.3 kB / 351.6 MB, free: 11.85 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001367/0.04654, allocations: 1.175 MB / 352.7 MB, free: 10.58 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/0.04656, allocations: 4 kB / 352.7 MB, free: 10.57 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.04698, allocations: 414.9 kB / 353.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005562/0.04753, allocations: 146 kB / 353.3 MB, free: 10.01 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002336/0.04987, allocations: 1.242 MB / 354.5 MB, free: 8.715 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001593/0.05003, allocations: 176 kB / 354.7 MB, free: 8.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002884/0.05032, allocations: 72.53 kB / 354.8 MB, free: 8.449 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003122/0.05063, allocations: 155.3 kB / 354.9 MB, free: 8.297 MB / 330.7 MB Notification: Performance of SimCode: time 1.053e-05/0.05064, allocations: 4 kB / 354.9 MB, free: 8.293 MB / 330.7 MB Notification: Performance of Templates: time 0.0174/0.06804, allocations: 10.42 MB / 365.4 MB, free: 13.98 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 -s gbode -gbm=radauIIA3 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 240] [Calling os._exit(0), Time elapsed: 3.1038156929425895]