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.001107/0.001107, allocations: 78.66 kB / 21.42 MB, free: 3.074 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.004528/0.004528, allocations: 164.4 kB / 24.82 MB, free: 9.266 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.9949/0.9949, 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 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.2463/0.2463, allocations: 29.41 MB / 291.2 MB, free: 2.402 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.683e-06/1.683e-06, allocations: 0 / 370.1 MB, free: 10.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.383e-05/3.552e-05, allocations: 9.547 kB / 370.1 MB, free: 10.7 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.006567/0.006602, allocations: 4.972 MB / 375.1 MB, free: 5.691 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003121/0.009724, allocations: 1.737 MB / 376.8 MB, free: 3.949 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/0.01034, allocations: 27.75 kB / 376.8 MB, free: 3.922 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008072/0.01115, allocations: 210.6 kB / 377 MB, free: 3.715 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0007702/0.01192, allocations: 310 kB / 377.3 MB, free: 3.41 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.0131, allocations: 430.9 kB / 377.8 MB, free: 2.988 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001196/0.0143, allocations: 0.8734 MB / 378.6 MB, free: 2.113 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008078/0.01511, allocations: 464.5 kB / 379.1 MB, free: 1.656 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009168/0.01602, allocations: 490.7 kB / 379.6 MB, free: 1.176 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005228/0.01655, allocations: 303.1 kB / 379.9 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001/0.01665, allocations: 68 kB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.01711, allocations: 247.4 kB / 380.2 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001911/0.01731, allocations: 203.3 kB / 380.4 MB, free: 380 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000218/0.01752, allocations: 215.4 kB / 380.6 MB, free: 164 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000946/0.01847, allocations: 0.5878 MB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.01847, allocations: 0 / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.02e-07/0.01847, allocations: 3.938 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.01848, allocations: 3.938 kB / 381.2 MB, free: 15.56 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.001397/0.01988, allocations: 1.031 MB / 382.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.01993, allocations: 11.98 kB / 382.2 MB, free: 14.47 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007181/0.02065, allocations: 212.3 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000617/0.02126, allocations: 481.5 kB / 382.9 MB, free: 13.77 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.265e-05/0.02129, allocations: 37.38 kB / 382.9 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.437e-05/0.02137, allocations: 52.36 kB / 383 MB, free: 13.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006276/0.022, allocations: 0.5106 MB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.349e-05/0.02202, allocations: 12.08 kB / 383.5 MB, free: 13.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.119e-05/0.02206, allocations: 24.12 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.952e-05/0.0221, allocations: 32.92 kB / 383.6 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003549/0.02246, allocations: 206.7 kB / 383.8 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002598/0.02505, allocations: 2.396 MB / 386.2 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.02546, allocations: 236.6 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.02558, allocations: 79.97 kB / 386.5 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.876e-05/0.02561, allocations: 8.328 kB / 386.5 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002446/0.02585, allocations: 195.9 kB / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.673e-06/0.02585, allocations: 96 / 386.7 MB, free: 9.781 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006392/0.02649, allocations: 344.6 kB / 387 MB, free: 9.434 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.02656, allocations: 170.2 kB / 387.2 MB, free: 9.23 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003185/0.02688, allocations: 422.5 kB / 387.6 MB, free: 8.805 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.02691, allocations: 37.7 kB / 387.6 MB, free: 8.762 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.02712, allocations: 363.6 kB / 388 MB, free: 8.402 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.876e-05/0.02722, allocations: 142.7 kB / 388.1 MB, free: 8.262 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001279/0.02735, allocations: 103.8 kB / 388.2 MB, free: 8.152 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.02752, allocations: 0.5351 MB / 388.8 MB, free: 7.605 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001214/0.02764, allocations: 87.48 kB / 388.8 MB, free: 7.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002095/0.02785, allocations: 293 kB / 389.1 MB, free: 7.137 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003247/0.02817, allocations: 301 kB / 389.4 MB, free: 6.777 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.02818, allocations: 0 / 389.4 MB, free: 6.777 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0007103/0.02889, allocations: 0.4922 MB / 389.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.02892, allocations: 29.7 kB / 389.9 MB, free: 6.227 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.02893, allocations: 4 kB / 390 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003433/0.02927, allocations: 107.6 kB / 390.1 MB, free: 6.113 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002293/0.0295, allocations: 83.89 kB / 390.1 MB, free: 6.031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002119/0.03162, allocations: 2.516 MB / 392.7 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002375/0.03186, allocations: 63.64 kB / 392.7 MB, free: 3.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.772e-05/0.03188, allocations: 12 kB / 392.7 MB, free: 3.328 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002018/0.03208, allocations: 213.5 kB / 392.9 MB, free: 3.105 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000203/0.03229, allocations: 289 kB / 393.2 MB, free: 2.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002963/0.03258, allocations: 317.2 kB / 393.5 MB, free: 2.367 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.775e-06/0.03259, allocations: 4 kB / 393.5 MB, free: 2.363 MB / 362.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0006133/0.0332, allocations: 451.8 kB / 394 MB, free: 1.898 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.445e-05/0.03322, allocations: 34.11 kB / 394 MB, free: 1.859 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.03323, allocations: 8 kB / 394 MB, free: 1.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002252/0.03346, allocations: 91.58 kB / 394.1 MB, free: 1.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000212/0.03367, allocations: 79.89 kB / 394.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001599/0.03527, allocations: 2.478 MB / 396.7 MB, free: 15.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.03549, allocations: 51.8 kB / 396.7 MB, free: 15.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.693e-05/0.03552, allocations: 16 kB / 396.7 MB, free: 15.03 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,hydroPlant.reservoirLevel.local_reset,trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1) * 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.0001495/0.03567, allocations: 299.9 kB / 397 MB, free: 14.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.411e-05/0.03574, allocations: 63.67 kB / 397.1 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004092/0.03615, allocations: 283 kB / 397.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.448e-06/0.03616, allocations: 4 kB / 397.4 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.03616, allocations: 3.938 kB / 397.4 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.921e-06/0.03617, allocations: 0 / 397.4 MB, free: 14.37 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008591/0.03703, allocations: 0.7167 MB / 398.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.03703, allocations: 7.938 kB / 398.1 MB, free: 13.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002594/0.03729, allocations: 75.89 kB / 398.2 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.43e-05/0.03737, allocations: 35.64 kB / 398.2 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/0.0374, allocations: 8 kB / 398.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001036/0.03843, allocations: 1.753 MB / 400 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.03844, allocations: 0 / 400 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005761/0.03901, allocations: 0.5076 MB / 400.5 MB, free: 11.08 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001228/0.03913, allocations: 87.5 kB / 400.6 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.344e-05/0.03918, allocations: 12 kB / 400.6 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001899/0.03937, allocations: 23.97 kB / 400.6 MB, free: 10.96 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.511e-05/0.03944, allocations: 35.88 kB / 400.6 MB, free: 10.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.946e-05/0.03946, allocations: 8 kB / 400.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000186/0.03965, allocations: 267 kB / 400.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03965, allocations: 0 / 400.9 MB, free: 10.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007807/0.04043, allocations: 267.4 kB / 401.2 MB, free: 10.39 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.0001267/0.04056, allocations: 111.2 kB / 401.3 MB, free: 10.27 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009571/0.04151, allocations: 0.9482 MB / 402.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.04152, allocations: 0 / 402.2 MB, free: 9.242 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000246/0.04176, allocations: 285.2 kB / 402.5 MB, free: 8.941 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005137/0.04227, allocations: 130.9 kB / 402.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00185/0.04412, allocations: 1.054 MB / 403.7 MB, free: 7.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.04426, allocations: 153.6 kB / 403.8 MB, free: 7.559 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002069/0.04447, allocations: 55.36 kB / 403.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.04472, allocations: 166.1 kB / 404 MB, free: 7.34 MB / 378.7 MB Notification: Performance of SimCode: time 7.91e-07/0.04472, allocations: 8 kB / 404 MB, free: 7.332 MB / 378.7 MB Notification: Performance of Templates: time 0.01451/0.05923, allocations: 8.444 MB / 412.5 MB, free: 14.99 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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.135365031193942]