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.001015/0.001015, allocations: 79.59 kB / 21.18 MB, free: 3.391 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.001112/0.001112, allocations: 161 kB / 24.56 MB, free: 20 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 0.9694/0.9694, allocations: 177.1 MB / 205 MB, free: 5.301 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.2567/0.2567, allocations: 29.41 MB / 290.9 MB, free: 2.473 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.663e-06/1.663e-06, allocations: 0 / 369.6 MB, free: 11.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.707e-05/1.874e-05, allocations: 2.312 kB / 369.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.003837/0.003856, allocations: 3.86 MB / 373.5 MB, free: 7.121 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002157/0.006013, allocations: 1.582 MB / 375.1 MB, free: 5.531 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002487/0.006262, allocations: 15.88 kB / 375.1 MB, free: 5.516 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.006639, allocations: 111 kB / 375.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005038/0.007143, allocations: 206.6 kB / 375.4 MB, free: 5.203 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004919/0.007635, allocations: 351.1 kB / 375.7 MB, free: 4.859 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006385/0.008273, allocations: 0.7608 MB / 376.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002164/0.008489, allocations: 135.8 kB / 376.6 MB, free: 3.961 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004978/0.008987, allocations: 419 kB / 377 MB, free: 3.551 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001968/0.009184, allocations: 231.3 kB / 377.3 MB, free: 3.324 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.307e-05/0.009247, allocations: 68 kB / 377.3 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001824/0.00943, allocations: 167.8 kB / 377.5 MB, free: 3.094 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.009539, allocations: 167.4 kB / 377.7 MB, free: 2.93 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001493/0.009689, allocations: 203.4 kB / 377.9 MB, free: 2.73 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005215/0.01021, allocations: 0.5838 MB / 378.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.01021, allocations: 0 / 378.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.01021, allocations: 0 / 378.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.01022, allocations: 0 / 378.4 MB, free: 2.145 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.001081/0.0113, allocations: 1.049 MB / 379.5 MB, free: 1.047 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.053e-05/0.01133, allocations: 11.98 kB / 379.5 MB, free: 1.035 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001152/0.01144, allocations: 96.52 kB / 379.6 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004592/0.0119, allocations: 459 kB / 380.1 MB, free: 476 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.533e-05/0.01193, allocations: 29.38 kB / 380.1 MB, free: 448 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.01198, allocations: 40.38 kB / 380.1 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005833/0.01256, allocations: 0.5474 MB / 380.7 MB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.01257, allocations: 7.875 kB / 380.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.402e-05/0.01261, allocations: 16 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.01262, allocations: 8 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003744/0.01299, allocations: 260.5 kB / 381 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001433/0.01443, allocations: 2.34 MB / 383.3 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005783/0.015, allocations: 396.5 kB / 383.7 MB, free: 12.61 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001429/0.01515, allocations: 106.5 kB / 383.8 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.01517, allocations: 8 kB / 383.8 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002758/0.01545, allocations: 247.1 kB / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.393e-06/0.01545, allocations: 0 / 384 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0006005/0.01605, allocations: 392.6 kB / 384.4 MB, free: 11.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.236e-05/0.01612, allocations: 221.6 kB / 384.6 MB, free: 11.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000361/0.01648, allocations: 0.491 MB / 385.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.01652, allocations: 41.7 kB / 385.2 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001606/0.01668, allocations: 339.4 kB / 385.5 MB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.297e-05/0.01675, allocations: 127 kB / 385.6 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.01686, allocations: 91.84 kB / 385.7 MB, free: 10.44 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.01699, allocations: 0.5352 MB / 386.2 MB, free: 9.895 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000162/0.01715, allocations: 141 kB / 386.4 MB, free: 9.738 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002462/0.0174, allocations: 372.1 kB / 386.7 MB, free: 9.273 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003536/0.01775, allocations: 365 kB / 387.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01776, allocations: 0 / 387.1 MB, free: 8.852 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0005441/0.0183, allocations: 0.5074 MB / 387.6 MB, free: 8.312 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.01833, allocations: 63.41 kB / 387.7 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.01834, allocations: 7.938 kB / 387.7 MB, free: 8.23 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.01836, allocations: 11.92 kB / 387.7 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002322/0.01859, allocations: 95.83 kB / 387.8 MB, free: 8.125 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.0186, allocations: 12.36 kB / 387.8 MB, free: 8.113 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001766/0.01877, allocations: 63.7 kB / 387.9 MB, free: 8.051 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.494e-05/0.0188, allocations: 16 kB / 387.9 MB, free: 8.035 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002219/0.01902, allocations: 267.2 kB / 388.1 MB, free: 7.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002371/0.01926, allocations: 376.1 kB / 388.5 MB, free: 7.289 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003282/0.01959, allocations: 344.7 kB / 388.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.432e-06/0.01959, allocations: 0 / 388.8 MB, free: 6.887 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0005213/0.02011, allocations: 0.5114 MB / 389.4 MB, free: 6.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.579e-05/0.02013, allocations: 63.39 kB / 389.4 MB, free: 6.27 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.02014, allocations: 7.938 kB / 389.4 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.619e-06/0.02014, allocations: 4 kB / 389.4 MB, free: 6.258 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002011/0.02034, allocations: 91.89 kB / 389.5 MB, free: 6.168 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.02035, allocations: 11.92 kB / 389.5 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001708/0.02052, allocations: 60.03 kB / 389.6 MB, free: 6.098 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.22e-05/0.02054, allocations: 20 kB / 389.6 MB, free: 6.078 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.0001251/0.02067, allocations: 302 kB / 389.9 MB, free: 5.777 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.572e-05/0.02074, allocations: 75.55 kB / 390 MB, free: 5.703 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003801/0.02112, allocations: 310 kB / 390.3 MB, free: 5.391 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.02113, allocations: 8 kB / 390.3 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.02113, allocations: 0 / 390.3 MB, free: 5.383 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.02114, allocations: 3.984 kB / 390.3 MB, free: 5.379 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000325/0.02146, allocations: 396.1 kB / 390.7 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.02147, allocations: 8 kB / 390.7 MB, free: 4.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001919/0.02166, allocations: 71.89 kB / 390.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.02166, allocations: 4 kB / 390.8 MB, free: 4.875 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.02169, allocations: 19.92 kB / 390.8 MB, free: 4.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.02169, allocations: 4 kB / 390.8 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.02169, allocations: 0 / 390.8 MB, free: 4.852 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.02233, allocations: 0.5154 MB / 391.3 MB, free: 4.297 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001406/0.02247, allocations: 115.4 kB / 391.4 MB, free: 4.184 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.02e-05/0.02252, allocations: 15.94 kB / 391.4 MB, free: 4.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/0.02267, allocations: 39.98 kB / 391.5 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.234e-05/0.02275, allocations: 47.92 kB / 391.5 MB, free: 4.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.533e-05/0.02277, allocations: 19.98 kB / 391.5 MB, free: 4.062 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002309/0.023, allocations: 330.8 kB / 391.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.023, allocations: 0 / 391.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004285/0.02343, allocations: 227.5 kB / 392.1 MB, free: 3.52 MB / 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.001038/0.02447, allocations: 0.5181 MB / 392.6 MB, free: 3.191 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007438/0.02521, allocations: 0.725 MB / 393.3 MB, free: 2.387 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02522, allocations: 4.188 kB / 393.3 MB, free: 2.383 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001946/0.02541, allocations: 143.5 kB / 393.5 MB, free: 2.238 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003974/0.02581, allocations: 150.5 kB / 393.6 MB, free: 2.102 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001275/0.02708, allocations: 0.8844 MB / 394.5 MB, free: 1.168 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.025e-05/0.02716, allocations: 134.6 kB / 394.6 MB, free: 1.016 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002342/0.0274, allocations: 108 kB / 394.7 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.02753, allocations: 64.41 kB / 394.8 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of SimCode: time 5.31e-07/0.02753, allocations: 0 / 394.8 MB, free: 0.8438 MB / 362.7 MB Notification: Performance of Templates: time 0.01025/0.03778, allocations: 8.84 MB / 403.6 MB, free: 8.102 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: 3.4554675384424627]