Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine") Notification: Performance of loadModel(Buildings): time 3.624/3.624, allocations: 403.9 MB / 411 MB, free: 380 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.825e-05/1.825e-05, allocations: 4 kB / 0.4942 GB, free: 1.379 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5052/0.5052, allocations: 92.69 MB / 0.5847 GB, free: 2.367 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.363/5.868, allocations: 2.222 GB / 2.806 GB, free: 3.512 MB / 0.7605 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002872/5.869, allocations: 107.9 kB / 2.807 GB, free: 3.406 MB / 0.7605 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.RCha to false. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/Transmission/BaseClasses/PartialBaseLine.mo:26:3-33:42:writable] Notification: Moving binding to initial equation section and setting fixed attribute of line.commercialCable.XCha to false. Notification: Performance of FrontEnd - DAE generated: time 0.9029/6.772, allocations: 143.1 MB / 2.946 GB, free: 168.2 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.971e-06/6.772, allocations: 0 / 2.946 GB, free: 168.2 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0003089/6.772, allocations: 83.94 kB / 2.946 GB, free: 168.1 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 816 * Number of variables: 816 Notification: Performance of Generate backend data structure: time 0.009321/6.781, allocations: 3.192 MB / 2.949 GB, free: 164.8 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/6.781, allocations: 8.031 kB / 2.949 GB, free: 164.8 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007415/6.789, allocations: 0.9242 MB / 2.95 GB, free: 163.9 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/6.795, allocations: 2.166 MB / 2.952 GB, free: 161.7 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001769/6.795, allocations: 104 kB / 2.953 GB, free: 161.6 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001283/6.796, allocations: 179.9 kB / 2.953 GB, free: 161.4 MB / 0.7605 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.009208/6.806, allocations: 3.6 MB / 2.956 GB, free: 157.8 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01234/6.818, allocations: 3.914 MB / 2.96 GB, free: 153.7 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001452/6.818, allocations: 7.938 kB / 2.96 GB, free: 153.7 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001081/6.819, allocations: 4 kB / 2.96 GB, free: 153.7 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002197/6.819, allocations: 174 kB / 2.96 GB, free: 153.5 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02862/6.848, allocations: 14.11 MB / 2.974 GB, free: 139.1 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003684/6.852, allocations: 1.814 MB / 2.976 GB, free: 137.3 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002346/6.854, allocations: 1.151 MB / 2.977 GB, free: 136.1 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008073/6.855, allocations: 0.5623 MB / 2.977 GB, free: 135.5 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002281/6.857, allocations: 1.083 MB / 2.979 GB, free: 134.3 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=150): time 6.775e-06/6.857, allocations: 0 / 2.979 GB, free: 134.3 MB / 0.7605 GB Notification: Performance of matching and sorting (n=187): time 0.03347/6.891, allocations: 10.63 MB / 2.989 GB, free: 123.6 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001027/6.891, allocations: 441.2 kB / 2.989 GB, free: 123.1 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/6.895, allocations: 1.766 MB / 2.991 GB, free: 121.3 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004426/6.895, allocations: 29.7 kB / 2.991 GB, free: 121.3 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001537/6.897, allocations: 1.467 MB / 2.993 GB, free: 119.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008387/6.898, allocations: 0.5966 MB / 2.993 GB, free: 119.2 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002321/6.898, allocations: 0 / 2.993 GB, free: 119.2 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001559/6.898, allocations: 389.9 kB / 2.993 GB, free: 118.8 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002188/6.9, allocations: 1.117 MB / 2.995 GB, free: 117.7 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002682/6.903, allocations: 1.614 MB / 2.996 GB, free: 115.9 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007202/6.91, allocations: 1.808 MB / 2.998 GB, free: 114.1 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.17e-05/6.91, allocations: 4 kB / 2.998 GB, free: 114.1 MB / 0.7605 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01714/6.927, allocations: 4.747 MB / 3.003 GB, free: 109.3 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009611/6.928, allocations: 4.707 MB / 3.007 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.266e-05/6.928, allocations: 12 kB / 3.007 GB, free: 104.1 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007003/6.935, allocations: 1.363 MB / 3.009 GB, free: 102.7 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003032/6.938, allocations: 0.4913 MB / 3.009 GB, free: 102.2 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01248/6.951, allocations: 9.053 MB / 3.018 GB, free: 92.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002975/6.954, allocations: 171.7 kB / 3.018 GB, free: 92.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005578/6.955, allocations: 91.97 kB / 3.018 GB, free: 92.51 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/6.955, allocations: 0 / 3.018 GB, free: 92.51 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009517/6.964, allocations: 2.768 MB / 3.021 GB, free: 89.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/6.964, allocations: 12 kB / 3.021 GB, free: 89.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.056e-05/6.964, allocations: 20 kB / 3.021 GB, free: 89.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002954/6.967, allocations: 0.5272 MB / 3.021 GB, free: 89.18 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-05/6.967, allocations: 31.86 kB / 3.021 GB, free: 89.15 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/6.97, allocations: 115.7 kB / 3.021 GB, free: 89.04 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005029/6.97, allocations: 87.97 kB / 3.022 GB, free: 88.95 MB / 0.7605 GB Warning: Assuming fixed start value for the following 2 variables: line.commercialCable.RCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic resistance of the cable" type: Real line.commercialCable.XCha:VARIABLE(start = 0.0 unit = "Ohm/m" fixed = false ) "Characteristic reactance of the cable" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 230 * Array equations: 0 * Algorithm blocks: 5 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.000749/6.971, allocations: 167.4 kB / 3.022 GB, free: 88.78 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006779/6.972, allocations: 213.4 kB / 3.022 GB, free: 88.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01761/6.989, allocations: 4.692 MB / 3.027 GB, free: 83.84 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.042e-05/6.99, allocations: 24 kB / 3.027 GB, free: 83.82 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/6.99, allocations: 4 kB / 3.027 GB, free: 83.81 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.709e-05/6.99, allocations: 7.969 kB / 3.027 GB, free: 83.8 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02511/7.015, allocations: 9.179 MB / 3.035 GB, free: 74.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.676e-05/7.015, allocations: 8.125 kB / 3.036 GB, free: 74.48 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002268/7.017, allocations: 375.5 kB / 3.036 GB, free: 74.11 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007821/7.025, allocations: 1.8 MB / 3.038 GB, free: 72.29 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004211/7.025, allocations: 23.98 kB / 3.038 GB, free: 72.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01675/7.042, allocations: 12.52 MB / 3.05 GB, free: 59.06 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-05/7.042, allocations: 11.94 kB / 3.05 GB, free: 59.05 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01592/7.058, allocations: 5.008 MB / 3.055 GB, free: 53.77 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001938/7.06, allocations: 0.6855 MB / 3.055 GB, free: 53.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006816/7.061, allocations: 8 kB / 3.055 GB, free: 53.05 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002889/7.064, allocations: 239.6 kB / 3.056 GB, free: 52.82 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000608/7.064, allocations: 141.7 kB / 3.056 GB, free: 52.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002789/7.065, allocations: 71.92 kB / 3.056 GB, free: 52.61 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.002756/7.067, allocations: 1.343 MB / 3.057 GB, free: 51.24 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.054e-06/7.068, allocations: 0 / 3.057 GB, free: 51.24 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.006285/7.074, allocations: 1.183 MB / 3.058 GB, free: 50.06 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim.tStart,weaDat.conTim1.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (180): * Single equations (assignments): 172 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 3 {2 2,2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002926/7.077, allocations: 0.9764 MB / 3.059 GB, free: 49.31 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01047/7.087, allocations: 5.11 MB / 3.064 GB, free: 44.05 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/7.087, allocations: 4 kB / 3.064 GB, free: 44.05 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.004874/7.092, allocations: 2.256 MB / 3.066 GB, free: 41.74 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/7.095, allocations: 470.8 kB / 3.067 GB, free: 41.28 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/7.108, allocations: 5.204 MB / 3.072 GB, free: 35.98 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00398/7.112, allocations: 2.497 MB / 3.074 GB, free: 33.45 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.006313/7.118, allocations: 1.37 MB / 3.076 GB, free: 32.07 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008515/7.119, allocations: 163.3 kB / 3.076 GB, free: 31.91 MB / 0.7605 GB Notification: Performance of SimCode: time 1.525e-06/7.119, allocations: 0 / 3.076 GB, free: 31.91 MB / 0.7605 GB Notification: Performance of Templates: time 0.5736/7.693, allocations: 42.77 MB / 3.118 GB, free: 196.4 MB / 0.7605 GB