Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.435/4.435, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.781e-05/3.785e-05, allocations: 4.469 kB / 0.5338 GB, free: 12.18 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.217/0.217, allocations: 98.72 MB / 0.6302 GB, free: 6.148 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.077/7.294, allocations: 2.215 GB / 2.845 GB, free: 98.79 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/7.295, allocations: 98.02 kB / 2.845 GB, free: 98.74 MB / 0.823 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Interfaces/Source.mo:30:9-30:50:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.potentialRoot(terminal.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/Transmission/BaseClasses/PartialTwoPortResistance.mo:13:3-13:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Electrical/DC/Sensors/GeneralizedSensor.mo:39:3-39:57:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.branch(terminal_p.theta, terminal_n.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.192/7.487, allocations: 48.77 MB / 2.893 GB, free: 57.75 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.033e-06/7.487, allocations: 0 / 2.893 GB, free: 57.75 MB / 0.823 GB Notification: Performance of Transformations before backend: time 0.0001182/7.487, allocations: 31.94 kB / 2.893 GB, free: 57.71 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.003454/7.49, allocations: 1.359 MB / 2.894 GB, free: 56.36 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/7.49, allocations: 12.03 kB / 2.894 GB, free: 56.35 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004231/7.491, allocations: 158.8 kB / 2.894 GB, free: 56.25 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004171/7.495, allocations: 388.4 kB / 2.895 GB, free: 55.87 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002451/7.498, allocations: 0.7244 MB / 2.895 GB, free: 55.24 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/7.498, allocations: 74.5 kB / 2.895 GB, free: 55.2 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002801/7.498, allocations: 97.67 kB / 2.895 GB, free: 55.13 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003103/7.501, allocations: 1.143 MB / 2.897 GB, free: 54.06 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.769e-05/7.501, allocations: 0 / 2.897 GB, free: 54.06 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002133/7.502, allocations: 44 kB / 2.897 GB, free: 54.02 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.507e-05/7.502, allocations: 49.98 kB / 2.897 GB, free: 53.97 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003314/7.505, allocations: 1.308 MB / 2.898 GB, free: 52.66 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01077/7.516, allocations: 4.447 MB / 2.902 GB, free: 47.99 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002473/7.518, allocations: 0.8288 MB / 2.903 GB, free: 47.15 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009421/7.519, allocations: 351 kB / 2.903 GB, free: 46.8 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008489/7.52, allocations: 470.3 kB / 2.904 GB, free: 46.25 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001084/7.521, allocations: 490.3 kB / 2.904 GB, free: 45.75 MB / 0.823 GB Notification: Performance of pre-optimization done (n=80): time 3.727e-06/7.521, allocations: 0 / 2.904 GB, free: 45.75 MB / 0.823 GB Notification: Performance of matching and sorting (n=80): time 0.002241/7.524, allocations: 0.7615 MB / 2.905 GB, free: 44.97 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001033/7.524, allocations: 325.2 kB / 2.905 GB, free: 44.58 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001589/7.525, allocations: 0.8092 MB / 2.906 GB, free: 43.77 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002768/7.526, allocations: 49.62 kB / 2.906 GB, free: 43.71 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/7.526, allocations: 488.1 kB / 2.907 GB, free: 43.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002901/7.526, allocations: 272 kB / 2.907 GB, free: 42.96 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.035e-05/7.526, allocations: 12 kB / 2.907 GB, free: 42.95 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 8.347e-05/7.527, allocations: 337.9 kB / 2.907 GB, free: 42.61 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007177/7.527, allocations: 269.5 kB / 2.908 GB, free: 42.35 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008526/7.528, allocations: 440.1 kB / 2.908 GB, free: 41.86 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008327/7.529, allocations: 403 kB / 2.908 GB, free: 41.45 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.833e-06/7.529, allocations: 4 kB / 2.908 GB, free: 41.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002488/7.532, allocations: 0.9852 MB / 2.909 GB, free: 40.43 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002688/7.532, allocations: 1.044 MB / 2.91 GB, free: 39.3 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/7.532, allocations: 0 / 2.91 GB, free: 39.3 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002386/7.532, allocations: 32.84 kB / 2.91 GB, free: 39.26 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001696/7.534, allocations: 187.7 kB / 2.911 GB, free: 39.08 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003933/7.534, allocations: 0.5484 MB / 2.911 GB, free: 38.5 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001617/7.536, allocations: 111.2 kB / 2.911 GB, free: 38.39 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/7.536, allocations: 43.98 kB / 2.911 GB, free: 38.35 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/7.536, allocations: 4 kB / 2.911 GB, free: 38.35 MB / 0.823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00207/7.538, allocations: 0.8666 MB / 2.912 GB, free: 37.46 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/7.538, allocations: 0 / 2.912 GB, free: 37.46 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.648e-05/7.538, allocations: 11.95 kB / 2.912 GB, free: 37.45 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0016/7.54, allocations: 192.1 kB / 2.912 GB, free: 37.26 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/7.54, allocations: 15.92 kB / 2.912 GB, free: 37.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/7.541, allocations: 107.3 kB / 2.912 GB, free: 37.14 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001162/7.541, allocations: 39.92 kB / 2.912 GB, free: 37.1 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (97): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 3 * 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.0003488/7.542, allocations: 153.5 kB / 2.913 GB, free: 36.95 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/7.542, allocations: 102.8 kB / 2.913 GB, free: 36.84 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002955/7.545, allocations: 0.9911 MB / 2.914 GB, free: 35.84 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/7.545, allocations: 8 kB / 2.914 GB, free: 35.84 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.745e-06/7.545, allocations: 0 / 2.914 GB, free: 35.84 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.516e-05/7.545, allocations: 7.969 kB / 2.914 GB, free: 35.83 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00514/7.55, allocations: 2.332 MB / 2.916 GB, free: 33.41 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.314e-06/7.55, allocations: 0 / 2.916 GB, free: 33.41 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00145/7.552, allocations: 171.9 kB / 2.916 GB, free: 33.24 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001663/7.552, allocations: 24.84 kB / 2.916 GB, free: 33.21 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.993e-05/7.552, allocations: 27.97 kB / 2.916 GB, free: 33.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009705/7.553, allocations: 1.288 MB / 2.917 GB, free: 31.76 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/7.553, allocations: 0 / 2.917 GB, free: 31.76 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002406/7.556, allocations: 0.9874 MB / 2.918 GB, free: 30.71 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008205/7.556, allocations: 335.4 kB / 2.919 GB, free: 30.37 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002279/7.557, allocations: 24 kB / 2.919 GB, free: 30.34 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/7.558, allocations: 83.86 kB / 2.919 GB, free: 30.26 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001885/7.558, allocations: 64.66 kB / 2.919 GB, free: 30.2 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001196/7.558, allocations: 39.97 kB / 2.919 GB, free: 30.16 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001212/7.56, allocations: 0.6319 MB / 2.92 GB, free: 29.53 MB / 0.823 GB Notification: Performance of sort global known variables: time 4.01e-07/7.56, allocations: 0 / 2.92 GB, free: 29.53 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.002426/7.562, allocations: 0.588 MB / 2.92 GB, free: 28.94 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim1.tNext,weaDat.conTim.tNext) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 85 * 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: 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.004478/7.567, allocations: 2.371 MB / 2.922 GB, free: 26.66 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.003496/7.57, allocations: 1.438 MB / 2.924 GB, free: 25.15 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.118e-05/7.57, allocations: 4 kB / 2.924 GB, free: 25.14 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.001132/7.571, allocations: 489.7 kB / 2.924 GB, free: 24.66 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001941/7.573, allocations: 227.2 kB / 2.925 GB, free: 24.45 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005687/7.579, allocations: 1.808 MB / 2.926 GB, free: 22.58 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/7.58, allocations: 1.143 MB / 2.927 GB, free: 21.41 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003327/7.583, allocations: 0.5452 MB / 2.928 GB, free: 20.86 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000904/7.584, allocations: 415.2 kB / 2.928 GB, free: 20.45 MB / 0.823 GB Notification: Performance of SimCode: time 1.172e-06/7.584, allocations: 0 / 2.928 GB, free: 20.45 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.649/8.233, allocations: 24.03 MB / 2.952 GB, free: 267.8 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002352/8.233, allocations: 230.3 kB / 2.952 GB, free: 267.6 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.654/11.89, allocations: 4 kB / 2.952 GB, free: 267.6 MB / 0.823 GB