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.486/2.486, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.599e-05/3.594e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5023/0.5024, allocations: 54.86 MB / 354.3 MB, free: 14.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.349/7.852, allocations: 2.596 GB / 2.942 GB, free: 156 kB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002548/7.852, allocations: 96.23 kB / 2.942 GB, free: 100 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.598/12.45, allocations: 0.7951 GB / 3.737 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.575e-06/12.45, allocations: 0 / 3.737 GB, free: 37.05 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001707/12.45, allocations: 50.36 kB / 3.737 GB, free: 37.04 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.01345/12.46, allocations: 2.964 MB / 3.74 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/12.46, allocations: 11 kB / 3.74 GB, free: 35.77 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009622/12.47, allocations: 0.8494 MB / 3.741 GB, free: 35.67 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004075/12.48, allocations: 1.139 MB / 3.742 GB, free: 35.34 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005097/12.48, allocations: 402.7 kB / 3.742 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007437/12.48, allocations: 103.5 kB / 3.743 GB, free: 35.02 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006244/12.48, allocations: 1.854 MB / 3.744 GB, free: 35 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008187/12.49, allocations: 2.36 MB / 3.747 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000127/12.49, allocations: 15.94 kB / 3.747 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005173/12.49, allocations: 9.75 kB / 3.747 GB, free: 34.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001531/12.49, allocations: 88.55 kB / 3.747 GB, free: 34.27 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.05834/12.55, allocations: 24.41 MB / 3.771 GB, free: 18.88 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/12.55, allocations: 0.6653 MB / 3.771 GB, free: 18.84 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008024/12.56, allocations: 349.6 kB / 3.772 GB, free: 18.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07689/12.63, allocations: 18.42 MB / 3.79 GB, free: 27.11 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.866e-05/12.63, allocations: 48.62 kB / 3.79 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=95): time 5.17e-06/12.63, allocations: 3.562 kB / 3.79 GB, free: 27.07 MB / 0.5105 GB Notification: Performance of matching and sorting (n=111): time 0.01447/12.65, allocations: 3.316 MB / 3.793 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/12.65, allocations: 170 kB / 3.793 GB, free: 26.17 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001929/12.65, allocations: 0.9966 MB / 3.794 GB, free: 25.97 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002732/12.65, allocations: 29.33 kB / 3.794 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.000775/12.65, allocations: 0.9906 MB / 3.795 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000427/12.65, allocations: 388.4 kB / 3.795 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/12.65, allocations: 0 / 3.795 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0002936/12.65, allocations: 465.1 kB / 3.796 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/12.65, allocations: 0.4924 MB / 3.796 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001851/12.65, allocations: 1.777 MB / 3.798 GB, free: 23.08 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002497/12.66, allocations: 0.8813 MB / 3.799 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.598e-05/12.66, allocations: 11.62 kB / 3.799 GB, free: 23.01 MB / 0.5105 GB Notification: Performance of matching and sorting (n=305) (initialization): time 0.006308/12.66, allocations: 2.295 MB / 3.801 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/12.66, allocations: 27 kB / 3.801 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.858e-05/12.66, allocations: 45.16 kB / 3.801 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001532/12.66, allocations: 393.7 kB / 3.802 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002971/12.67, allocations: 0.519 MB / 3.802 GB, free: 22.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00345/12.67, allocations: 2.782 MB / 3.805 GB, free: 20.68 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003473/12.67, allocations: 159.3 kB / 3.805 GB, free: 20.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003784/12.67, allocations: 148.8 kB / 3.805 GB, free: 20.66 MB / 0.5105 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume2_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_1.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: volume1_2.mb_flow:VARIABLE(unit = "kg/s" ) "Mass flows across boundaries" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 205 * Number of states: 0 () * Number of discrete variables: 28 (source2.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],sink2.medium.phase,volume2_2.inFlow[2],volume2_2.inFlow[1],volume2_1.inFlow[2],volume2_1.inFlow[1],sink1.medium.phase,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 {2 6,2 6,2 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0006457/12.68, allocations: 241.8 kB / 3.805 GB, free: 20.52 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004047/12.68, allocations: 1.188 MB / 3.807 GB, free: 20.34 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00041/12.68, allocations: 151.2 kB / 3.807 GB, free: 20.27 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007108/12.69, allocations: 3.977 MB / 3.811 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.294e-05/12.69, allocations: 39.61 kB / 3.811 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/12.69, allocations: 4 kB / 3.811 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.977e-05/12.69, allocations: 7.219 kB / 3.811 GB, free: 19.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01113/12.7, allocations: 5.863 MB / 3.816 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.666e-05/12.7, allocations: 3.469 kB / 3.816 GB, free: 19.17 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/12.7, allocations: 207 kB / 3.817 GB, free: 19.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001472/12.7, allocations: 383.4 kB / 3.817 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001309/12.7, allocations: 19.45 kB / 3.817 GB, free: 19.12 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00319/12.7, allocations: 2.875 MB / 3.82 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.21e-05/12.7, allocations: 7.375 kB / 3.82 GB, free: 17.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006282/12.71, allocations: 3.562 MB / 3.823 GB, free: 16.16 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/12.71, allocations: 428.7 kB / 3.824 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004469/12.71, allocations: 6.75 kB / 3.824 GB, free: 15.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001751/12.71, allocations: 94.33 kB / 3.824 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002428/12.71, allocations: 93.44 kB / 3.824 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001115/12.71, allocations: 43 kB / 3.824 GB, free: 15.91 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001426/12.72, allocations: 0.7369 MB / 3.825 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.092e-06/12.72, allocations: 0 / 3.825 GB, free: 15.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007879/12.72, allocations: 1.363 MB / 3.826 GB, free: 15.63 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (volume1_1.medium.h,volume1_2.medium.h,volume2_1.medium.h,volume2_2.medium.h) * Number of discrete variables: 26 ($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,volume1_1.heatTransfer.states[1].phase,source1.medium.phase,volume1_2.heatTransfer.states[1].phase,volume2_1.heatTransfer.states[1].phase,source2.medium.phase,volume2_2.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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.01779/12.74, allocations: 7.252 MB / 3.833 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00459/12.75, allocations: 1.82 MB / 3.835 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.252e-05/12.75, allocations: 3.984 kB / 3.835 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002679/12.75, allocations: 1.105 MB / 3.836 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005086/12.75, allocations: 0.5751 MB / 3.836 GB, free: 12.72 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 1.059/13.81, allocations: 213.8 MB / 4.045 GB, free: 45.24 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001873/13.82, allocations: 1.623 MB / 4.047 GB, free: 43.96 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.005085/13.82, allocations: 0.9816 MB / 4.048 GB, free: 43.38 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002203/13.82, allocations: 0.8219 MB / 4.049 GB, free: 43.27 MB / 0.5261 GB Notification: Performance of SimCode: time 2.675e-06/13.82, allocations: 0 / 4.049 GB, free: 43.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6413/14.46, allocations: 70.08 MB / 4.117 GB, free: 55.38 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/14.46, allocations: 188.6 kB / 4.117 GB, free: 55.19 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.692/20.16, allocations: 3.938 kB / 4.117 GB, free: 55.19 MB / 0.5261 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