Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Sources.Examples.WindTurbine_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Sources_Examples_WindTurbine_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.265/4.265, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.988e-05/3.983e-05, allocations: 4.312 kB / 0.5338 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2226/0.2227, allocations: 98.73 MB / 0.6302 GB, free: 6.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.175/7.397, allocations: 2.245 GB / 2.875 GB, free: 67.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000388/7.398, allocations: 102.9 kB / 2.876 GB, free: 67 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 1.143/8.541, allocations: 144.5 MB / 3.017 GB, free: 250.1 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.425e-06/8.541, allocations: 0 / 3.017 GB, free: 250.1 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0003575/8.542, allocations: 91.45 kB / 3.017 GB, free: 250.1 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 805 * Number of variables: 805 Notification: Performance of Generate backend data structure: time 0.01175/8.554, allocations: 3.089 MB / 3.02 GB, free: 248.4 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.115e-05/8.554, allocations: 10.75 kB / 3.02 GB, free: 248.4 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002148/8.556, allocations: 462.6 kB / 3.02 GB, free: 248.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009527/8.565, allocations: 0.9487 MB / 3.021 GB, free: 247.9 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007035/8.572, allocations: 2.045 MB / 3.023 GB, free: 246.8 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003155/8.573, allocations: 227.1 kB / 3.023 GB, free: 246.7 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001682/8.575, allocations: 299.4 kB / 3.024 GB, free: 246.6 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01527/8.59, allocations: 4.267 MB / 3.028 GB, free: 244.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001616/8.59, allocations: 11.83 kB / 3.028 GB, free: 244.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001226/8.591, allocations: 133.7 kB / 3.028 GB, free: 244.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002748/8.592, allocations: 169.2 kB / 3.028 GB, free: 244.7 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01208/8.604, allocations: 3.924 MB / 3.032 GB, free: 242.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03899/8.643, allocations: 18.66 MB / 3.05 GB, free: 222.8 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00472/8.648, allocations: 1.816 MB / 3.052 GB, free: 221 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002287/8.65, allocations: 0.9534 MB / 3.053 GB, free: 220.1 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00111/8.651, allocations: 0.5621 MB / 3.053 GB, free: 219.4 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002766/8.654, allocations: 1.108 MB / 3.055 GB, free: 218.2 MB / 0.823 GB Notification: Performance of pre-optimization done (n=147): time 5.45e-06/8.654, allocations: 0 / 3.055 GB, free: 218.2 MB / 0.823 GB Notification: Performance of matching and sorting (n=182): time 0.04925/8.703, allocations: 12.16 MB / 3.066 GB, free: 206 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002028/8.703, allocations: 0.5596 MB / 3.067 GB, free: 205.3 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004423/8.708, allocations: 1.776 MB / 3.069 GB, free: 203.5 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0005523/8.708, allocations: 65.64 kB / 3.069 GB, free: 203.5 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001629/8.71, allocations: 1.426 MB / 3.07 GB, free: 202 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009878/8.711, allocations: 0.6138 MB / 3.071 GB, free: 201.4 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002919/8.711, allocations: 40 kB / 3.071 GB, free: 201.4 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001762/8.712, allocations: 398 kB / 3.071 GB, free: 201 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002831/8.714, allocations: 1.125 MB / 3.072 GB, free: 199.9 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003524/8.718, allocations: 1.702 MB / 3.074 GB, free: 197.9 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003751/8.722, allocations: 1.516 MB / 3.075 GB, free: 196.4 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/8.722, allocations: 4 kB / 3.075 GB, free: 196.4 MB / 0.823 GB Notification: Performance of matching and sorting (n=268) (initialization): time 0.01582/8.738, allocations: 4.427 MB / 3.08 GB, free: 191.9 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001344/8.739, allocations: 5.934 MB / 3.086 GB, free: 185.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.775e-05/8.739, allocations: 16 kB / 3.086 GB, free: 185.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008959/8.748, allocations: 1.439 MB / 3.087 GB, free: 183.9 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004172/8.752, allocations: 491.2 kB / 3.087 GB, free: 183.5 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01276/8.765, allocations: 5.888 MB / 3.093 GB, free: 177.4 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004442/8.77, allocations: 223.6 kB / 3.093 GB, free: 177.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007491/8.771, allocations: 95.97 kB / 3.093 GB, free: 177.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/8.771, allocations: 5.562 kB / 3.093 GB, free: 177.1 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01271/8.783, allocations: 3.736 MB / 3.097 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/8.783, allocations: 16.66 kB / 3.097 GB, free: 173.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005342/8.789, allocations: 0.887 MB / 3.098 GB, free: 172.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004295/8.793, allocations: 0.5073 MB / 3.098 GB, free: 171.9 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01067/8.804, allocations: 4.835 MB / 3.103 GB, free: 167 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0038/8.808, allocations: 195.6 kB / 3.103 GB, free: 166.8 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006219/8.808, allocations: 95.97 kB / 3.103 GB, free: 166.7 MB / 0.823 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: 65 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tNext,weaDat.conTim1.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (238): * Single equations (assignments): 232 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(5,80.0%) 11} * Non-linear torn systems: 1 {5 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009168/8.809, allocations: 252.2 kB / 3.104 GB, free: 166.4 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008181/8.81, allocations: 213.5 kB / 3.104 GB, free: 166.2 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01531/8.825, allocations: 3.841 MB / 3.108 GB, free: 162.3 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.285e-05/8.826, allocations: 20 kB / 3.108 GB, free: 162.3 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.02e-05/8.826, allocations: 8 kB / 3.108 GB, free: 162.3 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.353e-05/8.826, allocations: 11.97 kB / 3.108 GB, free: 162.3 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02605/8.852, allocations: 9.334 MB / 3.117 GB, free: 152.9 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-05/8.852, allocations: 4.094 kB / 3.117 GB, free: 152.8 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003092/8.855, allocations: 352.2 kB / 3.117 GB, free: 152.5 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008644/8.864, allocations: 1.406 MB / 3.119 GB, free: 151.1 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004899/8.864, allocations: 51.98 kB / 3.119 GB, free: 151 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01699/8.881, allocations: 8.199 MB / 3.127 GB, free: 142.6 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/8.881, allocations: 11.94 kB / 3.127 GB, free: 142.6 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01312/8.894, allocations: 4.439 MB / 3.131 GB, free: 137.8 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/8.897, allocations: 0.6543 MB / 3.132 GB, free: 137.1 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007929/8.898, allocations: 40 kB / 3.132 GB, free: 137.1 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003306/8.901, allocations: 195.8 kB / 3.132 GB, free: 136.9 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005144/8.901, allocations: 152.9 kB / 3.132 GB, free: 136.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002356/8.902, allocations: 67.98 kB / 3.132 GB, free: 136.7 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.003032/8.905, allocations: 1.367 MB / 3.133 GB, free: 135.3 MB / 0.823 GB Notification: Performance of sort global known variables: time 6.42e-07/8.905, allocations: 0 / 3.133 GB, free: 135.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.006247/8.911, allocations: 1.324 MB / 3.135 GB, free: 134 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTim1.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 158 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,87.5%) 12} * Non-linear torn systems: 1 {5 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.01685/8.928, allocations: 7.42 MB / 3.142 GB, free: 126.6 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.01378/8.942, allocations: 5.345 MB / 3.147 GB, free: 121.1 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/8.942, allocations: 0 / 3.147 GB, free: 121.1 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.005243/8.947, allocations: 1.832 MB / 3.149 GB, free: 119.3 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003931/8.951, allocations: 499.6 kB / 3.149 GB, free: 118.8 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01822/8.969, allocations: 6.061 MB / 3.155 GB, free: 112.6 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003072/8.972, allocations: 2.438 MB / 3.158 GB, free: 110.1 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.007074/8.98, allocations: 1.316 MB / 3.159 GB, free: 108.8 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002419/8.982, allocations: 1.163 MB / 3.16 GB, free: 107.7 MB / 0.823 GB Notification: Performance of SimCode: time 1.203e-06/8.982, allocations: 0 / 3.16 GB, free: 107.7 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1926/9.175, allocations: 68.47 MB / 3.227 GB, free: 39.47 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003064/9.175, allocations: 255.6 kB / 3.227 GB, free: 39.14 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 6/15.17, allocations: 4.062 kB / 3.227 GB, free: 39.14 MB / 0.823 GB