Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestExamplesVariants_HeatingSystem_FixedInitial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.696/2.696, allocations: 249.5 MB / 261.6 MB, free: 2.168 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.583e-05/3.585e-05, allocations: 4 kB / 323.5 MB, free: 4.223 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4955/0.4956, allocations: 58.84 MB / 382.3 MB, free: 10.23 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.766/10.26, allocations: 3.164 GB / 3.537 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/10.26, allocations: 81.06 kB / 3.537 GB, free: 131.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 14.06/24.32, allocations: 3.098 GB / 6.635 GB, free: 58.7 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.154e-06/24.32, allocations: 0 / 6.635 GB, free: 58.7 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0003622/24.32, allocations: 63.39 kB / 6.635 GB, free: 58.69 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.01848/24.34, allocations: 3.601 MB / 6.639 GB, free: 56.91 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/24.34, allocations: 12.44 kB / 6.639 GB, free: 56.91 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001603/24.34, allocations: 335.7 kB / 6.639 GB, free: 56.86 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/24.34, allocations: 318.1 kB / 6.639 GB, free: 56.71 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009245/24.35, allocations: 2.089 MB / 6.641 GB, free: 56.24 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00028/24.35, allocations: 217.7 kB / 6.642 GB, free: 56.17 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008329/24.35, allocations: 200.9 kB / 6.642 GB, free: 56.17 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008748/24.36, allocations: 3.285 MB / 6.645 GB, free: 55.69 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.99e-05/24.36, allocations: 6.906 kB / 6.645 GB, free: 55.69 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004488/24.36, allocations: 89.36 kB / 6.645 GB, free: 55.69 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003757/24.36, allocations: 207.1 kB / 6.645 GB, free: 55.69 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00865/24.37, allocations: 2.99 MB / 6.648 GB, free: 55.68 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.03059/24.4, allocations: 12.45 MB / 6.66 GB, free: 50.64 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006056/24.41, allocations: 2.197 MB / 6.663 GB, free: 49.79 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00328/24.41, allocations: 1.332 MB / 6.664 GB, free: 49.32 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01327/24.42, allocations: 6 MB / 6.67 GB, free: 45.34 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.19e-05/24.42, allocations: 52.34 kB / 6.67 GB, free: 45.29 MB / 0.5418 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001456/24.43, allocations: 195.8 kB / 6.67 GB, free: 45.16 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=172): time 5.41e-06/24.43, allocations: 0 / 6.67 GB, free: 45.16 MB / 0.5418 GB Notification: Performance of matching and sorting (n=198): time 0.04356/24.47, allocations: 8.868 MB / 6.679 GB, free: 42.42 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.317e-05/24.47, allocations: 127.2 kB / 6.679 GB, free: 42.29 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003772/24.47, allocations: 1.656 MB / 6.68 GB, free: 41.04 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0006948/24.47, allocations: 61.7 kB / 6.68 GB, free: 40.97 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009873/24.47, allocations: 1.047 MB / 6.681 GB, free: 40.02 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.001301/24.48, allocations: 0.6793 MB / 6.682 GB, free: 39.41 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003647/24.48, allocations: 44 kB / 6.682 GB, free: 39.37 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0002267/24.48, allocations: 400.8 kB / 6.682 GB, free: 39 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003485/24.48, allocations: 1.176 MB / 6.684 GB, free: 37.96 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003966/24.48, allocations: 1.688 MB / 6.685 GB, free: 36.24 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/24.49, allocations: 1.435 MB / 6.687 GB, free: 35.06 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.156e-05/24.49, allocations: 4 kB / 6.687 GB, free: 35.06 MB / 0.5418 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.01265/24.5, allocations: 3.823 MB / 6.69 GB, free: 31.76 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/24.5, allocations: 5.889 MB / 6.696 GB, free: 25.46 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.594e-05/24.5, allocations: 12 kB / 6.696 GB, free: 25.45 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007387/24.51, allocations: 1.153 MB / 6.697 GB, free: 24.59 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004126/24.51, allocations: 467.4 kB / 6.698 GB, free: 24.2 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01261/24.53, allocations: 10.5 MB / 6.708 GB, free: 13.6 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/24.53, allocations: 201.5 kB / 6.708 GB, free: 13.45 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009464/24.53, allocations: 114 kB / 6.708 GB, free: 13.36 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/24.53, allocations: 4.781 kB / 6.708 GB, free: 13.36 MB / 0.5418 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01142/24.54, allocations: 3.413 MB / 6.712 GB, free: 10.44 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.546e-05/24.54, allocations: 19.89 kB / 6.712 GB, free: 10.42 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004299/24.55, allocations: 0.8427 MB / 6.712 GB, free: 9.766 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004761/24.55, allocations: 0.4902 MB / 6.713 GB, free: 9.355 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01144/24.56, allocations: 10.19 MB / 6.723 GB, free: 15.03 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004443/24.57, allocations: 195.7 kB / 6.723 GB, free: 14.88 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005548/24.57, allocations: 104.5 kB / 6.723 GB, free: 14.79 MB / 0.5574 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.0009277/24.57, allocations: 242.9 kB / 6.723 GB, free: 14.55 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008061/24.57, allocations: 229.2 kB / 6.724 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0131/24.58, allocations: 3.883 MB / 6.727 GB, free: 11.12 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.211e-05/24.58, allocations: 31.78 kB / 6.727 GB, free: 11.09 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.618e-05/24.58, allocations: 8 kB / 6.727 GB, free: 11.09 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01017/24.59, allocations: 3.281 MB / 6.731 GB, free: 8.172 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02187/24.62, allocations: 6.322 MB / 6.737 GB, free: 2.32 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.974e-05/24.62, allocations: 3.953 kB / 6.737 GB, free: 2.316 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003331/24.62, allocations: 326.5 kB / 6.737 GB, free: 2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008049/24.63, allocations: 1.204 MB / 6.738 GB, free: 0.8086 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000832/24.63, allocations: 75.89 kB / 6.738 GB, free: 0.7344 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4785/25.11, allocations: 10.38 MB / 6.749 GB, free: 60.95 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/25.11, allocations: 6.188 kB / 6.749 GB, free: 60.95 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02032/25.13, allocations: 5.116 MB / 6.754 GB, free: 60.7 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003938/25.13, allocations: 0.642 MB / 6.754 GB, free: 60.61 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001686/25.13, allocations: 54.55 kB / 6.754 GB, free: 60.61 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005952/25.14, allocations: 155.2 kB / 6.754 GB, free: 60.61 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001283/25.14, allocations: 173.1 kB / 6.755 GB, free: 60.61 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007526/25.14, allocations: 83.83 kB / 6.755 GB, free: 60.61 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.004787/25.15, allocations: 1.272 MB / 6.756 GB, free: 60.45 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.593e-06/25.15, allocations: 0 / 6.756 GB, free: 60.45 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01524/25.16, allocations: 1.981 MB / 6.758 GB, free: 60.45 MB / 0.5574 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.02927/25.19, allocations: 6.955 MB / 6.765 GB, free: 59.63 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0271/25.22, allocations: 5.955 MB / 6.77 GB, free: 58.56 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.751e-05/25.22, allocations: 7.125 kB / 6.77 GB, free: 58.56 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01029/25.23, allocations: 2.162 MB / 6.773 GB, free: 58.03 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01332/25.24, allocations: 0.9543 MB / 6.773 GB, free: 58.01 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02948/25.27, allocations: 5.742 MB / 6.779 GB, free: 57 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003706/25.28, allocations: 1.942 MB / 6.781 GB, free: 56.25 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01321/25.29, allocations: 1.443 MB / 6.782 GB, free: 56.19 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004372/25.29, allocations: 1.001 MB / 6.783 GB, free: 56.18 MB / 0.5574 GB Notification: Performance of SimCode: time 2.084e-06/25.29, allocations: 0 / 6.783 GB, free: 56.18 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2346/25.53, allocations: 90.91 MB / 6.872 GB, free: 46.54 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002326/25.53, allocations: 206.5 kB / 6.872 GB, free: 46.31 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.297/32.83, allocations: 0 / 6.872 GB, free: 46.31 MB / 0.5574 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestExamplesVariants.HeatingSystem_FixedInitial_res.mat does not exist to compare? outputFormat=mat