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.0008715/0.0008715, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009236/0.0009236, allocations: 164.8 kB / 25.61 MB, free: 8.891 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.8788/0.8788, allocations: 177.1 MB / 206 MB, free: 4.512 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.133/0.133, allocations: 29.42 MB / 292 MB, free: 2.656 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.593e-06/1.593e-06, allocations: 0 / 370.9 MB, free: 32.33 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.524e-05/2.683e-05, allocations: 5.266 kB / 370.9 MB, free: 32.32 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.004224/0.004251, allocations: 4.99 MB / 375.9 MB, free: 27.32 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001873/0.006124, allocations: 1.733 MB / 377.6 MB, free: 25.58 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002888/0.006413, allocations: 31.81 kB / 377.6 MB, free: 25.55 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006025/0.007015, allocations: 222.4 kB / 377.8 MB, free: 25.33 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004122/0.007428, allocations: 302 kB / 378.1 MB, free: 25.03 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005422/0.00797, allocations: 427 kB / 378.6 MB, free: 24.61 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005448/0.008515, allocations: 0.8889 MB / 379.4 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.00891, allocations: 448.6 kB / 379.9 MB, free: 23.28 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.009307, allocations: 0.4909 MB / 380.4 MB, free: 22.79 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002645/0.009571, allocations: 287.1 kB / 380.7 MB, free: 22.51 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.208e-05/0.009624, allocations: 72 kB / 380.7 MB, free: 22.44 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002376/0.009861, allocations: 247.4 kB / 381 MB, free: 22.2 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001001/0.009961, allocations: 199.4 kB / 381.2 MB, free: 22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.01008, allocations: 211.4 kB / 381.4 MB, free: 21.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004815/0.01056, allocations: 0.5994 MB / 382 MB, free: 21.19 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.855e-06/0.01056, allocations: 0 / 382 MB, free: 21.19 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.01056, allocations: 0 / 382 MB, free: 21.19 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.01057, allocations: 0 / 382 MB, free: 21.19 MB / 314.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.0008818/0.01145, allocations: 1.039 MB / 383 MB, free: 20.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.01148, allocations: 12.03 kB / 383 MB, free: 20.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005029/0.01199, allocations: 204.3 kB / 383.2 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004052/0.01239, allocations: 477.5 kB / 383.7 MB, free: 19.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.01241, allocations: 37.38 kB / 383.7 MB, free: 19.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.08e-05/0.01246, allocations: 52.38 kB / 383.8 MB, free: 19.31 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000408/0.01287, allocations: 0.5106 MB / 384.3 MB, free: 18.74 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.01289, allocations: 4.172 kB / 384.3 MB, free: 18.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.063e-05/0.01292, allocations: 28.11 kB / 384.3 MB, free: 18.71 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.604e-05/0.01295, allocations: 25 kB / 384.3 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.01318, allocations: 206.7 kB / 384.5 MB, free: 18.48 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001435/0.01462, allocations: 2.403 MB / 386.9 MB, free: 15.98 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000304/0.01492, allocations: 240.2 kB / 387.2 MB, free: 15.72 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.874e-05/0.015, allocations: 84.02 kB / 387.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.01502, allocations: 4.328 kB / 387.3 MB, free: 15.63 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001742/0.0152, allocations: 207.9 kB / 387.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of pre-optimization done (n=41): time 1.513e-06/0.0152, allocations: 0 / 387.5 MB, free: 15.4 MB / 314.7 MB Notification: Performance of matching and sorting (n=41): time 0.0004747/0.01567, allocations: 340.7 kB / 387.8 MB, free: 15.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.0157, allocations: 166.2 kB / 388 MB, free: 14.86 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001821/0.01589, allocations: 422.5 kB / 388.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.01591, allocations: 29.7 kB / 388.4 MB, free: 14.39 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001102/0.01602, allocations: 367.5 kB / 388.8 MB, free: 14.03 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.584e-05/0.01607, allocations: 146.8 kB / 388.9 MB, free: 13.88 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.515e-05/0.01616, allocations: 99.75 kB / 389 MB, free: 13.78 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.01622, allocations: 0.5351 MB / 389.5 MB, free: 13.23 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.086e-05/0.0163, allocations: 83.34 kB / 389.6 MB, free: 13.14 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001187/0.01641, allocations: 300.9 kB / 389.9 MB, free: 12.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.01661, allocations: 313.2 kB / 390.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.01661, allocations: 0 / 390.2 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization): time 0.0004825/0.0171, allocations: 484.5 kB / 390.7 MB, free: 11.89 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.01712, allocations: 33.7 kB / 390.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01712, allocations: 0 / 390.7 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002679/0.01739, allocations: 111.6 kB / 390.8 MB, free: 11.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.01756, allocations: 87.83 kB / 390.9 MB, free: 11.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0011/0.01866, allocations: 2.524 MB / 393.4 MB, free: 9.023 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001717/0.01883, allocations: 55.66 kB / 393.5 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.045e-05/0.01885, allocations: 12 kB / 393.5 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001365/0.01899, allocations: 213.5 kB / 393.7 MB, free: 8.738 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001111/0.0191, allocations: 293 kB / 394 MB, free: 8.363 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001821/0.01928, allocations: 309.3 kB / 394.3 MB, free: 7.996 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.473e-06/0.01929, allocations: 0 / 394.3 MB, free: 7.996 MB / 314.7 MB Notification: Performance of matching and sorting (n=58) (initialization_lambda0): time 0.0003959/0.01968, allocations: 463.7 kB / 394.8 MB, free: 7.52 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.356e-05/0.0197, allocations: 29.7 kB / 394.8 MB, free: 7.484 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.0197, allocations: 4 kB / 394.8 MB, free: 7.48 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001677/0.01987, allocations: 95.94 kB / 394.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000158/0.02002, allocations: 87.83 kB / 395 MB, free: 7.297 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000901/0.02092, allocations: 2.476 MB / 397.4 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000168/0.02109, allocations: 47.77 kB / 397.5 MB, free: 4.664 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.886e-05/0.02111, allocations: 16 kB / 397.5 MB, free: 4.648 MB / 314.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 8.626e-05/0.0212, allocations: 300.5 kB / 397.8 MB, free: 4.348 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.02125, allocations: 63.67 kB / 397.9 MB, free: 4.285 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002872/0.02154, allocations: 283 kB / 398.1 MB, free: 4 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.085e-06/0.02154, allocations: 4 kB / 398.1 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.605e-06/0.02154, allocations: 3.938 kB / 398.1 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.02155, allocations: 0 / 398.1 MB, free: 3.992 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005599/0.02211, allocations: 0.7166 MB / 398.9 MB, free: 3.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.02211, allocations: 3.938 kB / 398.9 MB, free: 3.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002053/0.02232, allocations: 87.89 kB / 399 MB, free: 3.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.428e-05/0.02238, allocations: 23.67 kB / 399 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.0224, allocations: 11.98 kB / 399 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003843/0.02278, allocations: 1.757 MB / 400.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02279, allocations: 0 / 400.7 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003755/0.02316, allocations: 0.4998 MB / 401.2 MB, free: 0.6992 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.55e-05/0.02326, allocations: 79.56 kB / 401.3 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.676e-05/0.02329, allocations: 19.97 kB / 401.3 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.02344, allocations: 23.98 kB / 401.4 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.725e-05/0.02349, allocations: 47.8 kB / 401.4 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.522e-05/0.02351, allocations: 4 kB / 401.4 MB, free: 0.5273 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001124/0.02362, allocations: 271 kB / 401.7 MB, free: 268 kB / 314.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.02362, allocations: 0 / 401.7 MB, free: 268 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005034/0.02412, allocations: 259.4 kB / 401.9 MB, free: 8 kB / 314.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.0001464/0.02427, allocations: 114.9 kB / 402 MB, free: 15.89 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0007843/0.02506, allocations: 0.9308 MB / 403 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.02506, allocations: 128 / 403 MB, free: 14.88 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002131/0.02527, allocations: 285.3 kB / 403.3 MB, free: 14.58 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.02569, allocations: 115 kB / 403.4 MB, free: 14.48 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001492/0.02718, allocations: 1.072 MB / 404.4 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001165/0.0273, allocations: 153.7 kB / 404.6 MB, free: 13.2 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.02748, allocations: 47.38 kB / 404.6 MB, free: 13.14 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.02771, allocations: 174.1 kB / 404.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02771, allocations: 0 / 404.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of Templates: time 0.01108/0.03879, allocations: 8.623 MB / 413.4 MB, free: 4.461 MB / 330.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.103772396221757]