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.001487/0.001487, allocations: 88.31 kB / 20.96 MB, free: 3.477 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.001563/0.001563, allocations: 161.6 kB / 24.27 MB, free: 172 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.553/1.553, allocations: 177.2 MB / 204.6 MB, free: 5.582 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.3306/0.3306, allocations: 29.41 MB / 290.5 MB, free: 2.441 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.924e-06/1.924e-06, allocations: 0 / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.42e-05/4.613e-05, allocations: 2.312 kB / 368.9 MB, free: 11.31 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.008687/0.008733, allocations: 3.701 MB / 372.6 MB, free: 7.578 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.004361/0.01309, allocations: 1.543 MB / 374.1 MB, free: 6.027 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005207/0.01361, allocations: 19.88 kB / 374.2 MB, free: 6.008 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006349/0.01425, allocations: 115 kB / 374.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001019/0.01527, allocations: 202.6 kB / 374.5 MB, free: 5.695 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.01649, allocations: 343.2 kB / 374.8 MB, free: 5.359 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001523/0.01801, allocations: 0.7725 MB / 375.6 MB, free: 4.586 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004884/0.0185, allocations: 139.7 kB / 375.7 MB, free: 4.445 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001206/0.01971, allocations: 411.1 kB / 376.1 MB, free: 4.043 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005726/0.02028, allocations: 227.3 kB / 376.3 MB, free: 3.82 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.02048, allocations: 68 kB / 376.4 MB, free: 3.754 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000505/0.02099, allocations: 175.7 kB / 376.6 MB, free: 3.582 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002846/0.02127, allocations: 167.5 kB / 376.7 MB, free: 3.418 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003895/0.02166, allocations: 187.4 kB / 376.9 MB, free: 3.234 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001841/0.0235, allocations: 0.9113 MB / 377.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.02351, allocations: 0 / 377.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.02351, allocations: 0 / 377.8 MB, free: 2.32 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.125e-05/0.02353, allocations: 0 / 377.8 MB, free: 2.32 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.003205/0.02673, allocations: 0.9763 MB / 378.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.618e-05/0.0268, allocations: 11.98 kB / 378.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003669/0.02717, allocations: 100.5 kB / 378.9 MB, free: 1.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.02857, allocations: 473.5 kB / 379.4 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.127e-05/0.02863, allocations: 33.36 kB / 379.4 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.02876, allocations: 36.38 kB / 379.4 MB, free: 0.6367 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002037/0.0308, allocations: 0.6459 MB / 380.1 MB, free: 15.92 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.915e-05/0.03083, allocations: 11.88 kB / 380.1 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.379e-05/0.03091, allocations: 16 kB / 380.1 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.03094, allocations: 8 kB / 380.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002413/0.03335, allocations: 0.5667 MB / 380.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004093/0.03744, allocations: 1.886 MB / 382.6 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002706/0.04015, allocations: 0.6191 MB / 383.2 MB, free: 12.71 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.04123, allocations: 231.3 kB / 383.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.127e-05/0.0413, allocations: 15.94 kB / 383.4 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001443/0.04274, allocations: 374.5 kB / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.126e-06/0.04274, allocations: 0 / 383.8 MB, free: 12.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.003739/0.04648, allocations: 0.8111 MB / 384.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002372/0.04672, allocations: 217.5 kB / 384.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001163/0.04788, allocations: 0.5254 MB / 385.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.832e-05/0.04798, allocations: 37.7 kB / 385.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004228/0.0484, allocations: 288.7 kB / 385.7 MB, free: 10.12 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002176/0.04862, allocations: 123 kB / 385.8 MB, free: 10 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002709/0.04889, allocations: 82.19 kB / 385.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003044/0.04919, allocations: 362.8 kB / 386.2 MB, free: 9.551 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001195/0.05039, allocations: 298.2 kB / 386.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00137/0.05176, allocations: 491 kB / 387 MB, free: 8.684 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002321/0.05408, allocations: 0.6095 MB / 387.6 MB, free: 8.027 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/0.05409, allocations: 0 / 387.6 MB, free: 8.027 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.00303/0.05712, allocations: 0.816 MB / 388.4 MB, free: 7.18 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.87e-05/0.0572, allocations: 63.44 kB / 388.5 MB, free: 7.105 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/0.05722, allocations: 3.984 kB / 388.5 MB, free: 7.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.876e-05/0.05726, allocations: 11.94 kB / 388.5 MB, free: 7.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009074/0.05817, allocations: 103.8 kB / 388.6 MB, free: 6.988 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.966e-05/0.05818, allocations: 4 kB / 388.6 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000801/0.05899, allocations: 79.67 kB / 388.7 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.793e-05/0.05906, allocations: 23.98 kB / 388.7 MB, free: 6.883 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001395/0.06046, allocations: 428.4 kB / 389.1 MB, free: 6.445 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001187/0.06165, allocations: 479 kB / 389.6 MB, free: 5.902 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001931/0.06358, allocations: 0.58 MB / 390.2 MB, free: 5.273 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.88e-06/0.06358, allocations: 0 / 390.2 MB, free: 5.273 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.002957/0.06654, allocations: 0.7906 MB / 391 MB, free: 4.453 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.424e-05/0.06662, allocations: 59.41 kB / 391 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.06664, allocations: 7.938 kB / 391 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.06665, allocations: 7.984 kB / 391 MB, free: 4.367 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00076/0.06741, allocations: 103.8 kB / 391.1 MB, free: 4.266 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.302e-05/0.06742, allocations: 4 kB / 391.1 MB, free: 4.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007549/0.06818, allocations: 71.88 kB / 391.2 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.278e-05/0.06825, allocations: 20 kB / 391.2 MB, free: 4.172 MB / 362.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.0003253/0.06858, allocations: 210.1 kB / 391.4 MB, free: 3.961 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002644/0.06884, allocations: 83.48 kB / 391.5 MB, free: 3.879 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001627/0.07047, allocations: 461.9 kB / 392 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.07048, allocations: 8 kB / 392 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.07049, allocations: 0 / 392 MB, free: 3.414 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.348e-05/0.0705, allocations: 3.984 kB / 392 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009988/0.0715, allocations: 424.8 kB / 392.4 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.07151, allocations: 0 / 392.4 MB, free: 2.965 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006966/0.0722, allocations: 95.8 kB / 392.5 MB, free: 2.871 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.204e-06/0.07221, allocations: 4 kB / 392.5 MB, free: 2.867 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/0.07227, allocations: 15.94 kB / 392.5 MB, free: 2.852 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.455e-06/0.07228, allocations: 11.98 kB / 392.5 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.07228, allocations: 0 / 392.5 MB, free: 2.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004255/0.07654, allocations: 0.9919 MB / 393.5 MB, free: 1.816 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/0.07694, allocations: 107.5 kB / 393.6 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001728/0.07711, allocations: 23.92 kB / 393.6 MB, free: 1.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.07776, allocations: 52 kB / 393.7 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/0.07797, allocations: 47.92 kB / 393.7 MB, free: 1.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.629e-05/0.07804, allocations: 19.98 kB / 393.8 MB, free: 1.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008259/0.07887, allocations: 374.8 kB / 394.1 MB, free: 1.207 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.07887, allocations: 0 / 394.1 MB, free: 1.207 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001325/0.08019, allocations: 227.4 kB / 394.3 MB, free: 0.9844 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.003384/0.08358, allocations: 0.5581 MB / 394.9 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004415/0.08799, allocations: 1.133 MB / 396 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.088, allocations: 0 / 396 MB, free: 15.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.08938, allocations: 283.5 kB / 396.3 MB, free: 15.17 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00124/0.09062, allocations: 148.8 kB / 396.5 MB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003417/0.09404, allocations: 0.9993 MB / 397.5 MB, free: 13.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005239/0.09456, allocations: 267.6 kB / 397.7 MB, free: 13.69 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0007189/0.09528, allocations: 115.3 kB / 397.8 MB, free: 13.58 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003133/0.09559, allocations: 56.48 kB / 397.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.022e-06/0.09559, allocations: 0 / 397.9 MB, free: 13.52 MB / 378.7 MB Notification: Performance of Templates: time 0.02902/0.1246, allocations: 8.829 MB / 406.7 MB, free: 4.789 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=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.0780508370371535]