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.001417/0.001417, allocations: 67.77 kB / 21.69 MB, free: 2.855 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.007499/0.007499, allocations: 161 kB / 24.99 MB, free: 9.324 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.009/1.009, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2393/0.2393, allocations: 29.42 MB / 291.2 MB, free: 2.508 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.964e-06/1.964e-06, allocations: 0 / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.777e-05/2.974e-05, allocations: 2.312 kB / 369.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.007929/0.007959, allocations: 5.151 MB / 374.8 MB, free: 6.129 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004241/0.0122, allocations: 2.124 MB / 376.9 MB, free: 4 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007247/0.01292, allocations: 31.75 kB / 376.9 MB, free: 3.969 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001115/0.01404, allocations: 274.3 kB / 377.2 MB, free: 3.699 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001127/0.01517, allocations: 341.8 kB / 377.5 MB, free: 3.363 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0013/0.01647, allocations: 434.9 kB / 377.9 MB, free: 2.938 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001038/0.0175, allocations: 0.8851 MB / 378.8 MB, free: 2.051 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000595/0.0181, allocations: 464.5 kB / 379.3 MB, free: 1.594 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005692/0.01867, allocations: 494.7 kB / 379.8 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00034/0.01901, allocations: 295.1 kB / 380.1 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.189e-05/0.01908, allocations: 68 kB / 380.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004157/0.0195, allocations: 303.1 kB / 380.4 MB, free: 468 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.01964, allocations: 199.3 kB / 380.6 MB, free: 268 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001619/0.0198, allocations: 211.4 kB / 380.8 MB, free: 56 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007763/0.02058, allocations: 0.6344 MB / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02058, allocations: 0 / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.02058, allocations: 0 / 381.5 MB, free: 15.42 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.516e-06/0.02059, allocations: 4 kB / 381.5 MB, free: 15.41 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.001207/0.0218, allocations: 1.027 MB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.99e-05/0.02184, allocations: 15.98 kB / 382.5 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006237/0.02246, allocations: 216.2 kB / 382.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005722/0.02303, allocations: 493.5 kB / 383.2 MB, free: 13.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.02306, allocations: 37.38 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.83e-05/0.02313, allocations: 52.38 kB / 383.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006797/0.02381, allocations: 0.5497 MB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.054e-05/0.02383, allocations: 4.141 kB / 383.8 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.207e-05/0.02387, allocations: 24.12 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.467e-05/0.02392, allocations: 32.97 kB / 383.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004522/0.02437, allocations: 253.7 kB / 384.1 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002152/0.02652, allocations: 2.493 MB / 386.6 MB, free: 10 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/0.02701, allocations: 269.8 kB / 386.9 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001374/0.02715, allocations: 95.92 kB / 387 MB, free: 9.621 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.944e-05/0.02718, allocations: 8.328 kB / 387 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002626/0.02744, allocations: 208 kB / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.743e-06/0.02744, allocations: 0 / 387.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006965/0.02814, allocations: 368.9 kB / 387.6 MB, free: 9.012 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.84e-05/0.02821, allocations: 170.2 kB / 387.7 MB, free: 8.809 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000321/0.02853, allocations: 430.8 kB / 388.1 MB, free: 8.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.02856, allocations: 37.69 kB / 388.2 MB, free: 8.324 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.02874, allocations: 371.6 kB / 388.5 MB, free: 7.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.22e-05/0.02883, allocations: 138.8 kB / 388.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/0.02893, allocations: 95.8 kB / 388.8 MB, free: 7.719 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.02909, allocations: 0.5352 MB / 389.3 MB, free: 7.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.02924, allocations: 99.34 kB / 389.4 MB, free: 7.062 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002227/0.02946, allocations: 324.6 kB / 389.7 MB, free: 6.656 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000337/0.0298, allocations: 340.8 kB / 390.1 MB, free: 6.254 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.0298, allocations: 0 / 390.1 MB, free: 6.254 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007039/0.03051, allocations: 0.5156 MB / 390.6 MB, free: 5.715 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.375e-05/0.03054, allocations: 33.7 kB / 390.6 MB, free: 5.676 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.03055, allocations: 4 kB / 390.6 MB, free: 5.672 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003855/0.03093, allocations: 128 kB / 390.7 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002033/0.03114, allocations: 83.89 kB / 390.8 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.03292, allocations: 2.578 MB / 393.4 MB, free: 2.766 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.03312, allocations: 55.66 kB / 393.5 MB, free: 2.711 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.914e-05/0.03315, allocations: 16 kB / 393.5 MB, free: 2.695 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002243/0.03338, allocations: 225.5 kB / 393.7 MB, free: 2.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002259/0.0336, allocations: 316.7 kB / 394 MB, free: 2.066 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003335/0.03394, allocations: 341 kB / 394.3 MB, free: 1.664 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.03394, allocations: 4 kB / 394.3 MB, free: 1.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005956/0.03453, allocations: 495.9 kB / 394.8 MB, free: 1.152 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.03455, allocations: 34.14 kB / 394.9 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.03456, allocations: 4 kB / 394.9 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002238/0.03478, allocations: 103.5 kB / 395 MB, free: 1.004 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001829/0.03496, allocations: 83.89 kB / 395 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001543/0.03651, allocations: 2.537 MB / 397.6 MB, free: 14.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000196/0.0367, allocations: 59.64 kB / 397.6 MB, free: 14.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.486e-05/0.03673, allocations: 24.03 kB / 397.7 MB, free: 14.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (45): * Single equations (assignments): 43 * 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.0001383/0.03687, allocations: 296 kB / 397.9 MB, free: 13.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.292e-05/0.03693, allocations: 67.66 kB / 398 MB, free: 13.82 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000488/0.03742, allocations: 307 kB / 398.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.03742, allocations: 4 kB / 398.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.796e-06/0.03742, allocations: 0 / 398.3 MB, free: 13.51 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.281e-05/0.03744, allocations: 7.984 kB / 398.3 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/0.03825, allocations: 0.8021 MB / 399.1 MB, free: 12.65 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.03825, allocations: 7.938 kB / 399.1 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002262/0.03848, allocations: 79.89 kB / 399.2 MB, free: 12.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.798e-05/0.03855, allocations: 27.67 kB / 399.2 MB, free: 12.54 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.478e-05/0.03858, allocations: 11.98 kB / 399.2 MB, free: 12.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006802/0.03926, allocations: 1.771 MB / 401 MB, free: 10.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.03926, allocations: 3.938 kB / 401 MB, free: 10.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000561/0.03982, allocations: 0.5389 MB / 401.6 MB, free: 10.05 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002812/0.0401, allocations: 91.56 kB / 401.7 MB, free: 9.961 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.04016, allocations: 11.94 kB / 401.7 MB, free: 9.949 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.04039, allocations: 31.97 kB / 401.7 MB, free: 9.918 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.509e-05/0.04047, allocations: 31.94 kB / 401.7 MB, free: 9.887 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.0405, allocations: 12 kB / 401.7 MB, free: 9.875 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002057/0.0407, allocations: 287.2 kB / 402 MB, free: 9.598 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.0407, allocations: 0 / 402 MB, free: 9.598 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005645/0.04127, allocations: 259.3 kB / 402.3 MB, free: 9.344 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.0001339/0.0414, allocations: 123.2 kB / 402.4 MB, free: 9.211 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0009582/0.04236, allocations: 0.9759 MB / 403.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.04236, allocations: 0 / 403.4 MB, free: 8.156 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.0426, allocations: 297.3 kB / 403.7 MB, free: 7.844 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.04302, allocations: 120.4 kB / 403.8 MB, free: 7.734 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.04463, allocations: 1.072 MB / 404.8 MB, free: 6.617 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001084/0.04474, allocations: 153.6 kB / 405 MB, free: 6.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002047/0.04494, allocations: 91.36 kB / 405.1 MB, free: 6.355 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.598e-05/0.04503, allocations: 40.5 kB / 405.1 MB, free: 6.316 MB / 378.7 MB Notification: Performance of SimCode: time 8.12e-07/0.04503, allocations: 3.938 kB / 405.1 MB, free: 6.312 MB / 378.7 MB Notification: Performance of Templates: time 0.01039/0.05542, allocations: 7.9 MB / 413 MB, free: 14.5 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.2056424219626933]