Running command: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.WindTurbine,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_DC_Sources_Examples_WindTurbine",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.598/4.598, allocations: 404.2 MB / 411.3 MB, free: 364 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.371e-05/3.376e-05, allocations: 4 kB / 0.4945 GB, free: 1.293 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7267/0.7268, allocations: 92.68 MB / 0.5851 GB, free: 2.375 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.6/8.327, allocations: 2.193 GB / 2.778 GB, free: 98.25 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003784/8.327, allocations: 98.31 kB / 2.778 GB, free: 98.2 MB / 0.7761 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/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/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/DC/Sensors/GeneralizedSensor.mo:38:3-38: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.203/8.53, allocations: 44.41 MB / 2.821 GB, free: 59.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.254e-06/8.53, allocations: 0 / 2.821 GB, free: 59.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.000115/8.53, allocations: 35.92 kB / 2.821 GB, free: 59.55 MB / 0.7761 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.003392/8.534, allocations: 1.353 MB / 2.823 GB, free: 58.13 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/8.534, allocations: 12.03 kB / 2.823 GB, free: 58.12 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004585/8.538, allocations: 385.9 kB / 2.823 GB, free: 57.74 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/8.54, allocations: 0.7023 MB / 2.824 GB, free: 56.99 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/8.54, allocations: 32 kB / 2.824 GB, free: 56.96 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002363/8.541, allocations: 59.95 kB / 2.824 GB, free: 56.9 MB / 0.7761 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003351/8.544, allocations: 1.241 MB / 2.825 GB, free: 55.66 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/8.547, allocations: 0.9786 MB / 2.826 GB, free: 54.63 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.115e-05/8.547, allocations: 0 / 2.826 GB, free: 54.63 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001665/8.547, allocations: 0 / 2.826 GB, free: 54.63 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.378e-05/8.547, allocations: 53.98 kB / 2.826 GB, free: 54.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01061/8.558, allocations: 3.746 MB / 2.83 GB, free: 50.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/8.56, allocations: 0.7807 MB / 2.831 GB, free: 49.96 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009397/8.561, allocations: 323.6 kB / 2.831 GB, free: 49.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009987/8.562, allocations: 474.3 kB / 2.831 GB, free: 49.09 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001049/8.563, allocations: 458.3 kB / 2.832 GB, free: 48.61 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=80): time 4.088e-06/8.563, allocations: 4 kB / 2.832 GB, free: 48.61 MB / 0.7761 GB Notification: Performance of matching and sorting (n=80): time 0.0091/8.572, allocations: 1.081 MB / 2.833 GB, free: 47.52 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.309e-05/8.572, allocations: 269.8 kB / 2.833 GB, free: 47.19 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001479/8.574, allocations: 0.6836 MB / 2.834 GB, free: 46.5 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0001464/8.574, allocations: 29.7 kB / 2.834 GB, free: 46.47 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005052/8.575, allocations: 487.8 kB / 2.834 GB, free: 45.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002904/8.575, allocations: 252.2 kB / 2.835 GB, free: 45.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.59e-05/8.575, allocations: 0 / 2.835 GB, free: 45.73 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000149/8.575, allocations: 390.7 kB / 2.835 GB, free: 45.34 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007089/8.576, allocations: 257.5 kB / 2.835 GB, free: 45.09 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008362/8.577, allocations: 414.2 kB / 2.836 GB, free: 44.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007645/8.584, allocations: 0.6767 MB / 2.836 GB, free: 43.95 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/8.585, allocations: 0 / 2.836 GB, free: 43.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.009443/8.594, allocations: 1.218 MB / 2.837 GB, free: 42.73 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002748/8.594, allocations: 1.045 MB / 2.838 GB, free: 41.59 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/8.594, allocations: 4 kB / 2.838 GB, free: 41.59 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002445/8.595, allocations: 20.84 kB / 2.838 GB, free: 41.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/8.597, allocations: 191.7 kB / 2.839 GB, free: 41.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004071/8.597, allocations: 0.5367 MB / 2.839 GB, free: 40.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001549/8.599, allocations: 91.34 kB / 2.839 GB, free: 40.72 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/8.599, allocations: 35.98 kB / 2.839 GB, free: 40.69 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/8.599, allocations: 7.938 kB / 2.839 GB, free: 40.68 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00895/8.608, allocations: 1.099 MB / 2.84 GB, free: 39.58 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/8.608, allocations: 4.312 kB / 2.84 GB, free: 39.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.88e-05/8.608, allocations: 15.94 kB / 2.84 GB, free: 39.56 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001935/8.61, allocations: 187.8 kB / 2.841 GB, free: 39.38 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/8.61, allocations: 11.94 kB / 2.841 GB, free: 39.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001471/8.611, allocations: 75.39 kB / 2.841 GB, free: 39.29 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001317/8.611, allocations: 31.98 kB / 2.841 GB, free: 39.26 MB / 0.7761 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.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 (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.0003424/8.612, allocations: 124.8 kB / 2.841 GB, free: 39.13 MB / 0.7761 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009173/8.621, allocations: 1.085 MB / 2.842 GB, free: 38.03 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000316/8.621, allocations: 94.88 kB / 2.842 GB, free: 37.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01014/8.631, allocations: 1.276 MB / 2.843 GB, free: 36.65 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.766e-05/8.632, allocations: 15.94 kB / 2.843 GB, free: 36.64 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/8.632, allocations: 0 / 2.843 GB, free: 36.64 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.623e-05/8.632, allocations: 3.984 kB / 2.843 GB, free: 36.63 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0119/8.643, allocations: 2.427 MB / 2.846 GB, free: 34.14 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.888e-06/8.644, allocations: 0 / 2.846 GB, free: 34.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/8.645, allocations: 171.7 kB / 2.846 GB, free: 33.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001858/8.645, allocations: 32.92 kB / 2.846 GB, free: 33.94 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.642e-05/8.646, allocations: 19.97 kB / 2.846 GB, free: 33.92 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/8.647, allocations: 1.229 MB / 2.847 GB, free: 32.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/8.647, allocations: 0 / 2.847 GB, free: 32.57 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009155/8.656, allocations: 1.307 MB / 2.848 GB, free: 31.21 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00076/8.657, allocations: 307.6 kB / 2.849 GB, free: 30.89 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002722/8.657, allocations: 15.98 kB / 2.849 GB, free: 30.87 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/8.658, allocations: 63.89 kB / 2.849 GB, free: 30.81 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/8.659, allocations: 56.64 kB / 2.849 GB, free: 30.75 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/8.659, allocations: 35.98 kB / 2.849 GB, free: 30.72 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001046/8.66, allocations: 0.5342 MB / 2.849 GB, free: 30.19 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5.01e-07/8.66, allocations: 0 / 2.849 GB, free: 30.19 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.002366/8.662, allocations: 0.541 MB / 2.85 GB, free: 29.64 MB / 0.7761 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.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * 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.01155/8.674, allocations: 2.68 MB / 2.852 GB, free: 27.06 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.003177/8.677, allocations: 1.375 MB / 2.854 GB, free: 25.61 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 7.314e-06/8.677, allocations: 4 kB / 2.854 GB, free: 25.61 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001075/8.678, allocations: 452.6 kB / 2.854 GB, free: 25.16 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001994/8.68, allocations: 207.5 kB / 2.854 GB, free: 24.96 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005625/8.686, allocations: 1.728 MB / 2.856 GB, free: 23.18 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008426/8.687, allocations: 1.127 MB / 2.857 GB, free: 22.02 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003768/8.69, allocations: 0.5328 MB / 2.858 GB, free: 21.48 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009749/8.691, allocations: 395.3 kB / 2.858 GB, free: 21.09 MB / 0.7761 GB Notification: Performance of SimCode: time 1.312e-06/8.691, allocations: 0 / 2.858 GB, free: 21.09 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.57/10.26, allocations: 21.48 MB / 2.879 GB, free: 262.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002343/10.26, allocations: 176.3 kB / 2.879 GB, free: 262.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.76/14.02, allocations: 1.406 kB / 2.879 GB, free: 262.5 MB / 0.7761 GB