Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.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.001456/0.001456, allocations: 88.33 kB / 20.96 MB, free: 3.449 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.001651/0.001651, allocations: 165.3 kB / 24.27 MB, free: 148 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 1.477/1.477, allocations: 177.1 MB / 204.6 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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.3189/0.3189, allocations: 29.42 MB / 290.5 MB, free: 2.43 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.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") translateModel(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.242e-06/1.242e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.968e-05/2.092e-05, allocations: 2.312 kB / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.007321/0.007342, allocations: 4.887 MB / 373.8 MB, free: 6.371 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003675/0.01102, allocations: 2.05 MB / 375.8 MB, free: 4.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002944/0.01131, allocations: 27.81 kB / 375.8 MB, free: 4.289 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008484/0.01216, allocations: 258.3 kB / 376.1 MB, free: 4.035 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007831/0.01294, allocations: 349.8 kB / 376.4 MB, free: 3.691 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.01384, allocations: 434.9 kB / 376.9 MB, free: 3.266 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001339/0.01518, allocations: 0.8851 MB / 377.8 MB, free: 2.379 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000768/0.01595, allocations: 464.5 kB / 378.2 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007802/0.01673, allocations: 0.4909 MB / 378.7 MB, free: 1.43 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004566/0.01719, allocations: 283.1 kB / 379 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001188/0.0173, allocations: 71.94 kB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005534/0.01786, allocations: 307.2 kB / 379.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002175/0.01807, allocations: 195.4 kB / 379.5 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003014/0.01838, allocations: 211.4 kB / 379.7 MB, free: 392 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001279/0.01965, allocations: 0.9501 MB / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01966, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01966, allocations: 0 / 380.7 MB, free: 15.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.072e-05/0.01967, allocations: 4 kB / 380.7 MB, free: 15.43 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.002244/0.02191, allocations: 0.97 MB / 381.7 MB, free: 14.41 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/0.02196, allocations: 19.97 kB / 381.7 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009781/0.02294, allocations: 216.2 kB / 381.9 MB, free: 14.18 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009834/0.02392, allocations: 0.4901 MB / 382.4 MB, free: 13.67 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/0.02397, allocations: 37.38 kB / 382.4 MB, free: 13.63 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.02408, allocations: 52.38 kB / 382.5 MB, free: 13.58 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001467/0.02555, allocations: 0.7341 MB / 383.2 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.02558, allocations: 4.141 kB / 383.2 MB, free: 12.79 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.716e-05/0.02564, allocations: 24.12 kB / 383.2 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.371e-05/0.0257, allocations: 28.98 kB / 383.3 MB, free: 12.74 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.02711, allocations: 0.601 MB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005505/0.03262, allocations: 2.277 MB / 386.1 MB, free: 9.777 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00202/0.03464, allocations: 0.5065 MB / 386.6 MB, free: 9.254 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007865/0.03543, allocations: 206.2 kB / 386.8 MB, free: 9.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.716e-05/0.03547, allocations: 8.328 kB / 386.9 MB, free: 9.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001012/0.03648, allocations: 305.8 kB / 387.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 2.485e-06/0.03649, allocations: 0 / 387.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.002938/0.03942, allocations: 0.6814 MB / 387.8 MB, free: 8.027 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/0.0396, allocations: 170.2 kB / 388 MB, free: 7.824 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001079/0.04068, allocations: 438 kB / 388.4 MB, free: 7.387 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.547e-05/0.04075, allocations: 29.7 kB / 388.5 MB, free: 7.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.04119, allocations: 317 kB / 388.8 MB, free: 7.035 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.0414, allocations: 142.8 kB / 388.9 MB, free: 6.895 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002485/0.04165, allocations: 94.12 kB / 389 MB, free: 6.797 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000305/0.04195, allocations: 362.7 kB / 389.4 MB, free: 6.434 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008306/0.04278, allocations: 228.4 kB / 389.6 MB, free: 6.199 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.0438, allocations: 383.7 kB / 390 MB, free: 5.758 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001706/0.04551, allocations: 0.5208 MB / 390.5 MB, free: 5.188 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.04551, allocations: 0 / 390.5 MB, free: 5.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.003065/0.04858, allocations: 0.7938 MB / 391.3 MB, free: 4.371 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.04864, allocations: 41.64 kB / 391.3 MB, free: 4.324 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.646e-05/0.04865, allocations: 4 kB / 391.3 MB, free: 4.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.04977, allocations: 188.6 kB / 391.5 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006307/0.0504, allocations: 91.83 kB / 391.6 MB, free: 4.047 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005938/0.05634, allocations: 2.501 MB / 394.1 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008015/0.05714, allocations: 79.67 kB / 394.2 MB, free: 1.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.362e-05/0.05721, allocations: 20 kB / 394.2 MB, free: 1.355 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001107/0.05831, allocations: 366.6 kB / 394.5 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000949/0.05926, allocations: 375.7 kB / 394.9 MB, free: 0.5547 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001469/0.06073, allocations: 0.4977 MB / 395.4 MB, free: 8 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.248e-06/0.06074, allocations: 0 / 395.4 MB, free: 8 kB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.002514/0.06325, allocations: 0.7197 MB / 396.1 MB, free: 15.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.504e-05/0.06331, allocations: 37.7 kB / 396.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.06332, allocations: 4 kB / 396.2 MB, free: 15.22 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000679/0.06399, allocations: 148.8 kB / 396.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005862/0.06458, allocations: 87.88 kB / 396.4 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004463/0.06904, allocations: 2.313 MB / 398.7 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007342/0.06978, allocations: 67.67 kB / 398.8 MB, free: 12.51 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.997e-05/0.06984, allocations: 16 kB / 398.8 MB, free: 12.49 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.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 (44): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,13)} Notification: Performance of prepare postOptimizeDAE: time 0.000369/0.07021, allocations: 210.8 kB / 399 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001857/0.07039, allocations: 67.67 kB / 399.1 MB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001977/0.07237, allocations: 0.5154 MB / 399.6 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.07238, allocations: 4 kB / 399.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.07239, allocations: 4 kB / 399.6 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.0724, allocations: 7.984 kB / 399.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002947/0.07534, allocations: 1.003 MB / 400.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/0.07535, allocations: 0 / 400.6 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000767/0.07612, allocations: 91.88 kB / 400.7 MB, free: 10.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001892/0.07631, allocations: 36.83 kB / 400.7 MB, free: 10.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.123e-05/0.07636, allocations: 11.98 kB / 400.7 MB, free: 10.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.07804, allocations: 1.331 MB / 402.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.07804, allocations: 0 / 402.1 MB, free: 9.051 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001965/0.08001, allocations: 0.8582 MB / 402.9 MB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002115/0.08022, allocations: 87.55 kB / 403 MB, free: 8.078 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.465e-05/0.08028, allocations: 12 kB / 403 MB, free: 8.066 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004402/0.08072, allocations: 47.94 kB / 403.1 MB, free: 8.02 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.08084, allocations: 39.88 kB / 403.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.08087, allocations: 8 kB / 403.1 MB, free: 7.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000535/0.08141, allocations: 311.1 kB / 403.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.08141, allocations: 0 / 403.4 MB, free: 7.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009798/0.08239, allocations: 259.4 kB / 403.7 MB, free: 7.414 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001782/0.08257, allocations: 107.5 kB / 403.8 MB, free: 7.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.08494, allocations: 1.167 MB / 404.9 MB, free: 6.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.08494, allocations: 0 / 404.9 MB, free: 6.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006849/0.08562, allocations: 334.9 kB / 405.3 MB, free: 5.73 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006875/0.08631, allocations: 134.7 kB / 405.4 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/0.08862, allocations: 1.148 MB / 406.6 MB, free: 4.426 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003721/0.08899, allocations: 303.3 kB / 406.8 MB, free: 4.102 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003385/0.08933, allocations: 95.3 kB / 406.9 MB, free: 4.004 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/0.08947, allocations: 36.5 kB / 407 MB, free: 3.969 MB / 378.7 MB Notification: Performance of SimCode: time 1.092e-06/0.08947, allocations: 3.938 kB / 407 MB, free: 3.965 MB / 378.7 MB Notification: Performance of Templates: time 0.01585/0.1053, allocations: 7.781 MB / 414.8 MB, free: 12.27 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.910366052994505]