Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.635/2.635, allocations: 270.1 MB / 283.6 MB, free: 3.117 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.033e-05/4.043e-05, allocations: 4 kB / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.161/0.1611, allocations: 61.89 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.21/10.37, allocations: 3.17 GB / 3.571 GB, free: 75.93 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/10.37, allocations: 80.98 kB / 3.571 GB, free: 75.89 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 14.84/25.21, allocations: 3.108 GB / 6.679 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.134e-06/25.21, allocations: 0 / 6.679 GB, free: 49.43 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003568/25.21, allocations: 71.91 kB / 6.679 GB, free: 49.42 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.01735/25.23, allocations: 3.593 MB / 6.683 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/25.23, allocations: 11.59 kB / 6.683 GB, free: 47.64 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0015/25.23, allocations: 337.1 kB / 6.683 GB, free: 47.59 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/25.24, allocations: 317.4 kB / 6.683 GB, free: 47.45 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009078/25.24, allocations: 2.061 MB / 6.685 GB, free: 46.98 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/25.24, allocations: 221.5 kB / 6.685 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001145/25.25, allocations: 190.8 kB / 6.686 GB, free: 46.91 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009884/25.26, allocations: 3.268 MB / 6.689 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.853e-05/25.26, allocations: 7.312 kB / 6.689 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008202/25.26, allocations: 85.84 kB / 6.689 GB, free: 46.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004149/25.26, allocations: 208.7 kB / 6.689 GB, free: 46.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009345/25.27, allocations: 2.975 MB / 6.692 GB, free: 46.43 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.03437/25.3, allocations: 12.48 MB / 6.704 GB, free: 41.3 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006671/25.31, allocations: 2.218 MB / 6.706 GB, free: 41.16 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003171/25.31, allocations: 1.167 MB / 6.708 GB, free: 41.14 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0148/25.33, allocations: 5.741 MB / 6.713 GB, free: 38.32 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.434e-05/25.33, allocations: 54.95 kB / 6.713 GB, free: 38.28 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001609/25.33, allocations: 255 kB / 6.713 GB, free: 38.18 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=159): time 6.652e-06/25.33, allocations: 0 / 6.713 GB, free: 38.18 MB / 0.5573 GB Notification: Performance of matching and sorting (n=260): time 1.11/26.44, allocations: 48.09 MB / 6.76 GB, free: 15.84 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.7142/27.15, allocations: 36.47 MB / 6.796 GB, free: 56.87 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004539/27.16, allocations: 1.667 MB / 6.798 GB, free: 56.66 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0009097/27.16, allocations: 72.17 kB / 6.798 GB, free: 56.63 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/27.16, allocations: 1.074 MB / 6.799 GB, free: 56.54 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001692/27.16, allocations: 0.8696 MB / 6.8 GB, free: 56.06 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005121/27.16, allocations: 57.69 kB / 6.8 GB, free: 56.06 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0002376/27.16, allocations: 418.9 kB / 6.8 GB, free: 55.76 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006219/27.17, allocations: 2.081 MB / 6.802 GB, free: 55.75 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007093/27.17, allocations: 2.644 MB / 6.805 GB, free: 55.15 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009266/27.18, allocations: 2.523 MB / 6.807 GB, free: 55.1 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.798e-05/27.18, allocations: 4.516 kB / 6.807 GB, free: 55.1 MB / 0.573 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.02524/27.21, allocations: 7.086 MB / 6.814 GB, free: 54.84 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001468/27.21, allocations: 6.439 MB / 6.82 GB, free: 48.15 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.892e-05/27.21, allocations: 15.97 kB / 6.82 GB, free: 48.15 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.08065/27.29, allocations: 11.6 MB / 6.832 GB, free: 48.04 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/27.29, allocations: 354.6 kB / 6.832 GB, free: 48.04 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02548/27.32, allocations: 8.198 MB / 6.84 GB, free: 46.89 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007732/27.33, allocations: 290.6 kB / 6.84 GB, free: 46.88 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/27.33, allocations: 163.6 kB / 6.84 GB, free: 46.88 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/27.33, allocations: 2.656 kB / 6.84 GB, free: 46.88 MB / 0.573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02134/27.35, allocations: 6.632 MB / 6.847 GB, free: 46.77 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.028e-05/27.35, allocations: 14.44 kB / 6.847 GB, free: 46.77 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04294/27.39, allocations: 7.456 MB / 6.854 GB, free: 46.7 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003692/27.4, allocations: 397.2 kB / 6.855 GB, free: 46.7 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/27.42, allocations: 7.689 MB / 6.862 GB, free: 45.56 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007415/27.43, allocations: 287.9 kB / 6.862 GB, free: 45.55 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001141/27.43, allocations: 155.6 kB / 6.863 GB, free: 45.55 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.001346/27.43, allocations: 254 kB / 6.863 GB, free: 45.43 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001005/27.43, allocations: 250.5 kB / 6.863 GB, free: 45.31 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02807/27.46, allocations: 7.772 MB / 6.871 GB, free: 45.07 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.608e-05/27.46, allocations: 37.56 kB / 6.871 GB, free: 45.07 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.641e-06/27.46, allocations: 0 / 6.871 GB, free: 45.07 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02325/27.48, allocations: 6.805 MB / 6.877 GB, free: 44.61 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04045/27.52, allocations: 13.69 MB / 6.891 GB, free: 43.45 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.875e-05/27.52, allocations: 0 / 6.891 GB, free: 43.45 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/27.53, allocations: 197.9 kB / 6.891 GB, free: 43.45 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.07881/27.6, allocations: 11.32 MB / 6.902 GB, free: 42.94 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009143/27.61, allocations: 90.97 kB / 6.902 GB, free: 42.9 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02279/27.63, allocations: 8.056 MB / 6.91 GB, free: 39.48 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2036/27.83, allocations: 38.46 MB / 6.947 GB, free: 26.62 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02764/27.86, allocations: 10.1 MB / 6.957 GB, free: 22.53 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00356/27.86, allocations: 0.8721 MB / 6.958 GB, free: 22.06 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001272/27.86, allocations: 52.69 kB / 6.958 GB, free: 22.02 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00687/27.87, allocations: 273.9 kB / 6.958 GB, free: 21.97 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001106/27.87, allocations: 201 kB / 6.959 GB, free: 21.95 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007528/27.87, allocations: 118.4 kB / 6.959 GB, free: 21.93 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.003264/27.88, allocations: 1.281 MB / 6.96 GB, free: 21.41 MB / 0.573 GB Notification: Performance of sort global known variables: time 8.32e-07/27.88, allocations: 6.719 kB / 6.96 GB, free: 21.41 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01913/27.9, allocations: 3.567 MB / 6.964 GB, free: 21.05 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.04535/27.94, allocations: 13.36 MB / 6.977 GB, free: 10.85 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04075/27.98, allocations: 8.78 MB / 6.985 GB, free: 3.355 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/27.98, allocations: 4 kB / 6.985 GB, free: 3.352 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0161/28, allocations: 3.169 MB / 6.988 GB, free: 0.668 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008897/28.01, allocations: 0.9405 MB / 6.989 GB, free: 0 / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03161/28.04, allocations: 7.713 MB / 6.997 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003564/28.04, allocations: 2.112 MB / 6.999 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.008358/28.05, allocations: 1.193 MB / 7 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003508/28.05, allocations: 1.069 MB / 7.001 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of SimCode: time 1.473e-06/28.05, allocations: 0 / 7.001 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9182/28.97, allocations: 208.7 MB / 7.205 GB, free: 2.09 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/28.97, allocations: 201.8 kB / 7.205 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.82/52.79, allocations: 0 / 7.205 GB, free: 1.867 MB / 0.5886 GB