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.002144/0.002144, allocations: 111.2 kB / 17.28 MB, free: 6.199 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.003044/0.003045, allocations: 197.3 kB / 18.21 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.779/2.779, allocations: 222.9 MB / 241.9 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.3687/0.3687, allocations: 38.02 MB / 330 MB, free: 8.984 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002409/0.002409, allocations: 58.27 kB / 398.9 MB, free: 34.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2267, allocations: 58.06 MB / 457 MB, free: 8.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.01001/0.2368, allocations: 4.042 MB / 461 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005032/0.2419, allocations: 1.496 MB / 462.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007145/0.2427, allocations: 23.88 kB / 462.6 MB, free: 2.836 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007222/0.2434, allocations: 83.41 kB / 462.6 MB, free: 2.754 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007554/0.2443, allocations: 127.2 kB / 462.8 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001261/0.2455, allocations: 334.3 kB / 463.1 MB, free: 2.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001342/0.2469, allocations: 0.7415 MB / 463.8 MB, free: 1.559 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006261/0.2475, allocations: 219.5 kB / 464 MB, free: 1.344 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008396/0.2484, allocations: 286.9 kB / 464.3 MB, free: 1.062 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000472/0.2489, allocations: 286.6 kB / 464.6 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.249, allocations: 68 kB / 464.7 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003885/0.2494, allocations: 124 kB / 464.8 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002406/0.2497, allocations: 155.5 kB / 464.9 MB, free: 452 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004073/0.2501, allocations: 294.4 kB / 465.2 MB, free: 156 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001126/0.2512, allocations: 0.6237 MB / 465.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.067e-06/0.2513, allocations: 0 / 465.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.648e-06/0.2513, allocations: 0 / 465.9 MB, free: 15.53 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.807e-05/0.2513, allocations: 4 kB / 465.9 MB, free: 15.52 MB / 350.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.003053/0.2544, allocations: 1.002 MB / 466.9 MB, free: 14.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.186e-05/0.2545, allocations: 15.83 kB / 466.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.2547, allocations: 68.09 kB / 466.9 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001145/0.2558, allocations: 0.5101 MB / 467.4 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.145e-05/0.2559, allocations: 33.36 kB / 467.5 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001103/0.256, allocations: 40.12 kB / 467.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001792/0.2578, allocations: 0.5458 MB / 468.1 MB, free: 13.16 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.945e-05/0.2579, allocations: 7.922 kB / 468.1 MB, free: 13.15 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.489e-05/0.258, allocations: 16 kB / 468.1 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.772e-05/0.258, allocations: 12 kB / 468.1 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002007/0.26, allocations: 0.516 MB / 468.6 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004458/0.2645, allocations: 2.071 MB / 470.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003776/0.2683, allocations: 0.5884 MB / 471.3 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009909/0.2694, allocations: 227.3 kB / 471.5 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.754e-05/0.2695, allocations: 19.98 kB / 471.5 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001436/0.2709, allocations: 358.2 kB / 471.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of pre-optimization done (n=37): time 4.889e-06/0.2709, allocations: 0 / 471.9 MB, free: 9.188 MB / 350.1 MB Notification: Performance of matching and sorting (n=37): time 0.003326/0.2743, allocations: 0.7451 MB / 472.6 MB, free: 8.438 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002164/0.2745, allocations: 200.1 kB / 472.8 MB, free: 8.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001137/0.2757, allocations: 0.4951 MB / 473.3 MB, free: 7.691 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001092/0.2758, allocations: 41.7 kB / 473.3 MB, free: 7.645 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000378/0.2762, allocations: 272.1 kB / 473.6 MB, free: 7.371 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001844/0.2764, allocations: 118.4 kB / 473.7 MB, free: 7.254 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.2766, allocations: 89.97 kB / 473.8 MB, free: 7.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002716/0.2769, allocations: 370.8 kB / 474.2 MB, free: 6.789 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009967/0.2779, allocations: 226.5 kB / 474.4 MB, free: 6.566 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001124/0.2791, allocations: 341.9 kB / 474.7 MB, free: 6.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001992/0.2811, allocations: 0.5753 MB / 475.3 MB, free: 5.551 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.918e-06/0.2811, allocations: 3.938 kB / 475.3 MB, free: 5.547 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002739/0.2839, allocations: 0.7119 MB / 476 MB, free: 4.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001035/0.284, allocations: 67.39 kB / 476.1 MB, free: 4.742 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.008e-05/0.284, allocations: 4 kB / 476.1 MB, free: 4.738 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.313e-05/0.2841, allocations: 4.375 kB / 476.1 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007303/0.2848, allocations: 111.8 kB / 476.2 MB, free: 4.625 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.312e-05/0.2848, allocations: 8 kB / 476.2 MB, free: 4.617 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007835/0.2856, allocations: 75.47 kB / 476.3 MB, free: 4.543 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.669e-05/0.2857, allocations: 23.98 kB / 476.3 MB, free: 4.52 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001252/0.287, allocations: 356.9 kB / 476.7 MB, free: 4.168 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001017/0.288, allocations: 333.8 kB / 477 MB, free: 3.797 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001854/0.2899, allocations: 0.5599 MB / 477.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.529e-06/0.2899, allocations: 0 / 477.5 MB, free: 3.184 MB / 350.1 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00251/0.2924, allocations: 0.6901 MB / 478.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.965e-05/0.2925, allocations: 67.39 kB / 478.3 MB, free: 2.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.2926, allocations: 7.984 kB / 478.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.2926, allocations: 8 kB / 478.3 MB, free: 2.383 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000684/0.2933, allocations: 103.8 kB / 478.4 MB, free: 2.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/0.2933, allocations: 4.344 kB / 478.4 MB, free: 2.277 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007691/0.2941, allocations: 67.62 kB / 478.5 MB, free: 2.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.427e-05/0.2942, allocations: 20 kB / 478.5 MB, free: 2.191 MB / 350.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.0003868/0.2946, allocations: 218.3 kB / 478.7 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001688/0.2947, allocations: 59.34 kB / 478.8 MB, free: 1.91 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002807/0.295, allocations: 64.59 kB / 478.8 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.676e-05/0.2951, allocations: 11.98 kB / 478.9 MB, free: 1.836 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.207e-05/0.2951, allocations: 4 kB / 478.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/0.2951, allocations: 0 / 478.9 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001019/0.2961, allocations: 0.5439 MB / 479.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.591e-06/0.2962, allocations: 0 / 479.4 MB, free: 1.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.2968, allocations: 75.88 kB / 479.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.604e-05/0.2968, allocations: 0 / 479.5 MB, free: 1.164 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-05/0.2969, allocations: 23.92 kB / 479.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.2969, allocations: 0 / 479.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.2969, allocations: 0 / 479.5 MB, free: 1.141 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/0.3003, allocations: 0.8731 MB / 480.4 MB, free: 244 kB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004246/0.3007, allocations: 180.3 kB / 480.5 MB, free: 44 kB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001692/0.3009, allocations: 16.06 kB / 480.6 MB, free: 28 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006603/0.3016, allocations: 44 kB / 480.6 MB, free: 15.98 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002174/0.3018, allocations: 47.88 kB / 480.7 MB, free: 15.94 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.902e-05/0.3019, allocations: 16 kB / 480.7 MB, free: 15.92 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007964/0.3027, allocations: 358.8 kB / 481 MB, free: 15.57 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3027, allocations: 0 / 481 MB, free: 15.57 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001265/0.304, allocations: 191.6 kB / 481.2 MB, free: 15.39 MB / 366.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.001859/0.3059, allocations: 483.4 kB / 481.7 MB, free: 15.09 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004252/0.3101, allocations: 1.044 MB / 482.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.3102, allocations: 0 / 482.7 MB, free: 13.99 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001146/0.3113, allocations: 260.4 kB / 483 MB, free: 13.74 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001427/0.3128, allocations: 136.7 kB / 483.1 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003882/0.3167, allocations: 1.135 MB / 484.2 MB, free: 12.44 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008849/0.3176, allocations: 0.8591 MB / 485.1 MB, free: 11.55 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003727/0.318, allocations: 51.42 kB / 485.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of SimCode: time 5.901e-06/0.3221, allocations: 0 / 485.2 MB, free: 11.5 MB / 366.1 MB Notification: Performance of Templates: time 0.02863/0.3508, allocations: 7.946 MB / 493.1 MB, free: 3.586 MB / 366.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)