Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.727/2.727, allocations: 270 MB / 283.6 MB, free: 3.125 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.839e-05/3.865e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1414/0.1415, allocations: 61.88 MB / 410.3 MB, free: 12.93 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.05/10.19, allocations: 3.17 GB / 3.571 GB, free: 92.35 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003312/10.19, allocations: 76.47 kB / 3.571 GB, free: 92.32 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 15.03/25.22, allocations: 3.108 GB / 6.679 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.184e-06/25.22, allocations: 0 / 6.679 GB, free: 52.26 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0004366/25.22, allocations: 65.52 kB / 6.679 GB, free: 52.25 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 538 * Number of variables: 538 Notification: Performance of Generate backend data structure: time 0.02258/25.25, allocations: 3.593 MB / 6.683 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 6.555e-05/25.25, allocations: 12.7 kB / 6.683 GB, free: 50.47 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002588/25.25, allocations: 342.2 kB / 6.683 GB, free: 50.42 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00358/25.25, allocations: 312 kB / 6.683 GB, free: 50.27 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01313/25.27, allocations: 2.065 MB / 6.685 GB, free: 49.81 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000536/25.27, allocations: 220.2 kB / 6.685 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001526/25.27, allocations: 192.7 kB / 6.686 GB, free: 49.74 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01508/25.28, allocations: 3.263 MB / 6.689 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000141/25.28, allocations: 9.688 kB / 6.689 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001221/25.28, allocations: 91.22 kB / 6.689 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005548/25.29, allocations: 207.4 kB / 6.689 GB, free: 49.26 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01338/25.3, allocations: 2.972 MB / 6.692 GB, free: 49.25 MB / 0.5573 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03546/25.33, allocations: 12.49 MB / 6.704 GB, free: 44.12 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006794/25.34, allocations: 2.208 MB / 6.706 GB, free: 43.98 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003121/25.34, allocations: 1.169 MB / 6.708 GB, free: 43.96 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01496/25.36, allocations: 5.732 MB / 6.713 GB, free: 41.14 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.261e-05/25.36, allocations: 55.02 kB / 6.713 GB, free: 41.1 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001928/25.36, allocations: 257.4 kB / 6.713 GB, free: 41 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=159): time 8.566e-06/25.36, allocations: 3.656 kB / 6.713 GB, free: 41 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260): time 1.017/26.38, allocations: 48.08 MB / 6.76 GB, free: 26.95 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2185/26.6, allocations: 36.49 MB / 6.796 GB, free: 7.965 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00459/26.6, allocations: 1.669 MB / 6.798 GB, free: 6.254 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009995/26.6, allocations: 77.64 kB / 6.798 GB, free: 6.172 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001457/26.6, allocations: 1.067 MB / 6.799 GB, free: 5.098 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001998/26.61, allocations: 0.875 MB / 6.8 GB, free: 4.23 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006292/26.61, allocations: 55.94 kB / 6.8 GB, free: 4.176 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0003392/26.61, allocations: 419.6 kB / 6.8 GB, free: 3.762 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006821/26.61, allocations: 2.09 MB / 6.802 GB, free: 1.668 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4697/27.08, allocations: 2.633 MB / 6.805 GB, free: 61.49 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009722/27.09, allocations: 2.522 MB / 6.807 GB, free: 61.44 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.334e-05/27.09, allocations: 8.594 kB / 6.807 GB, free: 61.44 MB / 0.573 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.02656/27.12, allocations: 7.078 MB / 6.814 GB, free: 61.3 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001676/27.12, allocations: 6.438 MB / 6.82 GB, free: 54.62 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-05/27.12, allocations: 15.66 kB / 6.82 GB, free: 54.62 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08535/27.21, allocations: 11.6 MB / 6.832 GB, free: 54.5 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/27.21, allocations: 354.5 kB / 6.832 GB, free: 54.5 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02586/27.24, allocations: 8.195 MB / 6.84 GB, free: 53.42 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007939/27.24, allocations: 299.3 kB / 6.84 GB, free: 53.42 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001282/27.25, allocations: 161.3 kB / 6.84 GB, free: 53.42 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/27.25, allocations: 3.562 kB / 6.84 GB, free: 53.42 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02157/27.27, allocations: 6.633 MB / 6.847 GB, free: 53.3 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.976e-05/27.27, allocations: 17.16 kB / 6.847 GB, free: 53.3 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04321/27.31, allocations: 7.447 MB / 6.854 GB, free: 53.24 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/27.32, allocations: 401.6 kB / 6.855 GB, free: 53.24 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02452/27.34, allocations: 7.69 MB / 6.862 GB, free: 52.16 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007715/27.35, allocations: 288.9 kB / 6.862 GB, free: 52.16 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001197/27.35, allocations: 151.5 kB / 6.863 GB, free: 52.16 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * 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: 0 * Non-linear torn systems: 2 {15 79,18 78} Notification: Performance of prepare postOptimizeDAE: time 0.001303/27.35, allocations: 253.5 kB / 6.863 GB, free: 52.05 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001036/27.35, allocations: 251 kB / 6.863 GB, free: 52.03 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02788/27.38, allocations: 7.77 MB / 6.871 GB, free: 51.8 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.239e-05/27.38, allocations: 33.23 kB / 6.871 GB, free: 51.8 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/27.38, allocations: 2.062 kB / 6.871 GB, free: 51.8 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02369/27.4, allocations: 6.809 MB / 6.877 GB, free: 51.34 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04356/27.45, allocations: 13.68 MB / 6.891 GB, free: 50.2 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.402e-05/27.45, allocations: 2.531 kB / 6.891 GB, free: 50.2 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001833/27.45, allocations: 193.7 kB / 6.891 GB, free: 50.2 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08038/27.53, allocations: 11.32 MB / 6.902 GB, free: 50.03 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009985/27.53, allocations: 86.89 kB / 6.902 GB, free: 50.03 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0246/27.55, allocations: 8.067 MB / 6.91 GB, free: 48.86 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2048/27.76, allocations: 38.46 MB / 6.947 GB, free: 36.37 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02886/27.79, allocations: 10.1 MB / 6.957 GB, free: 32.29 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003678/27.79, allocations: 0.8685 MB / 6.958 GB, free: 31.83 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001379/27.79, allocations: 52.72 kB / 6.958 GB, free: 31.79 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006665/27.8, allocations: 274.4 kB / 6.958 GB, free: 31.75 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001039/27.8, allocations: 198.1 kB / 6.959 GB, free: 31.72 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005768/27.8, allocations: 120 kB / 6.959 GB, free: 31.7 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003041/27.8, allocations: 1.287 MB / 6.96 GB, free: 31.18 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.343e-06/27.8, allocations: 0 / 6.96 GB, free: 31.18 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01919/27.82, allocations: 3.568 MB / 6.964 GB, free: 30.92 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 4 (tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 0 * Non-linear torn systems: 2 {15 77,19 107} Notification: Performance of Backend phase and start with SimCode phase: time 0.0454/27.87, allocations: 13.36 MB / 6.977 GB, free: 22.04 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04084/27.91, allocations: 8.793 MB / 6.985 GB, free: 14.54 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/27.91, allocations: 0 / 6.985 GB, free: 14.54 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01609/27.93, allocations: 3.161 MB / 6.988 GB, free: 11.86 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008921/27.94, allocations: 0.9458 MB / 6.989 GB, free: 11.19 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02685/27.96, allocations: 7.708 MB / 6.997 GB, free: 4.699 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/27.96, allocations: 2.118 MB / 6.999 GB, free: 3.062 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.008162/27.97, allocations: 1.189 MB / 7 GB, free: 2.348 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003244/27.98, allocations: 1.066 MB / 7.001 GB, free: 1.387 MB / 0.573 GB Notification: Performance of SimCode: time 1.423e-06/27.98, allocations: 4 kB / 7.001 GB, free: 1.383 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9319/28.91, allocations: 208.9 MB / 7.205 GB, free: 12.56 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002245/28.91, allocations: 209.7 kB / 7.205 GB, free: 12.33 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.11/53.02, allocations: 0 / 7.205 GB, free: 12.33 MB / 0.5886 GB