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={"static"}) Notification: Performance of loadModel(Buildings): time 3.938/3.938, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.177e-05/4.189e-05, allocations: 4 kB / 0.4991 GB, free: 13.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6646/0.6647, allocations: 92.67 MB / 0.5896 GB, free: 14.35 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.717/7.382, allocations: 2.194 GB / 2.783 GB, free: 68.61 MB / 0.7761 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004261/7.382, allocations: 96.06 kB / 2.783 GB, free: 68.56 MB / 0.7761 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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/jenkins/ws/OpenModelicaLibraryTestingWork/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.1793/7.562, allocations: 45.35 MB / 2.828 GB, free: 27.88 MB / 0.7761 GB Notification: Performance of FrontEnd: time 2.655e-06/7.562, allocations: 0 / 2.828 GB, free: 27.88 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001079/7.562, allocations: 28 kB / 2.828 GB, free: 27.85 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.003238/7.565, allocations: 1.349 MB / 2.829 GB, free: 26.42 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/7.565, allocations: 12.03 kB / 2.829 GB, free: 26.41 MB / 0.7761 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003649/7.566, allocations: 152.3 kB / 2.829 GB, free: 26.25 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004006/7.57, allocations: 386 kB / 2.829 GB, free: 25.88 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/7.572, allocations: 0.7023 MB / 2.83 GB, free: 25.13 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.468e-05/7.572, allocations: 78 kB / 2.83 GB, free: 25.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/7.572, allocations: 95.95 kB / 2.83 GB, free: 24.96 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002783/7.575, allocations: 1.115 MB / 2.831 GB, free: 23.8 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.441e-05/7.575, allocations: 0 / 2.831 GB, free: 23.8 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001684/7.575, allocations: 43.98 kB / 2.831 GB, free: 23.76 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.763e-05/7.575, allocations: 49.98 kB / 2.831 GB, free: 23.71 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003147/7.578, allocations: 1.311 MB / 2.833 GB, free: 22.4 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009915/7.588, allocations: 3.944 MB / 2.837 GB, free: 18.35 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002307/7.591, allocations: 0.8275 MB / 2.837 GB, free: 17.51 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008952/7.592, allocations: 356.6 kB / 2.838 GB, free: 17.16 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008651/7.592, allocations: 470.3 kB / 2.838 GB, free: 16.61 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001081/7.594, allocations: 483.8 kB / 2.839 GB, free: 16.11 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=80): time 3.626e-06/7.594, allocations: 0 / 2.839 GB, free: 16.11 MB / 0.7761 GB Notification: Performance of matching and sorting (n=80): time 0.002287/7.596, allocations: 0.746 MB / 2.839 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.141e-05/7.596, allocations: 277.8 kB / 2.84 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00154/7.598, allocations: 0.7738 MB / 2.84 GB, free: 14.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/7.598, allocations: 41.7 kB / 2.84 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004402/7.598, allocations: 491.9 kB / 2.841 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002696/7.599, allocations: 264.2 kB / 2.841 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.695e-05/7.599, allocations: 16 kB / 2.841 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/7.599, allocations: 334 kB / 2.842 GB, free: 13.1 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007189/7.599, allocations: 265.5 kB / 2.842 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008535/7.6, allocations: 435.8 kB / 2.842 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008546/7.601, allocations: 413.5 kB / 2.843 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/7.601, allocations: 0 / 2.843 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002485/7.604, allocations: 0.9774 MB / 2.844 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002899/7.604, allocations: 1.046 MB / 2.845 GB, free: 9.793 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/7.604, allocations: 4 kB / 2.845 GB, free: 9.789 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002479/7.604, allocations: 28.84 kB / 2.845 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/7.606, allocations: 191.7 kB / 2.845 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003706/7.606, allocations: 0.5329 MB / 2.845 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0014/7.608, allocations: 107.3 kB / 2.845 GB, free: 8.906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/7.608, allocations: 39.97 kB / 2.845 GB, free: 8.867 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/7.608, allocations: 4.781 kB / 2.845 GB, free: 8.863 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002035/7.61, allocations: 0.8707 MB / 2.846 GB, free: 7.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/7.61, allocations: 8.062 kB / 2.846 GB, free: 7.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/7.61, allocations: 4 kB / 2.846 GB, free: 7.961 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/7.612, allocations: 191.7 kB / 2.846 GB, free: 7.773 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.464e-05/7.612, allocations: 4 kB / 2.846 GB, free: 7.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/7.613, allocations: 103.2 kB / 2.847 GB, free: 7.668 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/7.613, allocations: 43.98 kB / 2.847 GB, free: 7.625 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.0003138/7.613, allocations: 152.8 kB / 2.847 GB, free: 7.469 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/7.614, allocations: 98.78 kB / 2.847 GB, free: 7.371 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003014/7.617, allocations: 0.9713 MB / 2.848 GB, free: 6.383 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/7.617, allocations: 12 kB / 2.848 GB, free: 6.371 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/7.617, allocations: 3.938 kB / 2.848 GB, free: 6.367 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.444e-05/7.617, allocations: 11.92 kB / 2.848 GB, free: 6.355 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004928/7.622, allocations: 2.22 MB / 2.85 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.987e-06/7.622, allocations: 0 / 2.85 GB, free: 4.062 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001456/7.623, allocations: 175.9 kB / 2.85 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001705/7.623, allocations: 20.84 kB / 2.85 GB, free: 3.867 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.802e-05/7.624, allocations: 27.98 kB / 2.85 GB, free: 3.84 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001014/7.625, allocations: 1.284 MB / 2.851 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/7.625, allocations: 0 / 2.851 GB, free: 2.426 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/7.627, allocations: 0.9796 MB / 2.852 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006882/7.628, allocations: 327.4 kB / 2.853 GB, free: 1.047 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002098/7.628, allocations: 20 kB / 2.853 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/7.629, allocations: 75.94 kB / 2.853 GB, free: 0.9531 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001599/7.629, allocations: 64.59 kB / 2.853 GB, free: 0.8906 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.839e-05/7.629, allocations: 31.98 kB / 2.853 GB, free: 0.8594 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001116/7.63, allocations: 0.6163 MB / 2.854 GB, free: 252 kB / 0.7761 GB Notification: Performance of sort global known variables: time 4.1e-07/7.63, allocations: 0 / 2.854 GB, free: 252 kB / 0.7761 GB Notification: Performance of remove unused functions: time 0.5552/8.186, allocations: 0.565 MB / 2.854 GB, free: 264.9 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.005658/8.191, allocations: 2.371 MB / 2.856 GB, free: 263.8 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.004009/8.195, allocations: 1.438 MB / 2.858 GB, free: 263.4 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/8.195, allocations: 4.531 kB / 2.858 GB, free: 263.4 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/8.197, allocations: 485.2 kB / 2.858 GB, free: 263.3 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001986/8.199, allocations: 224.3 kB / 2.858 GB, free: 263.3 MB / 0.7761 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006593/8.205, allocations: 1.814 MB / 2.86 GB, free: 262.8 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/8.206, allocations: 1.131 MB / 2.861 GB, free: 262.1 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.003858/8.21, allocations: 0.5565 MB / 2.862 GB, free: 262.1 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001063/8.211, allocations: 397.8 kB / 2.862 GB, free: 262.1 MB / 0.7761 GB Notification: Performance of SimCode: time 1.293e-06/8.211, allocations: 0 / 2.862 GB, free: 262.1 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3846/8.596, allocations: 23.28 MB / 2.885 GB, free: 260.7 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/8.596, allocations: 239.8 kB / 2.885 GB, free: 260.5 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.587/12.18, allocations: 0 / 2.885 GB, free: 260.5 MB / 0.7761 GB