Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") translateModel(PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001483/0.001483, allocations: 186.4 kB / 8.013 MB, free: 1.062 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.217/2.217, allocations: 205.3 MB / 213.7 MB, free: 1.734 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 86.66 kB / 261.8 MB, free: 1.676 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2692/0.2692, allocations: 38.01 MB / 347.7 MB, free: 5.754 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.52e-05/2.521e-05, allocations: 0 / 409.9 MB, free: 35.13 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.1146, allocations: 56.32 MB / 466.2 MB, free: 10.82 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5091/0.6238, allocations: 93.92 MB / 0.547 GB, free: 10.83 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.001863/0.6257, allocations: 0.571 MB / 0.5475 GB, free: 10.73 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.045/0.6707, allocations: 11.47 MB / 0.5587 GB, free: 6.324 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.6708, allocations: 0 / 0.5587 GB, free: 6.324 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.837e-05/0.6709, allocations: 11.34 kB / 0.5587 GB, free: 6.324 MB / 362.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.002156/0.673, allocations: 0.865 MB / 0.5596 GB, free: 5.496 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.6731, allocations: 15.97 kB / 0.5596 GB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001679/0.6733, allocations: 67.2 kB / 0.5597 GB, free: 5.414 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001082/0.6744, allocations: 0.5057 MB / 0.5602 GB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.16e-05/0.6744, allocations: 15.38 kB / 0.5602 GB, free: 4.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.869e-05/0.6745, allocations: 23.98 kB / 0.5602 GB, free: 4.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001048/0.6756, allocations: 415.8 kB / 0.5606 GB, free: 4.652 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009001/0.6765, allocations: 454.4 kB / 0.561 GB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.6765, allocations: 0 / 0.561 GB, free: 4.27 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.6766, allocations: 7.953 kB / 0.561 GB, free: 4.262 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.6766, allocations: 8 kB / 0.561 GB, free: 4.254 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003099/0.6797, allocations: 2.063 MB / 0.5631 GB, free: 2.438 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001552/0.6813, allocations: 497 kB / 0.5635 GB, free: 2.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.6817, allocations: 175.1 kB / 0.5637 GB, free: 1.949 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.815e-05/0.6818, allocations: 11.66 kB / 0.5637 GB, free: 1.941 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005897/0.6824, allocations: 305.8 kB / 0.564 GB, free: 1.691 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 3.536e-06/0.6824, allocations: 0 / 0.564 GB, free: 1.691 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.001165/0.6836, allocations: 433.2 kB / 0.5644 GB, free: 1.371 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.18e-05/0.6837, allocations: 187.9 kB / 0.5646 GB, free: 1.145 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006761/0.6844, allocations: 437.4 kB / 0.565 GB, free: 0.8125 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.574e-05/0.6845, allocations: 36.45 kB / 0.565 GB, free: 0.7734 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.6847, allocations: 309.4 kB / 0.5653 GB, free: 0.5469 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.6848, allocations: 123.6 kB / 0.5655 GB, free: 452 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.212e-05/0.6849, allocations: 0 / 0.5655 GB, free: 452 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.892e-05/0.6849, allocations: 325.8 kB / 0.5658 GB, free: 124 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003788/0.6853, allocations: 157 kB / 0.5659 GB, free: 36 kB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005454/0.6859, allocations: 274.6 kB / 0.5662 GB, free: 15.8 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004658/0.6864, allocations: 181 kB / 0.5664 GB, free: 15.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.6864, allocations: 0 / 0.5664 GB, free: 15.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001311/0.6877, allocations: 490.4 kB / 0.5668 GB, free: 15.34 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005528/0.6883, allocations: 1.283 MB / 0.5681 GB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.302e-05/0.6883, allocations: 4 kB / 0.5681 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.6883, allocations: 4 kB / 0.5681 GB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009937/0.6893, allocations: 123.7 kB / 0.5682 GB, free: 13.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.6894, allocations: 11.98 kB / 0.5682 GB, free: 13.83 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009107/0.6903, allocations: 79.62 kB / 0.5683 GB, free: 13.75 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.288e-05/0.6904, allocations: 19.19 kB / 0.5683 GB, free: 13.74 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.6904, allocations: 5.719 kB / 0.5683 GB, free: 13.73 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001237/0.6917, allocations: 450.5 kB / 0.5687 GB, free: 13.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.6917, allocations: 7.953 kB / 0.5687 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6917, allocations: 4 kB / 0.5687 GB, free: 13.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008789/0.6926, allocations: 119.2 kB / 0.5689 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.219e-05/0.6926, allocations: 8 kB / 0.5689 GB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001507/0.6941, allocations: 75.56 kB / 0.5689 GB, free: 13.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/0.6944, allocations: 19.19 kB / 0.569 GB, free: 13.21 MB / 378.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 ($whenCondition2,$PRE.loadDispatcher.data.nextTimeEvent,$whenCondition3,loadDispatcher.data.nextTimeEvent,$PRE.loadDispatcher.data.nextTimeEventScaled,loadDispatcher.data.nextTimeEventScaled,$PRE.loadDispatcher.hydroDaily.T_start,loadDispatcher.hydroDaily.T_start,$PRE.loadDispatcher.hydroDaily.count,loadDispatcher.hydroDaily.count,$whenCondition1,$PRE.frequency.T_start,frequency.T_start,$PRE.frequency.count,frequency.count,system.initime,loadDispatcher.secondaryControl.I.local_reset) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008128/0.6953, allocations: 122.5 kB / 0.5691 GB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003298/0.6957, allocations: 59.33 kB / 0.5691 GB, free: 13.03 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.6974, allocations: 389.7 kB / 0.5695 GB, free: 12.74 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/0.6975, allocations: 8 kB / 0.5695 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.219e-05/0.6975, allocations: 0 / 0.5695 GB, free: 12.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/0.6975, allocations: 7.969 kB / 0.5695 GB, free: 12.72 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001599/0.6991, allocations: 0.5203 MB / 0.57 GB, free: 12.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.338e-05/0.6992, allocations: 4 kB / 0.57 GB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001361/0.7006, allocations: 107.8 kB / 0.5701 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/0.7006, allocations: 4 kB / 0.5701 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001102/0.7008, allocations: 7.984 kB / 0.5701 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-05/0.7008, allocations: 4 kB / 0.5702 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.208e-06/0.7008, allocations: 3.953 kB / 0.5702 GB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004036/0.7049, allocations: 0.7926 MB / 0.5709 GB, free: 11.59 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007196/0.7057, allocations: 194.6 kB / 0.5711 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001052/0.7067, allocations: 7.125 kB / 0.5711 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001299/0.7081, allocations: 59.06 kB / 0.5712 GB, free: 11.35 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003216/0.7084, allocations: 53.67 kB / 0.5712 GB, free: 11.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.7086, allocations: 18.92 kB / 0.5712 GB, free: 11.29 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000984/0.7096, allocations: 330.3 kB / 0.5716 GB, free: 11.06 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.7096, allocations: 8 kB / 0.5716 GB, free: 11.05 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002551/0.7122, allocations: 199.3 kB / 0.5718 GB, free: 10.86 MB / 378.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) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0027/0.7149, allocations: 431.2 kB / 0.5722 GB, free: 10.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002104/0.7171, allocations: 0.8221 MB / 0.573 GB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.442e-06/0.7171, allocations: 0 / 0.573 GB, free: 9.848 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006395/0.7178, allocations: 214.9 kB / 0.5732 GB, free: 9.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.7189, allocations: 106.2 kB / 0.5733 GB, free: 9.629 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.7212, allocations: 0.7366 MB / 0.574 GB, free: 8.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006169/0.7218, allocations: 0.8815 MB / 0.5749 GB, free: 8.066 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008757/0.7227, allocations: 54.59 kB / 0.5749 GB, free: 8.016 MB / 378.7 MB Notification: Performance of SimCode: time 1.413e-06/0.7227, allocations: 0 / 0.5749 GB, free: 8.016 MB / 378.7 MB Notification: Performance of Templates: time 0.03128/0.754, allocations: 7.861 MB / 0.5826 GB, free: 260 kB / 378.7 MB make -j1 -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.makefile (rm -f PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe ; mkfifo PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe ; head -c 1048576 < PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe >> ../files/PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.sim & ./PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest --alarm=480 > PowerSystems_cpp_PowerSystems.Examples.PowerWorld.Test.LoadDispatcherTest.pipe 2>&1)