Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_SteadyState,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_SteadyState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.616/2.616, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.885e-05/3.901e-05, allocations: 0 / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4312, allocations: 58.82 MB / 382.3 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.915/10.35, allocations: 3.164 GB / 3.537 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002656/10.35, allocations: 74.92 kB / 3.537 GB, free: 130.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 14.52/24.87, allocations: 3.097 GB / 6.634 GB, free: 59.77 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.924e-06/24.87, allocations: 0 / 6.634 GB, free: 59.77 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003747/24.87, allocations: 61.44 kB / 6.634 GB, free: 59.76 MB / 0.5418 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.018/24.89, allocations: 3.599 MB / 6.638 GB, free: 57.98 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.797e-05/24.89, allocations: 9.812 kB / 6.638 GB, free: 57.98 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001982/24.89, allocations: 338.8 kB / 6.638 GB, free: 57.93 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002691/24.89, allocations: 313.3 kB / 6.638 GB, free: 57.78 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009608/24.9, allocations: 2.068 MB / 6.64 GB, free: 57.32 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004145/24.9, allocations: 216.6 kB / 6.641 GB, free: 57.25 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001221/24.9, allocations: 191.3 kB / 6.641 GB, free: 57.25 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/24.92, allocations: 3.271 MB / 6.644 GB, free: 56.77 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.214e-05/24.92, allocations: 3.469 kB / 6.644 GB, free: 56.77 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007981/24.92, allocations: 87.08 kB / 6.644 GB, free: 56.77 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004117/24.92, allocations: 206.3 kB / 6.644 GB, free: 56.77 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009911/24.93, allocations: 2.972 MB / 6.647 GB, free: 56.76 MB / 0.5418 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.03542/24.96, allocations: 12.49 MB / 6.659 GB, free: 51.6 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006791/24.97, allocations: 2.217 MB / 6.661 GB, free: 50.8 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003268/24.97, allocations: 1.169 MB / 6.663 GB, free: 50.35 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01578/24.99, allocations: 5.74 MB / 6.668 GB, free: 46.45 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.515e-05/24.99, allocations: 52.92 kB / 6.668 GB, free: 46.39 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002053/24.99, allocations: 254.3 kB / 6.668 GB, free: 46.28 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=159): time 1.078e-05/24.99, allocations: 0 / 6.668 GB, free: 46.28 MB / 0.5418 GB Notification: Performance of matching and sorting (n=260): time 1.021/26.01, allocations: 48.09 MB / 6.715 GB, free: 12.13 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.6987/26.71, allocations: 36.47 MB / 6.751 GB, free: 50.11 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/26.72, allocations: 1.67 MB / 6.753 GB, free: 49.89 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0009882/26.72, allocations: 69.83 kB / 6.753 GB, free: 49.86 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001236/26.72, allocations: 1.07 MB / 6.754 GB, free: 49.6 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0017/26.72, allocations: 0.8745 MB / 6.755 GB, free: 49.11 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005246/26.72, allocations: 55.12 kB / 6.755 GB, free: 49.11 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002152/26.72, allocations: 424.2 kB / 6.755 GB, free: 48.8 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005608/26.73, allocations: 2.081 MB / 6.757 GB, free: 48.8 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006405/26.73, allocations: 2.638 MB / 6.76 GB, free: 48.2 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008542/26.74, allocations: 2.524 MB / 6.762 GB, free: 48.15 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.637e-05/26.74, allocations: 3.781 kB / 6.762 GB, free: 48.15 MB / 0.5418 GB Notification: Performance of matching and sorting (n=353) (initialization): time 0.02148/26.76, allocations: 7.081 MB / 6.769 GB, free: 47.88 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.001465/26.76, allocations: 6.44 MB / 6.775 GB, free: 41.16 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.792e-05/26.76, allocations: 18.59 kB / 6.775 GB, free: 41.16 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07867/26.84, allocations: 11.6 MB / 6.787 GB, free: 41.03 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003057/26.85, allocations: 356.9 kB / 6.787 GB, free: 41.03 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02582/26.87, allocations: 8.198 MB / 6.795 GB, free: 39.87 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007672/26.88, allocations: 296.2 kB / 6.795 GB, free: 39.86 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001165/26.88, allocations: 158.7 kB / 6.796 GB, free: 39.86 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/26.88, allocations: 7.531 kB / 6.796 GB, free: 39.86 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02234/26.9, allocations: 6.626 MB / 6.802 GB, free: 39.75 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.939e-05/26.9, allocations: 16.94 kB / 6.802 GB, free: 39.75 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.04334/26.95, allocations: 7.448 MB / 6.809 GB, free: 39.68 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003733/26.95, allocations: 402.1 kB / 6.81 GB, free: 39.68 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02453/26.97, allocations: 7.688 MB / 6.817 GB, free: 38.55 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007531/26.98, allocations: 291 kB / 6.817 GB, free: 38.54 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00129/26.98, allocations: 157.2 kB / 6.818 GB, free: 38.54 MB / 0.5418 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.001587/26.99, allocations: 249.3 kB / 6.818 GB, free: 38.42 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001071/26.99, allocations: 249.2 kB / 6.818 GB, free: 38.29 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02873/27.02, allocations: 7.782 MB / 6.826 GB, free: 38.05 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.711e-05/27.02, allocations: 35.62 kB / 6.826 GB, free: 38.05 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-06/27.02, allocations: 0 / 6.826 GB, free: 38.05 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.02296/27.04, allocations: 6.807 MB / 6.832 GB, free: 35.66 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04306/27.08, allocations: 13.69 MB / 6.846 GB, free: 30.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.562e-05/27.08, allocations: 0 / 6.846 GB, free: 30.2 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001853/27.08, allocations: 204.7 kB / 6.846 GB, free: 30.2 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08148/27.17, allocations: 11.33 MB / 6.857 GB, free: 28.98 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00105/27.17, allocations: 81.62 kB / 6.857 GB, free: 28.95 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02467/27.19, allocations: 8.061 MB / 6.865 GB, free: 25.52 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.2065/27.4, allocations: 38.45 MB / 6.902 GB, free: 7.543 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03713/27.43, allocations: 10.59 MB / 6.913 GB, free: 15.94 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003968/27.44, allocations: 0.8663 MB / 6.914 GB, free: 15.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001391/27.44, allocations: 52 kB / 6.914 GB, free: 15.14 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006963/27.45, allocations: 273.1 kB / 6.914 GB, free: 14.96 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001087/27.45, allocations: 202.6 kB / 6.914 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005739/27.45, allocations: 116.4 kB / 6.914 GB, free: 14.75 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.003259/27.45, allocations: 1.282 MB / 6.916 GB, free: 13.56 MB / 0.5574 GB Notification: Performance of sort global known variables: time 8.12e-07/27.45, allocations: 2.156 kB / 6.916 GB, free: 13.56 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0192/27.47, allocations: 3.556 MB / 6.919 GB, free: 10.35 MB / 0.5574 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.04942/27.52, allocations: 13.4 MB / 6.932 GB, free: 15.25 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.04302/27.56, allocations: 8.798 MB / 6.941 GB, free: 7.703 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.641e-05/27.56, allocations: 7.938 kB / 6.941 GB, free: 7.695 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.01779/27.58, allocations: 3.159 MB / 6.944 GB, free: 4.582 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009658/27.59, allocations: 0.9435 MB / 6.945 GB, free: 3.695 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4935/28.08, allocations: 7.696 MB / 6.952 GB, free: 78.78 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003019/28.09, allocations: 2.115 MB / 6.954 GB, free: 78.02 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.007779/28.1, allocations: 1.192 MB / 6.955 GB, free: 78 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003078/28.1, allocations: 1.067 MB / 6.956 GB, free: 77.99 MB / 0.573 GB Notification: Performance of SimCode: time 1.512e-06/28.1, allocations: 0 / 6.956 GB, free: 77.99 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9066/29.01, allocations: 208.6 MB / 7.16 GB, free: 86.34 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/29.01, allocations: 202.5 kB / 7.16 GB, free: 86.12 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.9/51.9, allocations: 0 / 7.16 GB, free: 86.12 MB / 0.5886 GB