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.000936/0.000936, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.0009559/0.0009559, allocations: 161 kB / 24.56 MB, free: 12 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.959/0.959, allocations: 177.1 MB / 205 MB, free: 5.629 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.2241/0.2241, allocations: 29.42 MB / 290.9 MB, free: 2.496 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.674e-06/1.674e-06, allocations: 0 / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.49e-05/1.657e-05, allocations: 2.312 kB / 369.6 MB, free: 10.99 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.HydroPlantTest1): time 0.004816/0.004832, allocations: 5.052 MB / 374.7 MB, free: 5.902 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002139/0.006971, allocations: 1.745 MB / 376.4 MB, free: 4.152 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003144/0.007285, allocations: 35.75 kB / 376.5 MB, free: 4.117 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006962/0.007982, allocations: 214.5 kB / 376.7 MB, free: 3.906 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004426/0.008424, allocations: 310.1 kB / 377 MB, free: 3.602 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005643/0.008988, allocations: 426.9 kB / 377.4 MB, free: 3.184 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006752/0.009664, allocations: 0.8851 MB / 378.3 MB, free: 2.297 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000492/0.01016, allocations: 460.5 kB / 378.7 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005125/0.01067, allocations: 490.8 kB / 379.2 MB, free: 1.363 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003148/0.01098, allocations: 291.1 kB / 379.5 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 7.81e-05/0.01106, allocations: 72 kB / 379.6 MB, free: 1.008 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002609/0.01132, allocations: 243.4 kB / 379.8 MB, free: 0.7695 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001567/0.01148, allocations: 203.3 kB / 380 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.01167, allocations: 211.4 kB / 380.2 MB, free: 372 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007246/0.0124, allocations: 0.6033 MB / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.0124, allocations: 0 / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.71e-07/0.0124, allocations: 0 / 380.8 MB, free: 15.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.853e-06/0.01241, allocations: 0 / 380.8 MB, free: 15.76 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.00135/0.01376, allocations: 1.027 MB / 381.8 MB, free: 14.68 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.01381, allocations: 11.98 kB / 381.8 MB, free: 14.67 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000617/0.01442, allocations: 216.2 kB / 382.1 MB, free: 14.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006374/0.01506, allocations: 0.4897 MB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.758e-05/0.0151, allocations: 37.38 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.053e-05/0.01518, allocations: 56.36 kB / 382.6 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006965/0.01588, allocations: 0.5497 MB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.964e-05/0.0159, allocations: 4.141 kB / 383.2 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.306e-05/0.01594, allocations: 32.11 kB / 383.2 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.967e-05/0.01599, allocations: 21 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000422/0.01641, allocations: 253.7 kB / 383.5 MB, free: 12.94 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002122/0.01853, allocations: 2.489 MB / 386 MB, free: 10.35 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004942/0.01903, allocations: 268.1 kB / 386.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001377/0.01916, allocations: 87.94 kB / 386.3 MB, free: 9.973 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.759e-05/0.0192, allocations: 12.31 kB / 386.3 MB, free: 9.961 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002714/0.01947, allocations: 211.8 kB / 386.5 MB, free: 9.73 MB / 362.7 MB Notification: Performance of pre-optimization done (n=41): time 1.773e-06/0.01948, allocations: 0 / 386.5 MB, free: 9.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=41): time 0.0006907/0.02017, allocations: 372.9 kB / 386.9 MB, free: 9.355 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.02023, allocations: 166.2 kB / 387.1 MB, free: 9.156 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003111/0.02054, allocations: 438.7 kB / 387.5 MB, free: 8.707 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.02057, allocations: 29.7 kB / 387.5 MB, free: 8.672 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.02075, allocations: 367.6 kB / 387.9 MB, free: 8.309 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.163e-05/0.02083, allocations: 146.7 kB / 388 MB, free: 8.164 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/0.02095, allocations: 95.8 kB / 388.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.02112, allocations: 0.5352 MB / 388.7 MB, free: 7.516 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.02127, allocations: 107.3 kB / 388.8 MB, free: 7.398 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.02151, allocations: 316.6 kB / 389.1 MB, free: 7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003439/0.02186, allocations: 344.7 kB / 389.4 MB, free: 6.594 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.02186, allocations: 0 / 389.4 MB, free: 6.594 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.000693/0.02255, allocations: 0.5157 MB / 389.9 MB, free: 6.055 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.02259, allocations: 37.69 kB / 390 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.872e-06/0.02259, allocations: 0 / 390 MB, free: 6.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/0.02296, allocations: 127.9 kB / 390.1 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001952/0.02315, allocations: 83.89 kB / 390.2 MB, free: 5.801 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001729/0.02488, allocations: 2.56 MB / 392.7 MB, free: 3.117 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.02507, allocations: 63.59 kB / 392.8 MB, free: 3.055 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.622e-05/0.02509, allocations: 15.98 kB / 392.8 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001978/0.02529, allocations: 225.5 kB / 393 MB, free: 2.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002098/0.0255, allocations: 316.7 kB / 393.3 MB, free: 2.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003125/0.02581, allocations: 341.1 kB / 393.7 MB, free: 2.008 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.02581, allocations: 4 kB / 393.7 MB, free: 2.004 MB / 362.7 MB Notification: Performance of matching and sorting (n=59) (initialization_lambda0): time 0.0005758/0.02639, allocations: 499.9 kB / 394.2 MB, free: 1.492 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.02641, allocations: 33.7 kB / 394.2 MB, free: 1.453 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.02641, allocations: 4.438 kB / 394.2 MB, free: 1.449 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002115/0.02663, allocations: 106.7 kB / 394.3 MB, free: 1.344 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.0268, allocations: 83.89 kB / 394.4 MB, free: 1.262 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001464/0.02827, allocations: 2.521 MB / 396.9 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.02845, allocations: 63.66 kB / 397 MB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.198e-05/0.02847, allocations: 20.03 kB / 397 MB, free: 14.53 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.000123/0.02859, allocations: 300 kB / 397.3 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.959e-05/0.02865, allocations: 67.66 kB / 397.3 MB, free: 14.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004981/0.02915, allocations: 303 kB / 397.6 MB, free: 13.86 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.02915, allocations: 4 kB / 397.6 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.02916, allocations: 4 kB / 397.7 MB, free: 13.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.02916, allocations: 3.984 kB / 397.7 MB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008643/0.03003, allocations: 0.806 MB / 398.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.03003, allocations: 0 / 398.5 MB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002425/0.03027, allocations: 79.89 kB / 398.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.33e-05/0.03036, allocations: 27.67 kB / 398.6 MB, free: 12.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.563e-05/0.03038, allocations: 11.98 kB / 398.6 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007861/0.03117, allocations: 1.771 MB / 400.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.03117, allocations: 0 / 400.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005477/0.03172, allocations: 0.5468 MB / 400.9 MB, free: 10.39 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001161/0.03183, allocations: 95.53 kB / 401 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.421e-05/0.03187, allocations: 8 kB / 401 MB, free: 10.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001548/0.03202, allocations: 31.97 kB / 401 MB, free: 10.26 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.0321, allocations: 31.88 kB / 401.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.059e-05/0.03212, allocations: 19.98 kB / 401.1 MB, free: 10.21 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001861/0.0323, allocations: 279.1 kB / 401.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.0323, allocations: 0 / 401.4 MB, free: 9.941 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000499/0.0328, allocations: 255.4 kB / 401.6 MB, free: 9.691 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.0001112/0.03291, allocations: 122.8 kB / 401.7 MB, free: 9.562 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00088/0.03379, allocations: 0.976 MB / 402.7 MB, free: 8.508 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0338, allocations: 4 kB / 402.7 MB, free: 8.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002324/0.03403, allocations: 293.3 kB / 403 MB, free: 8.195 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.03443, allocations: 133.2 kB / 403.1 MB, free: 8.074 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001507/0.03593, allocations: 1.066 MB / 404.2 MB, free: 6.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.03603, allocations: 153.6 kB / 404.3 MB, free: 6.793 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001813/0.03622, allocations: 87.36 kB / 404.4 MB, free: 6.707 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.155e-05/0.03631, allocations: 44.48 kB / 404.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.03631, allocations: 0 / 404.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of Templates: time 0.009871/0.04618, allocations: 7.902 MB / 412.4 MB, free: 14.86 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.2628457727842033]