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.001126/0.001127, allocations: 111.7 kB / 17.06 MB, free: 5.973 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.001105/0.001105, allocations: 196 kB / 18 MB, free: 5.051 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.397/1.397, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1799/0.1799, allocations: 38.03 MB / 329.9 MB, free: 8.688 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001189/0.001189, allocations: 55.91 kB / 458.1 MB, free: 6.848 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4322/0.4334, allocations: 58.08 MB / 0.5041 GB, free: 7.812 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.006845/0.4403, allocations: 3.81 MB / 0.5078 GB, free: 5.125 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00334/0.4437, allocations: 1.453 MB / 0.5092 GB, free: 4.094 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003724/0.4441, allocations: 14.28 kB / 0.5092 GB, free: 4.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005123/0.4446, allocations: 104.6 kB / 0.5093 GB, free: 4.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00046/0.4451, allocations: 151.6 kB / 0.5095 GB, free: 3.914 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008867/0.446, allocations: 364.7 kB / 0.5098 GB, free: 3.699 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008696/0.4469, allocations: 0.7487 MB / 0.5106 GB, free: 3.316 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003751/0.4473, allocations: 228.1 kB / 0.5108 GB, free: 3.207 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.4478, allocations: 291.6 kB / 0.5111 GB, free: 3.055 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003256/0.4481, allocations: 275.1 kB / 0.5113 GB, free: 2.91 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.4482, allocations: 69.41 kB / 0.5114 GB, free: 2.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002594/0.4485, allocations: 125.2 kB / 0.5115 GB, free: 2.887 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000171/0.4487, allocations: 160 kB / 0.5117 GB, free: 2.785 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002711/0.4489, allocations: 296.1 kB / 0.512 GB, free: 2.574 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001089/0.45, allocations: 0.8149 MB / 0.5127 GB, free: 2.215 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4501, allocations: 0 / 0.5127 GB, free: 2.215 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.4501, allocations: 4 kB / 0.5127 GB, free: 2.211 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.4501, allocations: 0.8438 kB / 0.5128 GB, free: 2.211 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.001854/0.4519, allocations: 1.02 MB / 0.5137 GB, free: 1.441 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/0.452, allocations: 13.33 kB / 0.5138 GB, free: 1.438 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001636/0.4522, allocations: 76.98 kB / 0.5138 GB, free: 1.395 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008659/0.453, allocations: 0.5376 MB / 0.5144 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.4531, allocations: 29.58 kB / 0.5144 GB, free: 0.9883 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.4532, allocations: 40.98 kB / 0.5144 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/0.4544, allocations: 0.5479 MB / 0.515 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.4544, allocations: 9 kB / 0.515 GB, free: 0.668 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.4545, allocations: 13.17 kB / 0.515 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/0.4545, allocations: 13.92 kB / 0.515 GB, free: 0.6562 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001425/0.4559, allocations: 0.5171 MB / 0.5155 GB, free: 0.5156 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002786/0.4587, allocations: 2.064 MB / 0.5175 GB, free: 14.92 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/0.4607, allocations: 0.5989 MB / 0.5181 GB, free: 14.66 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007823/0.4615, allocations: 242.3 kB / 0.5183 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.862e-05/0.4615, allocations: 9.25 kB / 0.5183 GB, free: 14.55 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001013/0.4626, allocations: 360.6 kB / 0.5187 GB, free: 14.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=37): time 2.575e-06/0.4626, allocations: 0 / 0.5187 GB, free: 14.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=37): time 0.002371/0.465, allocations: 0.7469 MB / 0.5194 GB, free: 14.14 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001528/0.4651, allocations: 195.5 kB / 0.5196 GB, free: 13.91 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008272/0.466, allocations: 0.503 MB / 0.5201 GB, free: 13.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 5.662e-05/0.466, allocations: 39.94 kB / 0.5201 GB, free: 13.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.4663, allocations: 275.5 kB / 0.5204 GB, free: 13.41 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001372/0.4664, allocations: 128.4 kB / 0.5205 GB, free: 13.31 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001746/0.4666, allocations: 85.39 kB / 0.5206 GB, free: 13.27 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001908/0.4668, allocations: 371 kB / 0.521 GB, free: 12.93 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006973/0.4675, allocations: 230.3 kB / 0.5212 GB, free: 12.84 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008049/0.4683, allocations: 336.5 kB / 0.5215 GB, free: 12.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.47, allocations: 0.5792 MB / 0.5221 GB, free: 12.29 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.47, allocations: 3.938 kB / 0.5221 GB, free: 12.29 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001916/0.472, allocations: 0.7154 MB / 0.5228 GB, free: 11.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.855e-05/0.472, allocations: 61.62 kB / 0.5228 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.4721, allocations: 3.125 kB / 0.5228 GB, free: 11.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.759e-05/0.4721, allocations: 10.11 kB / 0.5228 GB, free: 11.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.4726, allocations: 108.8 kB / 0.5229 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.478e-05/0.4726, allocations: 5.875 kB / 0.5229 GB, free: 11.9 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005148/0.4732, allocations: 80.17 kB / 0.523 GB, free: 11.87 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.4732, allocations: 21.14 kB / 0.523 GB, free: 11.87 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008855/0.4741, allocations: 361.1 kB / 0.5234 GB, free: 11.68 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007509/0.4749, allocations: 330.4 kB / 0.5237 GB, free: 11.47 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001498/0.4764, allocations: 0.5621 MB / 0.5242 GB, free: 11.13 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.938e-06/0.4764, allocations: 5.375 kB / 0.5242 GB, free: 11.13 MB / 398.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.001684/0.4781, allocations: 0.6855 MB / 0.5249 GB, free: 10.83 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.236e-05/0.4782, allocations: 64.67 kB / 0.525 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.4782, allocations: 4.344 kB / 0.525 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.4782, allocations: 5.031 kB / 0.525 GB, free: 10.76 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00045/0.4787, allocations: 100.5 kB / 0.5251 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.4787, allocations: 9.797 kB / 0.5251 GB, free: 10.75 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004691/0.4792, allocations: 67.86 kB / 0.5252 GB, free: 10.73 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-05/0.4792, allocations: 19.53 kB / 0.5252 GB, free: 10.72 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.0003025/0.4795, allocations: 219.4 kB / 0.5254 GB, free: 10.52 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001124/0.4796, allocations: 64.06 kB / 0.5254 GB, free: 10.48 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.4799, allocations: 66.22 kB / 0.5255 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4799, allocations: 9.156 kB / 0.5255 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.4799, allocations: 1.344 kB / 0.5255 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.4799, allocations: 3.156 kB / 0.5255 GB, free: 10.44 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009438/0.4809, allocations: 0.5413 MB / 0.5261 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.4809, allocations: 0 / 0.5261 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.4813, allocations: 81.45 kB / 0.5261 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.803e-06/0.4813, allocations: 2.031 kB / 0.5261 GB, free: 10.09 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.4814, allocations: 11.12 kB / 0.5261 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.261e-06/0.4814, allocations: 7.984 kB / 0.5262 GB, free: 10.08 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.4814, allocations: 5.219 kB / 0.5262 GB, free: 10.07 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/0.4836, allocations: 0.8701 MB / 0.527 GB, free: 9.707 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002263/0.4839, allocations: 187.9 kB / 0.5272 GB, free: 9.543 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.416e-05/0.484, allocations: 14.8 kB / 0.5272 GB, free: 9.535 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003822/0.4844, allocations: 45.16 kB / 0.5272 GB, free: 9.531 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/0.4845, allocations: 48.2 kB / 0.5273 GB, free: 9.516 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.474e-05/0.4846, allocations: 17.94 kB / 0.5273 GB, free: 9.512 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0005005/0.4851, allocations: 355.3 kB / 0.5276 GB, free: 9.348 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.4851, allocations: 4 kB / 0.5276 GB, free: 9.344 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0008213/0.4859, allocations: 195.5 kB / 0.5278 GB, free: 9.301 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.001108/0.4871, allocations: 474.1 kB / 0.5283 GB, free: 9.074 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002589/0.4897, allocations: 1.01 MB / 0.5293 GB, free: 8.574 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.607e-06/0.4897, allocations: 5.719 kB / 0.5293 GB, free: 8.57 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007589/0.4904, allocations: 269.7 kB / 0.5295 GB, free: 8.492 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008573/0.4913, allocations: 127.7 kB / 0.5297 GB, free: 8.445 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002186/0.4935, allocations: 0.941 MB / 0.5306 GB, free: 7.906 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007641/0.4943, allocations: 0.8664 MB / 0.5314 GB, free: 7.176 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004746/0.4948, allocations: 115.4 kB / 0.5315 GB, free: 7.125 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001758/0.495, allocations: 51.86 kB / 0.5316 GB, free: 7.109 MB / 398.1 MB Notification: Performance of SimCode: time 1.192e-06/0.495, allocations: 0 / 0.5316 GB, free: 7.109 MB / 398.1 MB Notification: Performance of Templates: time 0.01771/0.5127, allocations: 7.755 MB / 0.5392 GB, free: 3.25 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)