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.001423/0.001423, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001528/0.001528, allocations: 161.7 kB / 24.27 MB, free: 172 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.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.59 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.3043/0.3043, allocations: 29.42 MB / 290.5 MB, free: 2.406 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 2.144e-06/2.144e-06, allocations: 0 / 368.9 MB, free: 11.29 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.653e-05/3.867e-05, allocations: 2.312 kB / 368.9 MB, free: 11.28 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.008599/0.008638, allocations: 5.33 MB / 374.2 MB, free: 5.922 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.005073/0.01371, allocations: 2.485 MB / 376.7 MB, free: 3.43 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006803/0.01439, allocations: 31.75 kB / 376.7 MB, free: 3.398 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001487/0.01588, allocations: 362 kB / 377.1 MB, free: 3.043 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001331/0.01721, allocations: 477.3 kB / 377.5 MB, free: 2.574 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001256/0.01846, allocations: 486.7 kB / 378 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001304/0.01977, allocations: 1.041 MB / 379.1 MB, free: 1.055 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008071/0.02058, allocations: 0.4887 MB / 379.6 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009149/0.02149, allocations: 0.5651 MB / 380.1 MB, free: 15.99 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005977/0.02209, allocations: 358.8 kB / 380.5 MB, free: 15.64 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001247/0.02221, allocations: 76 kB / 380.5 MB, free: 15.57 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009474/0.02316, allocations: 454.6 kB / 381 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.02344, allocations: 239.3 kB / 381.2 MB, free: 14.89 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003265/0.02377, allocations: 251.3 kB / 381.5 MB, free: 14.64 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001571/0.02534, allocations: 1.122 MB / 382.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.02534, allocations: 8 kB / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.422e-06/0.02534, allocations: 0 / 382.6 MB, free: 13.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.162e-05/0.02536, allocations: 0 / 382.6 MB, free: 13.51 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.002463/0.02782, allocations: 1.049 MB / 383.6 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.02786, allocations: 11.98 kB / 383.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/0.02933, allocations: 280.2 kB / 383.9 MB, free: 12.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.03042, allocations: 0.5135 MB / 384.4 MB, free: 11.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.212e-05/0.03047, allocations: 45.69 kB / 384.5 MB, free: 11.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001314/0.0306, allocations: 64.36 kB / 384.6 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/0.03235, allocations: 0.8419 MB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.625e-05/0.03239, allocations: 4.141 kB / 385.4 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-05/0.03247, allocations: 28.12 kB / 385.4 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.566e-05/0.03255, allocations: 37.3 kB / 385.5 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001803/0.03435, allocations: 0.7233 MB / 386.2 MB, free: 9.809 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004798/0.03915, allocations: 2.48 MB / 388.7 MB, free: 7.258 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001516/0.04066, allocations: 0.5462 MB / 389.2 MB, free: 6.695 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007652/0.04143, allocations: 327 kB / 389.5 MB, free: 6.371 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.315e-05/0.04148, allocations: 12.5 kB / 389.5 MB, free: 6.355 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009306/0.04241, allocations: 429.3 kB / 390 MB, free: 5.918 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 2.174e-06/0.04242, allocations: 0 / 390 MB, free: 5.918 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.004949/0.04736, allocations: 1.991 MB / 392 MB, free: 3.887 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.04749, allocations: 149.1 kB / 392.1 MB, free: 3.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007397/0.04823, allocations: 429.9 kB / 392.5 MB, free: 3.285 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.04829, allocations: 41.64 kB / 392.6 MB, free: 3.238 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003228/0.04861, allocations: 320.9 kB / 392.9 MB, free: 2.918 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002326/0.04884, allocations: 210.2 kB / 393.1 MB, free: 2.711 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.04906, allocations: 110.3 kB / 393.2 MB, free: 2.598 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002307/0.04929, allocations: 362.8 kB / 393.5 MB, free: 2.234 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000706/0.05, allocations: 325 kB / 393.9 MB, free: 1.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008597/0.05086, allocations: 487.9 kB / 394.3 MB, free: 1.367 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.05234, allocations: 0.7047 MB / 395 MB, free: 0.6172 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.05234, allocations: 4 kB / 395 MB, free: 0.6133 MB / 362.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002673/0.05502, allocations: 1.052 MB / 396.1 MB, free: 15.54 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.446e-05/0.05508, allocations: 33.7 kB / 396.1 MB, free: 15.5 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.05509, allocations: 4 kB / 396.1 MB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001016/0.05611, allocations: 237.6 kB / 396.4 MB, free: 15.25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.05663, allocations: 107.9 kB / 396.5 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005479/0.06211, allocations: 3.882 MB / 400.3 MB, free: 11.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000674/0.06279, allocations: 51.94 kB / 400.4 MB, free: 11.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-05/0.06285, allocations: 23.98 kB / 400.4 MB, free: 11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009737/0.06382, allocations: 479 kB / 400.9 MB, free: 10.52 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007797/0.0646, allocations: 468 kB / 401.3 MB, free: 10 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001379/0.06598, allocations: 0.6891 MB / 402 MB, free: 9.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.721e-06/0.06598, allocations: 4 kB / 402 MB, free: 9.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization_lambda0): time 0.002352/0.06834, allocations: 0.9663 MB / 403 MB, free: 8.273 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.06839, allocations: 37.7 kB / 403 MB, free: 8.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.0684, allocations: 8.312 kB / 403.1 MB, free: 8.223 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006828/0.06908, allocations: 185.6 kB / 403.2 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005165/0.0696, allocations: 115.8 kB / 403.3 MB, free: 7.922 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004604/0.0742, allocations: 3.668 MB / 407 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007531/0.07496, allocations: 51.94 kB / 407.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.935e-05/0.07502, allocations: 28.06 kB / 407.1 MB, free: 3.965 MB / 378.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,secondary.count,$PRE.secondary.count,secondary.T_start,$PRE.secondary.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 (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.000394/0.07541, allocations: 223.2 kB / 407.3 MB, free: 3.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001887/0.0756, allocations: 79.62 kB / 407.4 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002024/0.07762, allocations: 0.813 MB / 408.2 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.07763, allocations: 8 kB / 408.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.07764, allocations: 0 / 408.2 MB, free: 2.832 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.212e-05/0.07765, allocations: 7.984 kB / 408.2 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003107/0.08076, allocations: 1.475 MB / 409.7 MB, free: 1.289 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/0.08076, allocations: 4 kB / 409.7 MB, free: 1.285 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006539/0.08142, allocations: 127.8 kB / 409.8 MB, free: 1.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000276/0.08169, allocations: 69.86 kB / 409.9 MB, free: 1.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.205e-05/0.08174, allocations: 15.98 kB / 409.9 MB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.08435, allocations: 2.642 MB / 412.5 MB, free: 14.22 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/0.08436, allocations: 7.969 kB / 412.6 MB, free: 14.21 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002707/0.08707, allocations: 1.333 MB / 413.9 MB, free: 12.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002876/0.08735, allocations: 107.6 kB / 414 MB, free: 12.73 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.035e-05/0.08743, allocations: 16 kB / 414 MB, free: 12.71 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005192/0.08795, allocations: 55.92 kB / 414.1 MB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001574/0.08811, allocations: 52.41 kB / 414.1 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.48e-05/0.08815, allocations: 19.94 kB / 414.1 MB, free: 12.59 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005652/0.08872, allocations: 315.1 kB / 414.4 MB, free: 12.28 MB / 394.7 MB Notification: Performance of sort global known variables: time 9e-08/0.08872, allocations: 0 / 414.4 MB, free: 12.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001086/0.08981, allocations: 259.9 kB / 414.7 MB, free: 12.03 MB / 394.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.0002032/0.09001, allocations: 118.9 kB / 414.8 MB, free: 11.9 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003528/0.09354, allocations: 1.749 MB / 416.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.09354, allocations: 0 / 416.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001094/0.09463, allocations: 0.5747 MB / 417.1 MB, free: 9.465 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008033/0.09544, allocations: 144.2 kB / 417.3 MB, free: 9.332 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003223/0.09866, allocations: 1.437 MB / 418.7 MB, free: 7.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005509/0.09921, allocations: 350.8 kB / 419.1 MB, free: 7.477 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0005811/0.09979, allocations: 144.4 kB / 419.2 MB, free: 7.336 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001934/0.09999, allocations: 52.48 kB / 419.2 MB, free: 7.285 MB / 394.7 MB Notification: Performance of SimCode: time 1.984e-06/0.09999, allocations: 0 / 419.2 MB, free: 7.285 MB / 394.7 MB Notification: Performance of Templates: time 0.01959/0.1196, allocations: 9.796 MB / 429 MB, free: 13.58 MB / 410.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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.220448030973785]