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.00155/0.00155, allocations: 183 kB / 15.76 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.936/1.936, allocations: 205.4 MB / 221.9 MB, free: 13.82 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001117/0.001117, allocations: 102.7 kB / 270.2 MB, free: 13.35 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.257/0.257, allocations: 38.05 MB / 356.6 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004549/0.0004548, allocations: 8 kB / 422.7 MB, free: 26.43 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1046, allocations: 56.32 MB / 479 MB, free: 2.047 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.526/0.6306, allocations: 94.67 MB / 0.5603 GB, free: 4.977 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002202/0.6329, allocations: 0.8572 MB / 0.5611 GB, free: 4.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04824/0.6811, allocations: 11.6 MB / 0.5724 GB, free: 10.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.6812, allocations: 4 kB / 0.5724 GB, free: 10.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.227e-05/0.6813, allocations: 8 kB / 0.5724 GB, free: 10.74 MB / 378.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.002977/0.6843, allocations: 0.9643 MB / 0.5734 GB, free: 9.758 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.858e-05/0.6843, allocations: 12.03 kB / 0.5734 GB, free: 9.746 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002504/0.6846, allocations: 67.2 kB / 0.5735 GB, free: 9.68 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001309/0.6859, allocations: 0.5108 MB / 0.574 GB, free: 9.219 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.442e-05/0.686, allocations: 26.31 kB / 0.574 GB, free: 9.203 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000112/0.6861, allocations: 33.31 kB / 0.574 GB, free: 9.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001972/0.6881, allocations: 0.5929 MB / 0.5746 GB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.6881, allocations: 7.984 kB / 0.5746 GB, free: 8.664 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.6882, allocations: 16.69 kB / 0.5746 GB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.817e-05/0.6883, allocations: 11.95 kB / 0.5746 GB, free: 8.648 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002738/0.691, allocations: 0.6294 MB / 0.5752 GB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004236/0.6953, allocations: 2.14 MB / 0.5773 GB, free: 6.262 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003326/0.6987, allocations: 0.7083 MB / 0.578 GB, free: 5.676 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.744e-05/0.6988, allocations: 4 kB / 0.578 GB, free: 5.672 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001499/0.7003, allocations: 413.9 kB / 0.5784 GB, free: 5.324 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 3.186e-06/0.7003, allocations: 0 / 0.5784 GB, free: 5.324 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.004083/0.7044, allocations: 0.8764 MB / 0.5793 GB, free: 4.625 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001378/0.7046, allocations: 191.9 kB / 0.5795 GB, free: 4.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001058/0.7057, allocations: 0.4887 MB / 0.5799 GB, free: 4.012 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.7058, allocations: 40.33 kB / 0.58 GB, free: 3.977 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002677/0.7061, allocations: 301.5 kB / 0.5803 GB, free: 3.762 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001894/0.7063, allocations: 128.5 kB / 0.5804 GB, free: 3.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.7064, allocations: 6.562 kB / 0.5804 GB, free: 3.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001523/0.7065, allocations: 329 kB / 0.5807 GB, free: 3.328 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001244/0.7078, allocations: 260.4 kB / 0.581 GB, free: 3.145 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001345/0.7092, allocations: 381.3 kB / 0.5813 GB, free: 2.801 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001349/0.7105, allocations: 341.2 kB / 0.5816 GB, free: 2.539 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.201e-05/0.7106, allocations: 7.953 kB / 0.5816 GB, free: 2.531 MB / 378.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.002987/0.7136, allocations: 0.7607 MB / 0.5824 GB, free: 1.918 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006128/0.7142, allocations: 1.279 MB / 0.5836 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.7142, allocations: 4 kB / 0.5836 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/0.7143, allocations: 8 kB / 0.5837 GB, free: 0.543 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/0.7153, allocations: 119.5 kB / 0.5838 GB, free: 440 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.106e-05/0.7154, allocations: 11.94 kB / 0.5838 GB, free: 428 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009627/0.7163, allocations: 90.41 kB / 0.5839 GB, free: 344 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.238e-05/0.7164, allocations: 23.12 kB / 0.5839 GB, free: 324 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.7165, allocations: 8.562 kB / 0.5839 GB, free: 316 kB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002787/0.7192, allocations: 0.701 MB / 0.5846 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.7193, allocations: 4 kB / 0.5846 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.7193, allocations: 4.344 kB / 0.5846 GB, free: 15.76 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009388/0.7203, allocations: 114.5 kB / 0.5847 GB, free: 15.65 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.675e-05/0.7203, allocations: 11.98 kB / 0.5847 GB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007638/0.7211, allocations: 80.52 kB / 0.5848 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.621e-05/0.7212, allocations: 23.17 kB / 0.5848 GB, free: 15.55 MB / 394.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005809/0.7218, allocations: 291.2 kB / 0.5851 GB, free: 15.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002093/0.722, allocations: 61.75 kB / 0.5851 GB, free: 15.24 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001856/0.7238, allocations: 497.1 kB / 0.5856 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.255e-05/0.7239, allocations: 4 kB / 0.5856 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.7239, allocations: 4 kB / 0.5856 GB, free: 14.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.359e-05/0.7239, allocations: 3.984 kB / 0.5856 GB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001111/0.7251, allocations: 0.5824 MB / 0.5862 GB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.7251, allocations: 11.89 kB / 0.5862 GB, free: 14.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009551/0.7261, allocations: 110.9 kB / 0.5863 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.347e-06/0.7261, allocations: 0 / 0.5863 GB, free: 14.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.685e-05/0.7262, allocations: 18.23 kB / 0.5863 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.821e-06/0.7262, allocations: 0 / 0.5863 GB, free: 14.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.7262, allocations: 4 kB / 0.5863 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004314/0.7305, allocations: 1.108 MB / 0.5874 GB, free: 13.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004459/0.731, allocations: 203.9 kB / 0.5876 GB, free: 13.16 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.7312, allocations: 18.56 kB / 0.5876 GB, free: 13.15 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007881/0.732, allocations: 62.81 kB / 0.5877 GB, free: 13.1 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002154/0.7322, allocations: 57.25 kB / 0.5877 GB, free: 13.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-05/0.7323, allocations: 18.92 kB / 0.5878 GB, free: 13.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007693/0.7331, allocations: 384.8 kB / 0.5881 GB, free: 12.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.7331, allocations: 0 / 0.5881 GB, free: 12.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001103/0.7342, allocations: 216.4 kB / 0.5883 GB, free: 12.57 MB / 394.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 (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.001438/0.7356, allocations: 486.9 kB / 0.5888 GB, free: 12.15 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004348/0.74, allocations: 1.138 MB / 0.5899 GB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.211e-05/0.7401, allocations: 6.375 kB / 0.5899 GB, free: 11.19 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001425/0.7415, allocations: 331.4 kB / 0.5902 GB, free: 10.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001035/0.7426, allocations: 117.6 kB / 0.5903 GB, free: 10.85 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.7458, allocations: 1.189 MB / 0.5915 GB, free: 9.734 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006112/0.7464, allocations: 0.8827 MB / 0.5924 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004406/0.7469, allocations: 54.92 kB / 0.5924 GB, free: 8.785 MB / 394.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7469, allocations: 0 / 0.5924 GB, free: 8.785 MB / 394.7 MB Notification: Performance of Templates: time 0.0199/0.7668, allocations: 8.036 MB / 0.6003 GB, free: 0.8398 MB / 394.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)