Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.conf.json Using package PowerSystems with version 1.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002635/0.002639, allocations: 362.9 kB / 17.21 MB, free: 4.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.775/3.775, allocations: 388.9 MB / 406.8 MB, free: 12.02 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003565/0.003564, allocations: 239.8 kB / 452.2 MB, free: 14.61 MB / 378.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.0-master/package.mo): time 0.7465/0.7465, allocations: 76.01 MB / 0.56 GB, free: 177.6 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004423/0.0004425, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0895/0.08996, allocations: 53.23 MB / 0.6742 GB, free: 60.82 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4415/0.5315, allocations: 90.57 MB / 0.7627 GB, free: 81.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002227/0.5338, allocations: 0.8585 MB / 0.7635 GB, free: 81.5 MB / 442.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2346:7-2347:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getDerTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableValue. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmin. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$windFarm$wind.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.0596/0.5935, allocations: 16.27 MB / 0.7794 GB, free: 79.34 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5935, allocations: 3.844 kB / 0.7794 GB, free: 79.34 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.087e-05/0.5936, allocations: 5.875 kB / 0.7794 GB, free: 79.34 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001674/0.5952, allocations: 0.7777 MB / 0.7802 GB, free: 78.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.5953, allocations: 11.5 kB / 0.7802 GB, free: 78.68 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001366/0.5967, allocations: 117.5 kB / 0.7803 GB, free: 78.63 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007952/0.5975, allocations: 396.5 kB / 0.7807 GB, free: 78.34 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.5975, allocations: 15.28 kB / 0.7807 GB, free: 78.34 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.563e-05/0.5976, allocations: 30.22 kB / 0.7807 GB, free: 78.34 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001245/0.5989, allocations: 473.2 kB / 0.7812 GB, free: 78.16 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.648e-05/0.5989, allocations: 5.062 kB / 0.7812 GB, free: 78.15 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.599, allocations: 9.156 kB / 0.7812 GB, free: 78.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.2e-05/0.599, allocations: 14.72 kB / 0.7812 GB, free: 78.15 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001701/0.6007, allocations: 0.5764 MB / 0.7817 GB, free: 78.02 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003026/0.6038, allocations: 1.757 MB / 0.7835 GB, free: 76.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001786/0.6056, allocations: 443 kB / 0.7839 GB, free: 76.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006334/0.6063, allocations: 179.4 kB / 0.7841 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.386e-05/0.6063, allocations: 3.672 kB / 0.7841 GB, free: 76.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008211/0.6072, allocations: 327.3 kB / 0.7844 GB, free: 76.55 MB / 442.7 MB Notification: Performance of pre-optimization done (n=31): time 3.126e-06/0.6072, allocations: 3.938 kB / 0.7844 GB, free: 76.55 MB / 442.7 MB Notification: Performance of matching and sorting (n=31): time 0.002303/0.6095, allocations: 0.606 MB / 0.785 GB, free: 76.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001336/0.6097, allocations: 298.1 kB / 0.7853 GB, free: 76.04 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006322/0.6103, allocations: 360.1 kB / 0.7856 GB, free: 75.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001315/0.6105, allocations: 39.98 kB / 0.7856 GB, free: 75.86 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000157/0.6106, allocations: 185 kB / 0.7858 GB, free: 75.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.6108, allocations: 103.3 kB / 0.7859 GB, free: 75.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.6108, allocations: 11.38 kB / 0.7859 GB, free: 75.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.913e-05/0.6109, allocations: 344.5 kB / 0.7862 GB, free: 75.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/0.6117, allocations: 180.3 kB / 0.7864 GB, free: 75.31 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007797/0.6125, allocations: 322.9 kB / 0.7867 GB, free: 75.11 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008169/0.6133, allocations: 276.2 kB / 0.787 GB, free: 75.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.6134, allocations: 0 / 0.787 GB, free: 75.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001932/0.6153, allocations: 0.6552 MB / 0.7876 GB, free: 74.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.984e-05/0.6154, allocations: 66.41 kB / 0.7877 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.226e-05/0.6154, allocations: 7.828 kB / 0.7877 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.944e-05/0.6155, allocations: 7.844 kB / 0.7877 GB, free: 74.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000627/0.6161, allocations: 88.92 kB / 0.7878 GB, free: 74.71 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.652e-05/0.6161, allocations: 15.8 kB / 0.7878 GB, free: 74.7 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005635/0.6167, allocations: 57.48 kB / 0.7879 GB, free: 74.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.995e-05/0.6168, allocations: 22.92 kB / 0.7879 GB, free: 74.68 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.windFarm.wind.nextTimeEvent,$whenCondition1,windFarm.wind.nextTimeEvent,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.disturbance.T_start,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.count,windFarm.disturbance.count,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 42 * 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.0003529/0.6171, allocations: 189.7 kB / 0.7881 GB, free: 74.55 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.883e-05/0.6173, allocations: 42.58 kB / 0.7881 GB, free: 74.52 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.6189, allocations: 0.4947 MB / 0.7886 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.879e-06/0.619, allocations: 7.844 kB / 0.7886 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.619, allocations: 0 / 0.7886 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.092e-05/0.619, allocations: 3.844 kB / 0.7886 GB, free: 74.39 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001177/0.6202, allocations: 1.107 MB / 0.7897 GB, free: 73.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.621e-06/0.6202, allocations: 0 / 0.7897 GB, free: 73.52 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005478/0.6208, allocations: 82.95 kB / 0.7898 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.025e-05/0.6208, allocations: 10.66 kB / 0.7898 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.003e-05/0.6208, allocations: 10.84 kB / 0.7898 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.873e-06/0.6209, allocations: 3.844 kB / 0.7898 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/0.6209, allocations: 3.844 kB / 0.7898 GB, free: 73.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001601/0.6225, allocations: 0.5683 MB / 0.7903 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.6227, allocations: 159.6 kB / 0.7905 GB, free: 73.13 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001022/0.6228, allocations: 17.72 kB / 0.7905 GB, free: 73.13 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004089/0.6232, allocations: 38.56 kB / 0.7906 GB, free: 73.12 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001318/0.6234, allocations: 43 kB / 0.7906 GB, free: 73.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.37e-05/0.6235, allocations: 22.02 kB / 0.7906 GB, free: 73.09 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0003934/0.6239, allocations: 256.2 kB / 0.7909 GB, free: 72.98 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6239, allocations: 0 / 0.7909 GB, free: 72.98 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0006527/0.6245, allocations: 120 kB / 0.791 GB, free: 72.96 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001357/0.6259, allocations: 499.8 kB / 0.7914 GB, free: 72.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001607/0.6275, allocations: 0.5734 MB / 0.792 GB, free: 72.54 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.6275, allocations: 0 / 0.792 GB, free: 72.54 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007992/0.6284, allocations: 248.1 kB / 0.7922 GB, free: 72.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000678/0.629, allocations: 63.77 kB / 0.7923 GB, free: 72.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001735/0.6308, allocations: 0.8632 MB / 0.7931 GB, free: 71.95 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003081/0.6311, allocations: 0.8275 MB / 0.794 GB, free: 71.19 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004205/0.6316, allocations: 83.58 kB / 0.794 GB, free: 71.16 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.6318, allocations: 45.67 kB / 0.7941 GB, free: 71.15 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.6318, allocations: 0 / 0.7941 GB, free: 71.15 MB / 442.7 MB Notification: Performance of Templates: time 0.0126/0.6444, allocations: 4.784 MB / 0.7988 GB, free: 68.88 MB / 442.7 MB