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.001005/0.001005, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001103/0.001103, allocations: 165.3 kB / 24.82 MB, free: 9.27 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.9835/0.9835, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.2353/0.2353, allocations: 29.42 MB / 291.2 MB, free: 2.449 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 / 370.1 MB, free: 10.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.005e-05/2.188e-05, allocations: 6.312 kB / 370.1 MB, free: 10.72 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest): time 0.003639/0.003661, allocations: 3.813 MB / 373.9 MB, free: 6.883 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002045/0.005706, allocations: 1.558 MB / 375.5 MB, free: 5.316 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002801/0.005986, allocations: 23.81 kB / 375.5 MB, free: 5.293 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003489/0.006335, allocations: 103 kB / 375.6 MB, free: 5.191 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004491/0.006784, allocations: 206.5 kB / 375.8 MB, free: 4.988 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006957/0.00748, allocations: 343.1 kB / 376.1 MB, free: 4.652 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.000621/0.008101, allocations: 0.7842 MB / 376.9 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002259/0.008327, allocations: 131.8 kB / 377 MB, free: 3.734 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005295/0.008856, allocations: 415 kB / 377.4 MB, free: 3.328 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002127/0.009069, allocations: 231.3 kB / 377.7 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 6.336e-05/0.009132, allocations: 68 kB / 377.7 MB, free: 3.035 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.009335, allocations: 171.8 kB / 377.9 MB, free: 2.867 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001115/0.009447, allocations: 167.5 kB / 378.1 MB, free: 2.703 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001243/0.009571, allocations: 187.5 kB / 378.3 MB, free: 2.52 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000558/0.01013, allocations: 0.5916 MB / 378.8 MB, free: 1.926 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.656e-06/0.01013, allocations: 4 kB / 378.8 MB, free: 1.922 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.152e-06/0.01013, allocations: 0 / 378.8 MB, free: 1.922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.201e-06/0.01014, allocations: 0 / 378.8 MB, free: 1.922 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.001022/0.01116, allocations: 1.049 MB / 379.9 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.0112, allocations: 11.98 kB / 379.9 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001168/0.01131, allocations: 100.5 kB / 380 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004337/0.01175, allocations: 464.3 kB / 380.5 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.01177, allocations: 21.38 kB / 380.5 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.01181, allocations: 40.38 kB / 380.5 MB, free: 180 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004893/0.0123, allocations: 0.524 MB / 381 MB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.01231, allocations: 7.875 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.744e-05/0.01234, allocations: 16 kB / 381.1 MB, free: 15.54 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.01235, allocations: 8 kB / 381.1 MB, free: 15.53 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.01258, allocations: 196.6 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001364/0.01395, allocations: 2.27 MB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004724/0.01442, allocations: 364 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001035/0.01452, allocations: 90.61 kB / 384 MB, free: 12.48 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.01455, allocations: 11.94 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.0148, allocations: 231.2 kB / 384.2 MB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.452e-06/0.0148, allocations: 3.938 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005031/0.0153, allocations: 348.1 kB / 384.6 MB, free: 11.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.043e-05/0.01538, allocations: 225.8 kB / 384.8 MB, free: 11.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.0157, allocations: 494.4 kB / 385.3 MB, free: 11.09 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.637e-05/0.01573, allocations: 37.7 kB / 385.3 MB, free: 11.05 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001631/0.0159, allocations: 339.3 kB / 385.6 MB, free: 10.71 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.415e-05/0.01597, allocations: 119 kB / 385.8 MB, free: 10.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.01608, allocations: 99.78 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001471/0.01622, allocations: 0.5429 MB / 386.4 MB, free: 9.934 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.01635, allocations: 121 kB / 386.5 MB, free: 9.797 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002046/0.01655, allocations: 348.4 kB / 386.9 MB, free: 9.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002721/0.01682, allocations: 329 kB / 387.2 MB, free: 8.977 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.01682, allocations: 0 / 387.2 MB, free: 8.977 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004552/0.01728, allocations: 491.5 kB / 387.7 MB, free: 8.465 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.652e-05/0.01732, allocations: 63.39 kB / 387.7 MB, free: 8.391 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.01732, allocations: 3.984 kB / 387.7 MB, free: 8.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.01734, allocations: 8 kB / 387.7 MB, free: 8.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002234/0.01756, allocations: 99.81 kB / 387.8 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.01757, allocations: 7.938 kB / 387.8 MB, free: 8.273 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001893/0.01775, allocations: 64.09 kB / 387.9 MB, free: 8.211 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.467e-05/0.01778, allocations: 19.98 kB / 387.9 MB, free: 8.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001748/0.01795, allocations: 243.2 kB / 388.2 MB, free: 7.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001872/0.01814, allocations: 348.4 kB / 388.5 MB, free: 7.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002497/0.01839, allocations: 315 kB / 388.8 MB, free: 7.129 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.332e-06/0.01839, allocations: 0 / 388.8 MB, free: 7.129 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0004349/0.01883, allocations: 485.8 kB / 389.3 MB, free: 6.625 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.717e-05/0.01885, allocations: 63.39 kB / 389.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.595e-06/0.01886, allocations: 0 / 389.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.01886, allocations: 11.94 kB / 389.3 MB, free: 6.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001857/0.01905, allocations: 91.88 kB / 389.4 MB, free: 6.449 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.01905, allocations: 7.938 kB / 389.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001663/0.01922, allocations: 63.75 kB / 389.5 MB, free: 6.379 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.01924, allocations: 16 kB / 389.5 MB, free: 6.363 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.0001371/0.01938, allocations: 302.1 kB / 389.8 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.323e-05/0.01945, allocations: 75.56 kB / 389.9 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003367/0.01979, allocations: 289.9 kB / 390.2 MB, free: 5.695 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.01979, allocations: 8 kB / 390.2 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.896e-06/0.01979, allocations: 0 / 390.2 MB, free: 5.688 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.0198, allocations: 3.984 kB / 390.2 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003079/0.02011, allocations: 332.7 kB / 390.5 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02011, allocations: 0 / 390.5 MB, free: 5.332 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.0203, allocations: 83.89 kB / 390.6 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.0203, allocations: 0 / 390.6 MB, free: 5.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.02032, allocations: 19.92 kB / 390.6 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.02033, allocations: 0 / 390.6 MB, free: 5.23 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.02033, allocations: 7.938 kB / 390.6 MB, free: 5.223 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005309/0.02086, allocations: 479.7 kB / 391.1 MB, free: 4.715 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001301/0.02099, allocations: 111.4 kB / 391.2 MB, free: 4.605 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.628e-05/0.02104, allocations: 15.98 kB / 391.2 MB, free: 4.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001448/0.02118, allocations: 40 kB / 391.3 MB, free: 4.551 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.915e-05/0.02126, allocations: 51.86 kB / 391.3 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.02128, allocations: 11.98 kB / 391.3 MB, free: 4.488 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000179/0.02146, allocations: 314.7 kB / 391.6 MB, free: 4.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02146, allocations: 0 / 391.6 MB, free: 4.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0004619/0.02192, allocations: 227.5 kB / 391.8 MB, free: 3.961 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.000982/0.02291, allocations: 0.518 MB / 392.4 MB, free: 3.633 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0005757/0.02348, allocations: 0.6733 MB / 393 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02348, allocations: 0 / 393 MB, free: 2.883 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.02364, allocations: 139.7 kB / 393.2 MB, free: 2.742 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00038/0.02402, allocations: 140.2 kB / 393.3 MB, free: 2.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001222/0.02524, allocations: 0.8804 MB / 394.2 MB, free: 1.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.791e-05/0.02532, allocations: 130.6 kB / 394.3 MB, free: 1.527 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002286/0.02555, allocations: 83.39 kB / 394.4 MB, free: 1.441 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000287/0.02584, allocations: 210.1 kB / 394.6 MB, free: 1.234 MB / 362.7 MB Notification: Performance of SimCode: time 6.11e-07/0.02584, allocations: 0 / 394.6 MB, free: 1.234 MB / 362.7 MB Notification: Performance of Templates: time 0.01132/0.03716, allocations: 9.655 MB / 404.3 MB, free: 7.691 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.0554012930952013]