Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.529/2.529, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.295e-05/3.297e-05, allocations: 0 / 348.5 MB, free: 10.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1406/0.1407, allocations: 61.88 MB / 410.3 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.09/10.23, allocations: 3.17 GB / 3.571 GB, free: 74.48 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/10.23, allocations: 81.45 kB / 3.571 GB, free: 74.44 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 14.84/25.07, allocations: 3.109 GB / 6.68 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.973e-06/25.07, allocations: 0 / 6.68 GB, free: 51.08 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0003782/25.07, allocations: 67.14 kB / 6.68 GB, free: 51.06 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.01873/25.09, allocations: 3.591 MB / 6.684 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.409e-05/25.09, allocations: 10.31 kB / 6.684 GB, free: 49.29 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002262/25.09, allocations: 342.9 kB / 6.684 GB, free: 49.24 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002532/25.09, allocations: 315.9 kB / 6.684 GB, free: 49.09 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009356/25.1, allocations: 2.085 MB / 6.686 GB, free: 48.62 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004064/25.1, allocations: 226.5 kB / 6.687 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001362/25.1, allocations: 192 kB / 6.687 GB, free: 48.55 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01022/25.11, allocations: 3.295 MB / 6.69 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.954e-05/25.11, allocations: 3.062 kB / 6.69 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000486/25.11, allocations: 90.33 kB / 6.69 GB, free: 48.05 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003803/25.11, allocations: 198.7 kB / 6.69 GB, free: 48.04 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009759/25.12, allocations: 2.99 MB / 6.693 GB, free: 48.02 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.03421/25.16, allocations: 12.45 MB / 6.705 GB, free: 42.08 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006743/25.16, allocations: 2.194 MB / 6.707 GB, free: 41.15 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003748/25.17, allocations: 1.341 MB / 6.709 GB, free: 40.68 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01526/25.18, allocations: 6 MB / 6.715 GB, free: 36.7 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.872e-05/25.18, allocations: 54.62 kB / 6.715 GB, free: 36.65 MB / 0.5573 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001712/25.18, allocations: 198.5 kB / 6.715 GB, free: 36.53 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=172): time 8.005e-06/25.18, allocations: 0 / 6.715 GB, free: 36.53 MB / 0.5573 GB Notification: Performance of matching and sorting (n=198): time 0.04478/25.23, allocations: 8.869 MB / 6.724 GB, free: 32.78 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.111e-05/25.23, allocations: 120.8 kB / 6.724 GB, free: 32.64 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004055/25.23, allocations: 1.656 MB / 6.725 GB, free: 31.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0007264/25.23, allocations: 61.7 kB / 6.725 GB, free: 31.05 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/25.24, allocations: 1.048 MB / 6.726 GB, free: 30.09 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.001267/25.24, allocations: 0.6877 MB / 6.727 GB, free: 29.48 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/25.24, allocations: 44 kB / 6.727 GB, free: 29.43 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000227/25.24, allocations: 400.3 kB / 6.727 GB, free: 29.06 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003438/25.24, allocations: 1.179 MB / 6.729 GB, free: 28.02 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/25.24, allocations: 1.688 MB / 6.73 GB, free: 26.3 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004157/25.25, allocations: 1.436 MB / 6.732 GB, free: 25.13 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.077e-05/25.25, allocations: 7.938 kB / 6.732 GB, free: 25.12 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01365/25.26, allocations: 3.81 MB / 6.735 GB, free: 21.83 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.001369/25.26, allocations: 5.893 MB / 6.741 GB, free: 15.54 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.832e-05/25.26, allocations: 12 kB / 6.741 GB, free: 15.52 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007319/25.27, allocations: 1.153 MB / 6.742 GB, free: 14.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004141/25.28, allocations: 471.8 kB / 6.743 GB, free: 14.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0129/25.29, allocations: 10.49 MB / 6.753 GB, free: 3.68 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004758/25.29, allocations: 195.2 kB / 6.753 GB, free: 3.539 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009409/25.29, allocations: 112 kB / 6.753 GB, free: 3.441 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/25.29, allocations: 4 kB / 6.753 GB, free: 3.438 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01148/25.31, allocations: 3.42 MB / 6.757 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.329e-05/25.31, allocations: 16 kB / 6.757 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004814/25.31, allocations: 0.8641 MB / 6.757 GB, free: 15.88 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004809/25.32, allocations: 0.4895 MB / 6.758 GB, free: 15.47 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01456/25.33, allocations: 10.19 MB / 6.768 GB, free: 5.129 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004598/25.34, allocations: 187.2 kB / 6.768 GB, free: 4.98 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008394/25.34, allocations: 111.2 kB / 6.768 GB, free: 4.883 MB / 0.573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (248): * Single equations (assignments): 240 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {5 14,2 6,1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0009516/25.34, allocations: 232.1 kB / 6.768 GB, free: 4.652 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008796/25.34, allocations: 233.5 kB / 6.769 GB, free: 4.422 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01343/25.35, allocations: 3.889 MB / 6.772 GB, free: 1.184 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.653e-05/25.35, allocations: 28 kB / 6.772 GB, free: 1.156 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.555e-05/25.35, allocations: 4 kB / 6.772 GB, free: 1.152 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.483/25.83, allocations: 3.281 MB / 6.776 GB, free: 61.37 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02429/25.86, allocations: 6.326 MB / 6.782 GB, free: 60.93 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.344e-05/25.86, allocations: 0 / 6.782 GB, free: 60.93 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003324/25.86, allocations: 322.4 kB / 6.782 GB, free: 60.93 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007988/25.87, allocations: 1.199 MB / 6.783 GB, free: 60.87 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007141/25.87, allocations: 74.58 kB / 6.783 GB, free: 60.87 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01294/25.88, allocations: 10.39 MB / 6.794 GB, free: 53.04 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/25.88, allocations: 0.875 kB / 6.794 GB, free: 53.04 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01714/25.9, allocations: 5.116 MB / 6.799 GB, free: 52.76 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002913/25.9, allocations: 0.6423 MB / 6.799 GB, free: 52.66 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001127/25.91, allocations: 57.09 kB / 6.799 GB, free: 52.66 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004044/25.91, allocations: 156 kB / 6.799 GB, free: 52.66 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009765/25.91, allocations: 170.5 kB / 6.8 GB, free: 52.66 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004059/25.91, allocations: 79.98 kB / 6.8 GB, free: 52.66 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.00407/25.91, allocations: 1.275 MB / 6.801 GB, free: 52.5 MB / 0.573 GB Notification: Performance of sort global known variables: time 7.51e-07/25.91, allocations: 3.719 kB / 6.801 GB, free: 52.5 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.01226/25.93, allocations: 1.984 MB / 6.803 GB, free: 52.5 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (tank.medium.T,tank.level,heater.mediums[1].p,heater.mediums[1].T,radiator.mediums[1].p,radiator.mediums[1].T,pipe.mediums[1].p,pipe.mediums[1].T,pipe.mediums[2].p,pipe.mediums[2].T) * 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 (183): * Single equations (assignments): 169 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 3 {1 9,2 8,6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.02132/25.95, allocations: 6.957 MB / 6.81 GB, free: 51.59 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.01989/25.97, allocations: 5.952 MB / 6.815 GB, free: 50.52 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 1.113e-05/25.97, allocations: 3.688 kB / 6.815 GB, free: 50.52 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.007086/25.98, allocations: 2.166 MB / 6.818 GB, free: 49.99 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009/25.98, allocations: 0.9583 MB / 6.818 GB, free: 49.98 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02026/26.01, allocations: 5.744 MB / 6.824 GB, free: 48.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003203/26.01, allocations: 1.941 MB / 6.826 GB, free: 48.19 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01223/26.02, allocations: 1.454 MB / 6.827 GB, free: 48.12 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002481/26.02, allocations: 0.9915 MB / 6.828 GB, free: 48.12 MB / 0.573 GB Notification: Performance of SimCode: time 1.282e-06/26.02, allocations: 0 / 6.828 GB, free: 48.12 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2128/26.24, allocations: 90.99 MB / 6.917 GB, free: 39.28 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/26.24, allocations: 210.6 kB / 6.917 GB, free: 39.05 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.293/33.53, allocations: 1.734 kB / 6.917 GB, free: 39.05 MB / 0.573 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat