Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestTemperature2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.338/2.338, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.189e-05/4.217e-05, allocations: 8 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4303/0.4303, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.792/8.223, allocations: 2.597 GB / 2.948 GB, free: 110.5 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003156/8.223, allocations: 86.97 kB / 2.948 GB, free: 110.5 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.395/12.62, allocations: 0.8029 GB / 3.751 GB, free: 33.06 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.954e-06/12.62, allocations: 0.75 kB / 3.751 GB, free: 33.06 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001768/12.62, allocations: 48.06 kB / 3.751 GB, free: 33.05 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.01414/12.63, allocations: 2.97 MB / 3.754 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/12.63, allocations: 9.781 kB / 3.754 GB, free: 31.69 MB / 0.4948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001147/12.63, allocations: 266 kB / 3.754 GB, free: 31.64 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0101/12.64, allocations: 0.8517 MB / 3.755 GB, free: 31.54 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/12.65, allocations: 1.145 MB / 3.756 GB, free: 31.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005742/12.65, allocations: 460.6 kB / 3.757 GB, free: 30.89 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007668/12.65, allocations: 172.1 kB / 3.757 GB, free: 30.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01025/12.66, allocations: 3.094 MB / 3.76 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.992e-05/12.66, allocations: 12.91 kB / 3.76 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005185/12.66, allocations: 79.34 kB / 3.76 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001555/12.66, allocations: 86.8 kB / 3.76 GB, free: 30.14 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009529/12.67, allocations: 2.505 MB / 3.762 GB, free: 30.13 MB / 0.4948 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.02576/12.7, allocations: 15.46 MB / 3.778 GB, free: 19.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00637/12.7, allocations: 1.231 MB / 3.779 GB, free: 19.21 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001897/12.7, allocations: 392.8 kB / 3.779 GB, free: 19.2 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.118/12.82, allocations: 18.43 MB / 3.797 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.821e-05/12.82, allocations: 60.2 kB / 3.797 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=101): time 5.58e-06/12.82, allocations: 0 / 3.797 GB, free: 27.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117): time 0.02625/12.85, allocations: 4.271 MB / 3.801 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/12.85, allocations: 173 kB / 3.802 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002164/12.85, allocations: 1.046 MB / 3.803 GB, free: 26.29 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003158/12.85, allocations: 47.67 kB / 3.803 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008233/12.85, allocations: 0.9734 MB / 3.804 GB, free: 25.68 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005308/12.85, allocations: 427.4 kB / 3.804 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000151/12.85, allocations: 48.94 kB / 3.804 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000306/12.85, allocations: 456.6 kB / 3.804 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001359/12.85, allocations: 0.5345 MB / 3.805 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/12.86, allocations: 1.831 MB / 3.807 GB, free: 23.4 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001938/12.86, allocations: 0.8964 MB / 3.808 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.603e-05/12.86, allocations: 11.81 kB / 3.808 GB, free: 23.32 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.006353/12.86, allocations: 2.466 MB / 3.81 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 5.177e-05/12.86, allocations: 27.06 kB / 3.81 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-05/12.86, allocations: 43.5 kB / 3.81 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001715/12.87, allocations: 405.5 kB / 3.811 GB, free: 23.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003069/12.87, allocations: 0.5124 MB / 3.811 GB, free: 23 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002871/12.87, allocations: 2.718 MB / 3.814 GB, free: 20.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/12.88, allocations: 193.7 kB / 3.814 GB, free: 20.87 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/12.88, allocations: 147.6 kB / 3.814 GB, free: 20.87 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (sink2.medium.phase,source2.medium.phase,sink1.medium.phase,source1.medium.phase,volume1_1.heatTransfer.states[1].phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,volume2_2.heatTransfer.states[1].phase,volume1_1.regularFlow[1],volume1_1.regularFlow[2],volume1_1.regularFlow[3],volume1_2.regularFlow[1],volume1_2.regularFlow[2],volume1_2.regularFlow[3],volume2_1.regularFlow[1],volume2_1.regularFlow[2],volume2_2.regularFlow[1],volume2_2.regularFlow[2],volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],volume1_2.inFlow[3],volume1_2.inFlow[2],volume1_2.inFlow[1],volume1_1.inFlow[3],volume1_1.inFlow[2],volume1_1.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (277): * Single equations (assignments): 273 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 7,1 7,1 7,1 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005904/12.88, allocations: 305.3 kB / 3.814 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/12.88, allocations: 149.5 kB / 3.814 GB, free: 20.61 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00725/12.88, allocations: 4.534 MB / 3.819 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.659e-05/12.88, allocations: 46.7 kB / 3.819 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.398e-06/12.88, allocations: 0 / 3.819 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/12.88, allocations: 6.375 kB / 3.819 GB, free: 20.08 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01127/12.9, allocations: 6.671 MB / 3.825 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.391e-05/12.9, allocations: 3.781 kB / 3.825 GB, free: 19.41 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/12.9, allocations: 219.1 kB / 3.826 GB, free: 19.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/12.9, allocations: 402.8 kB / 3.826 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001184/12.9, allocations: 34.45 kB / 3.826 GB, free: 19.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003034/12.9, allocations: 2.745 MB / 3.829 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/12.9, allocations: 7.438 kB / 3.829 GB, free: 17.27 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006383/12.91, allocations: 3.801 MB / 3.832 GB, free: 16.52 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/12.91, allocations: 447.7 kB / 3.833 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003299/12.91, allocations: 26.91 kB / 3.833 GB, free: 16.27 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001798/12.91, allocations: 113.4 kB / 3.833 GB, free: 16.26 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002583/12.91, allocations: 109.5 kB / 3.833 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001207/12.91, allocations: 44.22 kB / 3.833 GB, free: 16.25 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001602/12.91, allocations: 0.8004 MB / 3.834 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.01e-07/12.91, allocations: 0 / 3.834 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007764/12.92, allocations: 1.475 MB / 3.835 GB, free: 15.95 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 32 ($cse3.phase,$cse3.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,sink1.medium.phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase,sink2.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 88 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {2 5,2 5,2 5,2 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.01739/12.94, allocations: 7.065 MB / 3.842 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.004557/12.94, allocations: 1.911 MB / 3.844 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/12.94, allocations: 0 / 3.844 GB, free: 13.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002717/12.95, allocations: 1.212 MB / 3.845 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005131/12.95, allocations: 0.6057 MB / 3.846 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.056/14.01, allocations: 217.4 MB / 4.058 GB, free: 24.35 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00142/14.01, allocations: 1.66 MB / 4.06 GB, free: 23.04 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003694/14.01, allocations: 0.8833 MB / 4.061 GB, free: 22.5 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001592/14.02, allocations: 0.8524 MB / 4.062 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of SimCode: time 1.834e-06/14.02, allocations: 0 / 4.062 GB, free: 22.39 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7262/14.74, allocations: 85.17 MB / 4.145 GB, free: 58.52 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002452/14.74, allocations: 240.8 kB / 4.145 GB, free: 58.21 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.29/21.03, allocations: 0 / 4.145 GB, free: 58.21 MB / 0.5417 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2_res.mat does not exist to compare? outputFormat=mat