Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 111.1 kB / 17.74 MB, free: 5.336 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001242/0.001242, allocations: 188.2 kB / 18.67 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.316/1.316, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1794/0.1794, allocations: 38.03 MB / 330.6 MB, free: 8.703 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 59.91 kB / 458.8 MB, free: 6.859 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.289, allocations: 58.06 MB / 0.5047 GB, free: 7.762 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.004211/0.2932, allocations: 3.822 MB / 0.5085 GB, free: 5.074 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002062/0.2953, allocations: 1.453 MB / 0.5099 GB, free: 4.047 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.2956, allocations: 13.56 kB / 0.5099 GB, free: 4.043 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003928/0.296, allocations: 101.1 kB / 0.51 GB, free: 3.977 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004043/0.2964, allocations: 161.2 kB / 0.5102 GB, free: 3.863 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006626/0.2971, allocations: 362.9 kB / 0.5105 GB, free: 3.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006355/0.2977, allocations: 0.7576 MB / 0.5112 GB, free: 3.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003103/0.298, allocations: 227.3 kB / 0.5115 GB, free: 3.152 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004162/0.2985, allocations: 290.8 kB / 0.5117 GB, free: 3.004 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002624/0.2987, allocations: 283.5 kB / 0.512 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.828e-05/0.2988, allocations: 66.91 kB / 0.5121 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001968/0.299, allocations: 120.1 kB / 0.5122 GB, free: 2.836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001345/0.2992, allocations: 160.7 kB / 0.5123 GB, free: 2.734 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002069/0.2994, allocations: 295.2 kB / 0.5126 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000779/0.3002, allocations: 0.8092 MB / 0.5134 GB, free: 2.172 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.3002, allocations: 0 / 0.5134 GB, free: 2.172 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3002, allocations: 0 / 0.5134 GB, free: 2.172 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.638e-06/0.3002, allocations: 0 / 0.5134 GB, free: 2.172 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 86 * Number of variables: 86 Notification: Performance of Generate backend data structure: time 0.001661/0.3019, allocations: 1.008 MB / 0.5144 GB, free: 1.414 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.3019, allocations: 13.86 kB / 0.5144 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001238/0.3021, allocations: 69.19 kB / 0.5145 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006902/0.3028, allocations: 0.5298 MB / 0.515 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.956e-05/0.3028, allocations: 41.67 kB / 0.515 GB, free: 0.9648 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.3029, allocations: 36.53 kB / 0.5151 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00111/0.304, allocations: 0.5484 MB / 0.5156 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.477e-05/0.304, allocations: 3.938 kB / 0.5156 GB, free: 0.6523 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.651e-05/0.3041, allocations: 13.95 kB / 0.5156 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.3041, allocations: 8.719 kB / 0.5156 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.3055, allocations: 0.5219 MB / 0.5161 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00233/0.3078, allocations: 2.064 MB / 0.5182 GB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00185/0.3097, allocations: 0.5948 MB / 0.5187 GB, free: 14.64 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007355/0.3105, allocations: 234.6 kB / 0.519 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.199e-05/0.3105, allocations: 13.28 kB / 0.519 GB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009388/0.3115, allocations: 371.7 kB / 0.5193 GB, free: 14.37 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 2.184e-06/0.3115, allocations: 1.375 kB / 0.5193 GB, free: 14.37 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.002295/0.3138, allocations: 0.7424 MB / 0.5201 GB, free: 14.12 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.741e-05/0.3139, allocations: 190.6 kB / 0.5202 GB, free: 13.9 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006486/0.3146, allocations: 0.5029 MB / 0.5207 GB, free: 13.66 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.477e-05/0.3146, allocations: 44.12 kB / 0.5208 GB, free: 13.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002265/0.3149, allocations: 271 kB / 0.521 GB, free: 13.4 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001158/0.315, allocations: 119.2 kB / 0.5211 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.3152, allocations: 86.56 kB / 0.5212 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001519/0.3153, allocations: 369.8 kB / 0.5216 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006847/0.316, allocations: 225.2 kB / 0.5218 GB, free: 12.85 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007733/0.3168, allocations: 341.8 kB / 0.5221 GB, free: 12.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001417/0.3182, allocations: 0.5818 MB / 0.5227 GB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.3182, allocations: 5.062 kB / 0.5227 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001754/0.32, allocations: 0.7112 MB / 0.5234 GB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.661e-05/0.3201, allocations: 60.58 kB / 0.5234 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.3201, allocations: 4.125 kB / 0.5234 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3201, allocations: 5.5 kB / 0.5235 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005044/0.3206, allocations: 112.8 kB / 0.5236 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3206, allocations: 5.625 kB / 0.5236 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005271/0.3212, allocations: 75.36 kB / 0.5236 GB, free: 11.88 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.525e-05/0.3212, allocations: 20.77 kB / 0.5237 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008024/0.322, allocations: 365.7 kB / 0.524 GB, free: 11.69 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007055/0.3227, allocations: 325.8 kB / 0.5243 GB, free: 11.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001285/0.324, allocations: 0.561 MB / 0.5249 GB, free: 11.14 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.126e-06/0.3241, allocations: 1.375 kB / 0.5249 GB, free: 11.14 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001643/0.3257, allocations: 0.692 MB / 0.5255 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.035e-05/0.3258, allocations: 65.62 kB / 0.5256 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.621e-06/0.3258, allocations: 3.406 kB / 0.5256 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.204e-06/0.3258, allocations: 6 kB / 0.5256 GB, free: 10.77 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004583/0.3262, allocations: 99.95 kB / 0.5257 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.3263, allocations: 6.203 kB / 0.5257 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004927/0.3268, allocations: 70.53 kB / 0.5258 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.048e-05/0.3268, allocations: 20.61 kB / 0.5258 GB, free: 10.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 17 ($PRE.loadDispatcher.data.nextTimeEvent,$whenCondition2,loadDispatcher.hydroDaily.count,$PRE.loadDispatcher.hydroDaily.count,loadDispatcher.hydroDaily.T_start,$PRE.loadDispatcher.hydroDaily.T_start,loadDispatcher.data.nextTimeEventScaled,$PRE.loadDispatcher.data.nextTimeEventScaled,loadDispatcher.data.nextTimeEvent,$whenCondition3,frequency.count,$PRE.frequency.count,frequency.T_start,$PRE.frequency.T_start,$whenCondition1,system.initime,loadDispatcher.secondaryControl.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002013/0.327, allocations: 219.6 kB / 0.526 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.3271, allocations: 56.22 kB / 0.5261 GB, free: 10.49 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001591/0.3273, allocations: 69.69 kB / 0.5261 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.3273, allocations: 4.312 kB / 0.5261 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.3273, allocations: 2.094 kB / 0.5261 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.3273, allocations: 3.047 kB / 0.5261 GB, free: 10.45 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006597/0.328, allocations: 0.5443 MB / 0.5267 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.328, allocations: 2.297 kB / 0.5267 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000439/0.3285, allocations: 80.89 kB / 0.5267 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.3285, allocations: 1.5 kB / 0.5267 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.026e-05/0.3285, allocations: 12.08 kB / 0.5268 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.3285, allocations: 10.42 kB / 0.5268 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3285, allocations: 1.922 kB / 0.5268 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.3308, allocations: 0.8658 MB / 0.5276 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002186/0.3311, allocations: 178.4 kB / 0.5278 GB, free: 9.562 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.227e-05/0.3312, allocations: 16.39 kB / 0.5278 GB, free: 9.555 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004229/0.3316, allocations: 48.17 kB / 0.5279 GB, free: 9.547 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000145/0.3317, allocations: 44.75 kB / 0.5279 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.774e-05/0.3318, allocations: 13.02 kB / 0.5279 GB, free: 9.535 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004338/0.3322, allocations: 359.8 kB / 0.5282 GB, free: 9.367 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3322, allocations: 1.281 kB / 0.5282 GB, free: 9.367 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006963/0.3329, allocations: 197.6 kB / 0.5284 GB, free: 9.32 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (loadDispatcher.secondaryControl.I.y) * Number of discrete variables: 10 ($whenCondition3,$whenCondition2,loadDispatcher.data.nextTimeEvent,loadDispatcher.data.nextTimeEventScaled,loadDispatcher.hydroDaily.T_start,loadDispatcher.hydroDaily.count,$whenCondition1,frequency.T_start,frequency.count,system.initime) * Number of discrete states: 4 (frequency.count,loadDispatcher.hydroDaily.count,loadDispatcher.data.nextTimeEventScaled,loadDispatcher.data.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001039/0.334, allocations: 471 kB / 0.5289 GB, free: 9.094 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002386/0.3364, allocations: 1.015 MB / 0.5299 GB, free: 8.594 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.3364, allocations: 7.875 kB / 0.5299 GB, free: 8.586 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007608/0.3372, allocations: 266 kB / 0.5301 GB, free: 8.508 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007013/0.3379, allocations: 134.7 kB / 0.5303 GB, free: 8.457 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001827/0.3397, allocations: 0.9617 MB / 0.5312 GB, free: 7.898 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004322/0.3402, allocations: 0.857 MB / 0.532 GB, free: 7.188 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002086/0.3404, allocations: 57.33 kB / 0.5321 GB, free: 7.172 MB / 398.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3404, allocations: 1.062 kB / 0.5321 GB, free: 7.172 MB / 398.1 MB Notification: Performance of Templates: time 0.0114/0.3518, allocations: 7.997 MB / 0.5399 GB, free: 3.023 MB / 398.1 MB make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.makefile (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe 2>&1)