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.0007608/0.0007608, allocations: 79.75 kB / 21.19 MB, free: 3.375 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.00093/0.00093, allocations: 165 kB / 24.56 MB, free: 8 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 0.9744/0.9744, allocations: 177.1 MB / 205 MB, free: 5.25 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.2484/0.2484, allocations: 29.41 MB / 290.9 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.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.224e-06/2.224e-06, allocations: 0 / 369.6 MB, free: 11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.441e-05/3.664e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2): time 0.006168/0.006205, allocations: 5.431 MB / 375.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002432/0.008636, allocations: 2.119 MB / 377.2 MB, free: 3.406 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002904/0.008927, allocations: 31.75 kB / 377.2 MB, free: 3.375 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006991/0.009626, allocations: 270.3 kB / 377.5 MB, free: 3.109 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005239/0.01015, allocations: 449.4 kB / 377.9 MB, free: 2.668 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005923/0.01074, allocations: 470.8 kB / 378.4 MB, free: 2.207 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0009719/0.01171, allocations: 1.041 MB / 379.4 MB, free: 1.164 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005104/0.01222, allocations: 496.4 kB / 379.9 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.01273, allocations: 0.5611 MB / 380.5 MB, free: 116 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003914/0.01312, allocations: 367 kB / 380.8 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 7.688e-05/0.0132, allocations: 76 kB / 380.9 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004512/0.01365, allocations: 386.9 kB / 381.3 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001715/0.01382, allocations: 243.3 kB / 381.5 MB, free: 15.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001821/0.014, allocations: 247.3 kB / 381.8 MB, free: 14.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007279/0.01473, allocations: 0.7435 MB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01473, allocations: 8 kB / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.01474, allocations: 0 / 382.5 MB, free: 14.07 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.054e-06/0.01474, allocations: 0 / 382.5 MB, free: 14.07 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.001226/0.01597, allocations: 1.106 MB / 383.6 MB, free: 12.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.01601, allocations: 19.91 kB / 383.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007375/0.01675, allocations: 264.1 kB / 383.9 MB, free: 12.64 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005563/0.0173, allocations: 0.5092 MB / 384.4 MB, free: 12.1 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.933e-05/0.01733, allocations: 45.69 kB / 384.4 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.32e-05/0.01742, allocations: 64.31 kB / 384.5 MB, free: 12 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006717/0.01809, allocations: 0.6068 MB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.83e-05/0.01811, allocations: 4.172 kB / 385.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.224e-05/0.01815, allocations: 28.12 kB / 385.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.01819, allocations: 37.3 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004572/0.01865, allocations: 291.5 kB / 385.5 MB, free: 10.97 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002245/0.0209, allocations: 2.614 MB / 388.1 MB, free: 8.27 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005171/0.02141, allocations: 316.7 kB / 388.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002239/0.02164, allocations: 156.8 kB / 388.5 MB, free: 7.777 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.726e-05/0.02167, allocations: 12.5 kB / 388.6 MB, free: 7.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003138/0.02199, allocations: 272.7 kB / 388.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 1.693e-06/0.02199, allocations: 0 / 388.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.001674/0.02366, allocations: 1.189 MB / 390 MB, free: 6.238 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.02372, allocations: 145.1 kB / 390.2 MB, free: 6.066 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002887/0.02401, allocations: 434.6 kB / 390.6 MB, free: 5.625 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.255e-05/0.02404, allocations: 33.7 kB / 390.6 MB, free: 5.586 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/0.02421, allocations: 375.5 kB / 391 MB, free: 5.215 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.02432, allocations: 206.3 kB / 391.2 MB, free: 5.012 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.02445, allocations: 115.9 kB / 391.3 MB, free: 4.891 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.02459, allocations: 0.5352 MB / 391.8 MB, free: 4.344 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000185/0.02477, allocations: 143.9 kB / 392 MB, free: 4.191 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.02504, allocations: 351.3 kB / 392.3 MB, free: 3.766 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004309/0.02547, allocations: 415.5 kB / 392.7 MB, free: 3.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-06/0.02547, allocations: 4 kB / 392.7 MB, free: 3.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008366/0.02631, allocations: 0.6517 MB / 393.4 MB, free: 2.617 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.02634, allocations: 37.69 kB / 393.4 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.02634, allocations: 352 / 393.4 MB, free: 2.574 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005013/0.02685, allocations: 159.2 kB / 393.6 MB, free: 2.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002508/0.0271, allocations: 107.8 kB / 393.7 MB, free: 2.305 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002315/0.02941, allocations: 4.299 MB / 398 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.02962, allocations: 55.98 kB / 398 MB, free: 13.71 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.02965, allocations: 20 kB / 398 MB, free: 13.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000258/0.02991, allocations: 269.8 kB / 398.3 MB, free: 13.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002533/0.03016, allocations: 347.4 kB / 398.6 MB, free: 13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004004/0.03056, allocations: 411.5 kB / 399 MB, free: 12.54 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.03056, allocations: 4 kB / 399 MB, free: 12.53 MB / 378.7 MB Notification: Performance of matching and sorting (n=74) (initialization_lambda0): time 0.0007305/0.03129, allocations: 0.6245 MB / 399.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.03131, allocations: 29.7 kB / 399.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-06/0.03131, allocations: 4 kB / 399.7 MB, free: 11.84 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002825/0.0316, allocations: 131.4 kB / 399.8 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002309/0.03183, allocations: 111.8 kB / 399.9 MB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002176/0.034, allocations: 4.26 MB / 404.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.03422, allocations: 55.98 kB / 404.3 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.841e-05/0.03424, allocations: 20 kB / 404.3 MB, free: 7.02 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (59): * Single equations (assignments): 56 * 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.0001517/0.0344, allocations: 300 kB / 404.6 MB, free: 6.719 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.074e-05/0.03447, allocations: 71.72 kB / 404.6 MB, free: 6.648 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006393/0.03511, allocations: 0.5062 MB / 405.1 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.03511, allocations: 4 kB / 405.2 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.635e-06/0.03511, allocations: 8 kB / 405.2 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.03512, allocations: 3.984 kB / 405.2 MB, free: 6.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001212/0.03633, allocations: 1.141 MB / 406.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.03633, allocations: 4 kB / 406.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003054/0.03664, allocations: 119.9 kB / 406.4 MB, free: 4.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000132/0.03677, allocations: 63.45 kB / 406.5 MB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.03681, allocations: 19.98 kB / 406.5 MB, free: 4.684 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00149/0.0383, allocations: 3.511 MB / 410 MB, free: 0.9219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.0383, allocations: 7.938 kB / 410 MB, free: 0.9141 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008394/0.03914, allocations: 0.8037 MB / 410.8 MB, free: 56 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.0393, allocations: 107.6 kB / 410.9 MB, free: 15.95 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.03934, allocations: 12 kB / 410.9 MB, free: 15.94 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001941/0.03953, allocations: 44.05 kB / 411 MB, free: 15.89 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.03963, allocations: 56.34 kB / 411 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.8e-05/0.03966, allocations: 20 kB / 411.1 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001996/0.03986, allocations: 287 kB / 411.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03986, allocations: 0 / 411.3 MB, free: 15.54 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006314/0.04049, allocations: 263.9 kB / 411.6 MB, free: 15.28 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.0001259/0.04062, allocations: 119 kB / 411.7 MB, free: 15.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00139/0.04201, allocations: 1.514 MB / 413.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.04201, allocations: 0 / 413.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003898/0.0424, allocations: 0.55 MB / 413.8 MB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004579/0.04286, allocations: 145.3 kB / 413.9 MB, free: 12.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002091/0.04495, allocations: 1.299 MB / 415.2 MB, free: 11.44 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001236/0.04507, allocations: 176.1 kB / 415.4 MB, free: 11.25 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002432/0.04531, allocations: 124.4 kB / 415.5 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001187/0.04543, allocations: 48.48 kB / 415.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of SimCode: time 7.31e-07/0.04543, allocations: 0 / 415.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of Templates: time 0.01168/0.05711, allocations: 9.947 MB / 425.5 MB, free: 1.223 MB / 394.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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.HydroPlantTest2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.343639620114118]