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.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.0008274/0.0008274, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.0009055/0.0009055, allocations: 167.9 kB / 25.61 MB, free: 8.582 MB / 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.9846/0.9846, allocations: 177.2 MB / 206.1 MB, free: 4.477 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.1451/0.1451, allocations: 29.42 MB / 292 MB, free: 2.609 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.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 370.9 MB, free: 32.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.221e-05/1.409e-05, allocations: 4.844 kB / 370.9 MB, free: 32.29 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.00298/0.002995, allocations: 3.823 MB / 374.7 MB, free: 28.45 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.004731, allocations: 1.566 MB / 376.3 MB, free: 26.88 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002352/0.004967, allocations: 19.81 kB / 376.3 MB, free: 26.86 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.005237, allocations: 107 kB / 376.4 MB, free: 26.75 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003666/0.005604, allocations: 206.5 kB / 376.6 MB, free: 26.55 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004081/0.006012, allocations: 347.2 kB / 376.9 MB, free: 26.21 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000448/0.00646, allocations: 0.7686 MB / 377.7 MB, free: 25.44 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001846/0.006644, allocations: 131.8 kB / 377.8 MB, free: 25.3 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004045/0.007049, allocations: 411 kB / 378.2 MB, free: 24.9 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.00722, allocations: 231.3 kB / 378.4 MB, free: 24.68 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 5.184e-05/0.007271, allocations: 72 kB / 378.5 MB, free: 24.61 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.007437, allocations: 167.8 kB / 378.7 MB, free: 24.44 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.758e-05/0.007525, allocations: 171.4 kB / 378.9 MB, free: 24.27 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.957e-05/0.007624, allocations: 187.5 kB / 379 MB, free: 24.09 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00041/0.008034, allocations: 0.5917 MB / 379.6 MB, free: 23.5 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.008036, allocations: 0 / 379.6 MB, free: 23.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.008037, allocations: 0 / 379.6 MB, free: 23.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.008042, allocations: 0 / 379.6 MB, free: 23.5 MB / 314.7 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.0008177/0.00886, allocations: 1.06 MB / 380.7 MB, free: 22.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.602e-05/0.008886, allocations: 12.03 kB / 380.7 MB, free: 22.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.497e-05/0.008981, allocations: 92.52 kB / 380.8 MB, free: 22.29 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.009325, allocations: 456.3 kB / 381.2 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.887e-05/0.009343, allocations: 29.38 kB / 381.3 MB, free: 21.79 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.234e-05/0.009416, allocations: 44.3 kB / 381.3 MB, free: 21.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.009857, allocations: 0.5201 MB / 381.8 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.009867, allocations: 3.938 kB / 381.8 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.009893, allocations: 12 kB / 381.8 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-06/0.009901, allocations: 12 kB / 381.9 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002164/0.01012, allocations: 196.5 kB / 382 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009922/0.01111, allocations: 2.27 MB / 384.3 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004123/0.01152, allocations: 359.2 kB / 384.7 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.226e-05/0.01161, allocations: 90.7 kB / 384.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.027e-05/0.01163, allocations: 8 kB / 384.8 MB, free: 18.05 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002083/0.01184, allocations: 240.7 kB / 385 MB, free: 17.78 MB / 314.7 MB Notification: Performance of pre-optimization done (n=37): time 1.363e-06/0.01184, allocations: 0 / 385 MB, free: 17.78 MB / 314.7 MB Notification: Performance of matching and sorting (n=37): time 0.0004317/0.01228, allocations: 355.1 kB / 385.3 MB, free: 17.43 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.139e-05/0.01232, allocations: 217.6 kB / 385.6 MB, free: 17.17 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002349/0.01255, allocations: 0.4908 MB / 386 MB, free: 16.66 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.01258, allocations: 37.7 kB / 386.1 MB, free: 16.62 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.01269, allocations: 331.3 kB / 386.4 MB, free: 16.29 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.71e-05/0.01275, allocations: 131 kB / 386.5 MB, free: 16.16 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.845e-05/0.01284, allocations: 91.8 kB / 386.6 MB, free: 16.06 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.651e-05/0.01291, allocations: 0.5507 MB / 387.2 MB, free: 15.5 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.446e-05/0.013, allocations: 113 kB / 387.3 MB, free: 15.38 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01314, allocations: 352.4 kB / 387.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002183/0.01336, allocations: 319.8 kB / 387.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.01336, allocations: 0 / 387.9 MB, free: 14.56 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003771/0.01374, allocations: 487.5 kB / 388.4 MB, free: 14.05 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.01376, allocations: 63.41 kB / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-06/0.01376, allocations: 0 / 388.5 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.286e-06/0.01377, allocations: 8 kB / 388.5 MB, free: 13.97 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/0.01398, allocations: 95.88 kB / 388.6 MB, free: 13.88 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.01398, allocations: 11.88 kB / 388.6 MB, free: 13.86 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001713/0.01416, allocations: 68.03 kB / 388.7 MB, free: 13.8 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.01418, allocations: 12 kB / 388.7 MB, free: 13.79 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001522/0.01433, allocations: 243.2 kB / 388.9 MB, free: 13.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001342/0.01446, allocations: 356.3 kB / 389.3 MB, free: 13.08 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002008/0.01466, allocations: 320.6 kB / 389.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.202e-06/0.01466, allocations: 0 / 389.6 MB, free: 12.71 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0003642/0.01503, allocations: 482 kB / 390 MB, free: 12.21 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.01505, allocations: 67.47 kB / 390.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-06/0.01505, allocations: 0 / 390.1 MB, free: 12.13 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.117e-06/0.01505, allocations: 12.03 kB / 390.1 MB, free: 12.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.01523, allocations: 87.88 kB / 390.2 MB, free: 12.03 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.728e-06/0.01524, allocations: 7.938 kB / 390.2 MB, free: 12.02 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.0154, allocations: 59.8 kB / 390.3 MB, free: 11.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.01542, allocations: 16 kB / 390.3 MB, free: 11.95 MB / 314.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: 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 (50): * Single equations (assignments): 48 * 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.0001029/0.01552, allocations: 305.9 kB / 390.6 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.01558, allocations: 67.62 kB / 390.7 MB, free: 11.58 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002946/0.01588, allocations: 298.3 kB / 390.9 MB, free: 11.28 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.01588, allocations: 8 kB / 391 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.01588, allocations: 0 / 391 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.01589, allocations: 3.984 kB / 391 MB, free: 11.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.01614, allocations: 328.7 kB / 391.3 MB, free: 10.92 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.01614, allocations: 8 kB / 391.3 MB, free: 10.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001822/0.01632, allocations: 79.89 kB / 391.4 MB, free: 10.84 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.01632, allocations: 4 kB / 391.4 MB, free: 10.83 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.049e-05/0.01634, allocations: 15.98 kB / 391.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01634, allocations: 0 / 391.4 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.998e-05/0.01636, allocations: 3.938 kB / 391.4 MB, free: 10.81 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004844/0.01685, allocations: 487.8 kB / 391.9 MB, free: 10.3 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001129/0.01696, allocations: 107.5 kB / 392 MB, free: 10.2 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.809e-05/0.01701, allocations: 16 kB / 392 MB, free: 10.18 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.01715, allocations: 35.95 kB / 392 MB, free: 10.14 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.931e-05/0.01723, allocations: 55.89 kB / 392.1 MB, free: 10.09 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.265e-05/0.01726, allocations: 15.98 kB / 392.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001356/0.01739, allocations: 310.7 kB / 392.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01739, allocations: 0 / 392.4 MB, free: 9.773 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004032/0.01779, allocations: 227.5 kB / 392.6 MB, free: 9.551 MB / 314.7 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.nextTimeEvent,loadDispatcher.data.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * 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.001/0.01879, allocations: 0.523 MB / 393.1 MB, free: 9.246 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005059/0.0193, allocations: 0.6665 MB / 393.8 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0193, allocations: 4 kB / 393.8 MB, free: 8.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.01944, allocations: 123.4 kB / 393.9 MB, free: 8.367 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003722/0.01981, allocations: 155.3 kB / 394.1 MB, free: 8.23 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001057/0.02087, allocations: 0.8919 MB / 395 MB, free: 7.293 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.72e-05/0.02093, allocations: 130.6 kB / 395.1 MB, free: 7.141 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0002043/0.02113, allocations: 83.38 kB / 395.2 MB, free: 7.059 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/0.02139, allocations: 202.1 kB / 395.4 MB, free: 6.859 MB / 314.7 MB Notification: Performance of SimCode: time 6.41e-07/0.02139, allocations: 0 / 395.4 MB, free: 6.859 MB / 314.7 MB Notification: Performance of Templates: time 0.01024/0.03162, allocations: 9.843 MB / 405.2 MB, free: 13.14 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.makefile [Timeout 660] (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=240 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.143308857921511]