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.001994/0.001994, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002009/0.002009, allocations: 165.3 kB / 24.27 MB, free: 152 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 1.557/1.557, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.2918/0.2918, allocations: 29.41 MB / 290.5 MB, free: 2.43 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.833e-06/1.833e-06, allocations: 0 / 368.9 MB, free: 11.34 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.906e-05/3.09e-05, allocations: 2.312 kB / 368.9 MB, free: 11.33 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.008475/0.008506, allocations: 3.814 MB / 372.7 MB, free: 7.488 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004779/0.01328, allocations: 1.565 MB / 374.3 MB, free: 5.918 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000542/0.01383, allocations: 19.88 kB / 374.3 MB, free: 5.898 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006019/0.01443, allocations: 107 kB / 374.4 MB, free: 5.793 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008472/0.01528, allocations: 210.5 kB / 374.6 MB, free: 5.586 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.01636, allocations: 339.2 kB / 374.9 MB, free: 5.254 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001343/0.0177, allocations: 0.7647 MB / 375.7 MB, free: 4.488 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000436/0.01814, allocations: 139.7 kB / 375.8 MB, free: 4.348 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00107/0.01921, allocations: 423 kB / 376.2 MB, free: 3.934 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000483/0.01969, allocations: 227.3 kB / 376.4 MB, free: 3.711 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.01985, allocations: 68 kB / 376.5 MB, free: 3.645 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004668/0.02032, allocations: 167.8 kB / 376.7 MB, free: 3.48 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002897/0.02061, allocations: 171.5 kB / 376.8 MB, free: 3.312 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003466/0.02095, allocations: 187.5 kB / 377 MB, free: 3.129 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001675/0.02263, allocations: 0.9112 MB / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.02263, allocations: 0 / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.02264, allocations: 0 / 377.9 MB, free: 2.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.515e-05/0.02265, allocations: 0 / 377.9 MB, free: 2.215 MB / 346.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.002619/0.02527, allocations: 1.107 MB / 379 MB, free: 1.059 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.02531, allocations: 15.92 kB / 379.1 MB, free: 1.043 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002719/0.02559, allocations: 96.52 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001095/0.02668, allocations: 471 kB / 379.6 MB, free: 472 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.495e-05/0.02673, allocations: 25.38 kB / 379.6 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001076/0.02683, allocations: 36.38 kB / 379.7 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001678/0.02851, allocations: 0.66 MB / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/0.02853, allocations: 3.938 kB / 380.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/0.0286, allocations: 16 kB / 380.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.5e-05/0.02861, allocations: 8 kB / 380.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001692/0.03031, allocations: 476.4 kB / 380.8 MB, free: 15.16 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004304/0.03461, allocations: 2.568 MB / 383.4 MB, free: 12.5 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002295/0.03691, allocations: 0.5502 MB / 383.9 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007715/0.03768, allocations: 202.7 kB / 384.1 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.842e-05/0.03774, allocations: 8 kB / 384.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.03889, allocations: 366.9 kB / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.006e-06/0.03889, allocations: 0 / 384.5 MB, free: 11.3 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.002642/0.04153, allocations: 0.6405 MB / 385.2 MB, free: 10.65 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001974/0.04173, allocations: 217.6 kB / 385.4 MB, free: 10.39 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.04298, allocations: 0.647 MB / 386 MB, free: 9.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.023e-05/0.04307, allocations: 41.7 kB / 386.1 MB, free: 9.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004919/0.04357, allocations: 371.6 kB / 386.4 MB, free: 9.312 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.04378, allocations: 143 kB / 386.6 MB, free: 9.172 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.04407, allocations: 103.8 kB / 386.7 MB, free: 9.059 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0007009/0.04477, allocations: 0.5821 MB / 387.2 MB, free: 8.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008072/0.04558, allocations: 245 kB / 387.5 MB, free: 8.211 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001138/0.04672, allocations: 0.4883 MB / 388 MB, free: 7.617 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001692/0.04841, allocations: 0.5515 MB / 388.5 MB, free: 7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/0.04841, allocations: 3.938 kB / 388.5 MB, free: 6.996 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00245/0.05086, allocations: 0.7107 MB / 389.2 MB, free: 6.254 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.905e-05/0.05095, allocations: 67.39 kB / 389.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.05096, allocations: 0 / 389.3 MB, free: 6.176 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.328e-05/0.051, allocations: 11.94 kB / 389.3 MB, free: 6.164 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007093/0.05171, allocations: 95.88 kB / 389.4 MB, free: 6.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/0.05173, allocations: 7.938 kB / 389.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006637/0.0524, allocations: 67.64 kB / 389.5 MB, free: 5.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.882e-05/0.05247, allocations: 23.98 kB / 389.5 MB, free: 5.973 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001037/0.05351, allocations: 399.3 kB / 389.9 MB, free: 5.566 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001088/0.0546, allocations: 492.1 kB / 390.4 MB, free: 4.988 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001652/0.05625, allocations: 0.5312 MB / 390.9 MB, free: 4.391 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.617e-06/0.05625, allocations: 0 / 390.9 MB, free: 4.391 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.00219/0.05844, allocations: 0.6948 MB / 391.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.628e-05/0.05852, allocations: 63.41 kB / 391.7 MB, free: 3.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.05853, allocations: 11.88 kB / 391.7 MB, free: 3.578 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.05854, allocations: 4 kB / 391.7 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006146/0.05916, allocations: 100.2 kB / 391.8 MB, free: 3.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.491e-05/0.05917, allocations: 8 kB / 391.8 MB, free: 3.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005594/0.05973, allocations: 55.75 kB / 391.8 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.253e-05/0.0598, allocations: 19.98 kB / 391.9 MB, free: 3.395 MB / 362.7 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.0003667/0.06017, allocations: 302 kB / 392.1 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002045/0.06038, allocations: 75.56 kB / 392.2 MB, free: 3.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001363/0.06174, allocations: 393.9 kB / 392.6 MB, free: 2.625 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.179e-05/0.06175, allocations: 8 kB / 392.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.06176, allocations: 0 / 392.6 MB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.17e-05/0.06177, allocations: 3.984 kB / 392.6 MB, free: 2.613 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008961/0.06266, allocations: 0.5079 MB / 393.1 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.544e-06/0.06267, allocations: 0 / 393.1 MB, free: 2.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004176/0.06308, allocations: 79.89 kB / 393.2 MB, free: 1.992 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.06309, allocations: 7.938 kB / 393.2 MB, free: 1.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.887e-05/0.06314, allocations: 19.92 kB / 393.2 MB, free: 1.965 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.53e-06/0.06314, allocations: 4 kB / 393.2 MB, free: 1.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.06315, allocations: 4 kB / 393.2 MB, free: 1.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.06525, allocations: 0.8358 MB / 394.1 MB, free: 1.078 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/0.06551, allocations: 115.4 kB / 394.2 MB, free: 0.9648 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.0656, allocations: 19.92 kB / 394.2 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003406/0.06594, allocations: 40 kB / 394.2 MB, free: 0.9062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/0.06609, allocations: 51.92 kB / 394.3 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.792e-05/0.06614, allocations: 19.98 kB / 394.3 MB, free: 0.8359 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005296/0.06667, allocations: 414.8 kB / 394.7 MB, free: 444 kB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.06667, allocations: 0 / 394.7 MB, free: 444 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007333/0.0674, allocations: 223.5 kB / 394.9 MB, free: 220 kB / 362.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.003463/0.07087, allocations: 0.5527 MB / 395.5 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002271/0.07314, allocations: 1.057 MB / 396.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.07314, allocations: 3.938 kB / 396.6 MB, free: 14.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006314/0.07377, allocations: 247.6 kB / 396.8 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007428/0.07452, allocations: 151.8 kB / 396.9 MB, free: 14.36 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001975/0.07649, allocations: 0.9583 MB / 397.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.07683, allocations: 271.6 kB / 398.2 MB, free: 13.06 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003974/0.07723, allocations: 108.1 kB / 398.3 MB, free: 12.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.07743, allocations: 56.48 kB / 398.3 MB, free: 12.9 MB / 378.7 MB Notification: Performance of SimCode: time 8.82e-07/0.07743, allocations: 0 / 398.3 MB, free: 12.9 MB / 378.7 MB Notification: Performance of Templates: time 0.01841/0.09583, allocations: 8.835 MB / 407.2 MB, free: 4.164 MB / 378.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: 5.171320114983246]