Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest.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.WindFarmLoadTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_master_PowerSystems.Examples.PowerWorld.Test.WindFarmLoadTest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002571/0.002571, allocations: 361.6 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.824/3.824, allocations: 388.9 MB / 406.8 MB, free: 11.91 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.00354/0.00354, allocations: 245.5 kB / 452.2 MB, free: 14.5 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.7336/0.7336, allocations: 76.01 MB / 0.56 GB, free: 177.5 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004848/0.0004851, allocations: 12 kB / 0.6222 GB, free: 114.1 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08967/0.09018, allocations: 53.23 MB / 0.6742 GB, free: 60.84 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4521/0.5423, allocations: 93.44 MB / 0.7655 GB, free: 81.42 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.002181/0.5445, allocations: 0.8564 MB / 0.7663 GB, free: 81.41 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.07425/0.6188, allocations: 21.11 MB / 0.7869 GB, free: 76.72 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.824e-06/0.6188, allocations: 3.781 kB / 0.7869 GB, free: 76.72 MB / 442.7 MB Notification: Performance of Transformations before backend: time 3.482e-05/0.6189, allocations: 15.72 kB / 0.7869 GB, free: 76.71 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.001925/0.6208, allocations: 0.8345 MB / 0.7878 GB, free: 76.01 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.6209, allocations: 15.25 kB / 0.7878 GB, free: 76.01 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/0.6227, allocations: 155.2 kB / 0.7879 GB, free: 75.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009458/0.6237, allocations: 408.5 kB / 0.7883 GB, free: 75.65 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.6237, allocations: 28.73 kB / 0.7883 GB, free: 75.65 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.975e-05/0.6238, allocations: 30.28 kB / 0.7884 GB, free: 75.65 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.6254, allocations: 0.5624 MB / 0.7889 GB, free: 75.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.6254, allocations: 7.938 kB / 0.7889 GB, free: 75.43 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.056e-05/0.6255, allocations: 14.31 kB / 0.7889 GB, free: 75.43 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001385/0.6256, allocations: 28 kB / 0.789 GB, free: 75.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002081/0.6277, allocations: 0.6751 MB / 0.7896 GB, free: 75.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003981/0.6318, allocations: 2.007 MB / 0.7916 GB, free: 74.07 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002462/0.6343, allocations: 1.053 MB / 0.7926 GB, free: 73.35 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007429/0.635, allocations: 221.1 kB / 0.7928 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.564e-05/0.6351, allocations: 7.625 kB / 0.7928 GB, free: 73.3 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009248/0.6361, allocations: 311.7 kB / 0.7931 GB, free: 73.17 MB / 442.7 MB Notification: Performance of pre-optimization done (n=36): time 2.775e-06/0.6361, allocations: 0 / 0.7931 GB, free: 73.17 MB / 442.7 MB Notification: Performance of matching and sorting (n=37): time 0.003753/0.6398, allocations: 1.114 MB / 0.7942 GB, free: 72.79 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.6399, allocations: 118.5 kB / 0.7943 GB, free: 72.65 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000606/0.6405, allocations: 384.7 kB / 0.7947 GB, free: 72.49 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 8.978e-05/0.6407, allocations: 36.64 kB / 0.7947 GB, free: 72.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001676/0.6408, allocations: 229.1 kB / 0.795 GB, free: 72.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001279/0.641, allocations: 122.9 kB / 0.7951 GB, free: 72.23 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.049e-05/0.641, allocations: 10.81 kB / 0.7951 GB, free: 72.23 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 9.245e-05/0.6411, allocations: 351.9 kB / 0.7954 GB, free: 71.9 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007587/0.6419, allocations: 215.8 kB / 0.7956 GB, free: 71.86 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008296/0.6427, allocations: 348.9 kB / 0.796 GB, free: 71.67 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000864/0.6436, allocations: 322.8 kB / 0.7963 GB, free: 71.57 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6436, allocations: 0 / 0.7963 GB, free: 71.57 MB / 442.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002184/0.6458, allocations: 0.754 MB / 0.797 GB, free: 71.33 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.631e-05/0.6459, allocations: 59.12 kB / 0.7971 GB, free: 71.27 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.254e-05/0.6459, allocations: 12.3 kB / 0.7971 GB, free: 71.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001975/0.6462, allocations: 32.23 kB / 0.7971 GB, free: 71.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007442/0.6469, allocations: 108.4 kB / 0.7972 GB, free: 71.22 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.6481, allocations: 1.327 MB / 0.7985 GB, free: 69.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007082/0.6488, allocations: 46.69 kB / 0.7985 GB, free: 69.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.697e-05/0.6489, allocations: 26.55 kB / 0.7986 GB, free: 69.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (54): * Single equations (assignments): 51 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0003862/0.6493, allocations: 212.8 kB / 0.7988 GB, free: 69.76 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.534e-05/0.6494, allocations: 38.89 kB / 0.7988 GB, free: 69.74 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.6515, allocations: 0.6179 MB / 0.7994 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.005e-05/0.6515, allocations: 5.188 kB / 0.7994 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6516, allocations: 0.875 kB / 0.7994 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.6516, allocations: 0 / 0.7994 GB, free: 69.57 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.6547, allocations: 1.247 MB / 0.8006 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.6547, allocations: 0 / 0.8006 GB, free: 69.02 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006224/0.6553, allocations: 86.41 kB / 0.8007 GB, free: 69 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001238/0.6555, allocations: 25.66 kB / 0.8007 GB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.328e-05/0.6556, allocations: 10.44 kB / 0.8008 GB, free: 68.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009364/0.6565, allocations: 1.328 MB / 0.802 GB, free: 67.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.6565, allocations: 0 / 0.802 GB, free: 67.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001886/0.6584, allocations: 0.6771 MB / 0.8027 GB, free: 67.41 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002817/0.6587, allocations: 174.8 kB / 0.8029 GB, free: 67.27 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.6589, allocations: 13.84 kB / 0.8029 GB, free: 67.27 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005076/0.6594, allocations: 33.94 kB / 0.8029 GB, free: 67.26 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000167/0.6596, allocations: 48.69 kB / 0.803 GB, free: 67.24 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.6596, allocations: 18.98 kB / 0.803 GB, free: 67.23 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004342/0.6601, allocations: 265.3 kB / 0.8032 GB, free: 67.12 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.6601, allocations: 2.469 kB / 0.8032 GB, free: 67.12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008361/0.6609, allocations: 136.7 kB / 0.8034 GB, free: 67.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.wind.nextTimeEvent,windFarm.disturbance.count,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 39 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.001397/0.6623, allocations: 0.4915 MB / 0.8039 GB, free: 66.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002063/0.6644, allocations: 0.766 MB / 0.8046 GB, free: 66.56 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.6644, allocations: 0 / 0.8046 GB, free: 66.56 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009568/0.6654, allocations: 369.1 kB / 0.805 GB, free: 66.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008048/0.6662, allocations: 66.14 kB / 0.805 GB, free: 66.39 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00222/0.6685, allocations: 1.01 MB / 0.806 GB, free: 65.79 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003935/0.6689, allocations: 0.8691 MB / 0.8068 GB, free: 65.02 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005228/0.6694, allocations: 98.52 kB / 0.8069 GB, free: 64.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.6697, allocations: 46.23 kB / 0.807 GB, free: 64.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.102e-06/0.6697, allocations: 4 kB / 0.807 GB, free: 64.97 MB / 442.7 MB Notification: Performance of Templates: time 0.01709/0.6868, allocations: 5.696 MB / 0.8126 GB, free: 62.24 MB / 442.7 MB