Running command: translateModel(ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Tmix1_1.T|Tmix1_2.T|Tmix2.T|Tdiff|volume1_1.medium.h|volume1_2.medium.h|volume2_1.medium.h|volume2_2.medium.h",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Sensors.TestTemperature2") Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 270 MB / 283.6 MB, free: 3.129 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.908e-05/4.925e-05, allocations: 4 kB / 348.4 MB, free: 10.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1301, allocations: 61.89 MB / 410.3 MB, free: 13.01 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.817/6.947, allocations: 2.771 GB / 3.171 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/6.947, allocations: 83.95 kB / 3.171 GB, free: 164.5 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.821/10.77, allocations: 0.8159 GB / 3.987 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.769e-06/10.77, allocations: 0 / 3.987 GB, free: 48.49 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 0.0001199/10.77, allocations: 47.12 kB / 3.987 GB, free: 48.49 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.009644/10.78, allocations: 2.967 MB / 3.99 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/10.78, allocations: 11.53 kB / 3.99 GB, free: 47.31 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008871/10.79, allocations: 0.8535 MB / 3.991 GB, free: 47.21 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00309/10.79, allocations: 1.11 MB / 3.992 GB, free: 46.89 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003795/10.79, allocations: 459.3 kB / 3.993 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/10.79, allocations: 169.5 kB / 3.993 GB, free: 46.57 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008244/10.8, allocations: 3.11 MB / 3.996 GB, free: 45.82 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.252e-05/10.8, allocations: 19.83 kB / 3.996 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/10.8, allocations: 84.23 kB / 3.996 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001117/10.8, allocations: 89.25 kB / 3.996 GB, free: 45.81 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008705/10.81, allocations: 2.507 MB / 3.998 GB, free: 45.8 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.01901/10.83, allocations: 15.74 MB / 4.014 GB, free: 34.9 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00448/10.83, allocations: 1.335 MB / 4.015 GB, free: 34.87 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009013/10.83, allocations: 440.4 kB / 4.015 GB, free: 34.86 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001134/10.83, allocations: 0.6955 MB / 4.016 GB, free: 34.29 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.491e-05/10.83, allocations: 46.75 kB / 4.016 GB, free: 34.25 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=101): time 6.498e-06/10.83, allocations: 3.5 kB / 4.016 GB, free: 34.25 MB / 0.5573 GB Notification: Performance of matching and sorting (n=117): time 0.01627/10.85, allocations: 4.544 MB / 4.021 GB, free: 33.55 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/10.85, allocations: 169.8 kB / 4.021 GB, free: 33.36 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001951/10.85, allocations: 1.255 MB / 4.022 GB, free: 33.15 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001448/10.85, allocations: 51.8 kB / 4.022 GB, free: 33.12 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006029/10.85, allocations: 0.9421 MB / 4.023 GB, free: 32.62 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003314/10.85, allocations: 414.6 kB / 4.023 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001269/10.85, allocations: 45.22 kB / 4.023 GB, free: 32.38 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001398/10.85, allocations: 395.4 kB / 4.024 GB, free: 32.07 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001153/10.86, allocations: 0.5589 MB / 4.024 GB, free: 32.06 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001662/10.86, allocations: 1.779 MB / 4.026 GB, free: 30.49 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001605/10.86, allocations: 0.8914 MB / 4.027 GB, free: 30.47 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.376e-05/10.86, allocations: 15.38 kB / 4.027 GB, free: 30.47 MB / 0.5573 GB Notification: Performance of matching and sorting (n=293) (initialization): time 0.005228/10.86, allocations: 2.464 MB / 4.029 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 4.45e-05/10.86, allocations: 26.72 kB / 4.029 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-05/10.86, allocations: 39.59 kB / 4.029 GB, free: 30.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/10.87, allocations: 440.2 kB / 4.03 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002149/10.87, allocations: 0.5257 MB / 4.03 GB, free: 30.27 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/10.87, allocations: 2.72 MB / 4.033 GB, free: 28.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/10.87, allocations: 236.2 kB / 4.033 GB, free: 28.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002742/10.87, allocations: 137.4 kB / 4.033 GB, free: 28.17 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 193 * 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 (265): * Single equations (assignments): 261 * 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.0005147/10.87, allocations: 299.1 kB / 4.034 GB, free: 28.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003221/10.87, allocations: 177.8 kB / 4.034 GB, free: 27.95 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006459/10.88, allocations: 4.799 MB / 4.039 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.491e-05/10.88, allocations: 48.53 kB / 4.039 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.361e-06/10.88, allocations: 0 / 4.039 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.818e-05/10.88, allocations: 6.984 kB / 4.039 GB, free: 27.39 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/10.89, allocations: 6.879 MB / 4.045 GB, free: 26.74 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/10.89, allocations: 3.781 kB / 4.045 GB, free: 26.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001261/10.89, allocations: 275.1 kB / 4.046 GB, free: 26.74 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001621/10.89, allocations: 439.3 kB / 4.046 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001034/10.89, allocations: 30.97 kB / 4.046 GB, free: 26.71 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/10.9, allocations: 2.767 MB / 4.049 GB, free: 24.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.774e-06/10.9, allocations: 3.062 kB / 4.049 GB, free: 24.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00584/10.9, allocations: 3.903 MB / 4.053 GB, free: 23.86 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/10.9, allocations: 0.556 MB / 4.053 GB, free: 23.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003732/10.9, allocations: 30 kB / 4.053 GB, free: 23.59 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/10.91, allocations: 150.8 kB / 4.053 GB, free: 23.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002531/10.91, allocations: 108.8 kB / 4.053 GB, free: 23.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/10.91, allocations: 54.48 kB / 4.053 GB, free: 23.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.002029/10.91, allocations: 1.187 MB / 4.055 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.93e-07/10.91, allocations: 0 / 4.055 GB, free: 23.42 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.006078/10.91, allocations: 1.498 MB / 4.056 GB, free: 23.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (103): * Single equations (assignments): 87 * 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.007538/10.92, allocations: 2.094 MB / 4.058 GB, free: 22.85 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004065/10.93, allocations: 1.926 MB / 4.06 GB, free: 22.81 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.844e-06/10.93, allocations: 5.438 kB / 4.06 GB, free: 22.81 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.002341/10.93, allocations: 1.219 MB / 4.061 GB, free: 22.79 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005376/10.93, allocations: 0.8614 MB / 4.062 GB, free: 22.76 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007103/10.94, allocations: 3.703 MB / 4.066 GB, free: 21.9 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001351/10.94, allocations: 1.7 MB / 4.067 GB, free: 21.16 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003015/10.94, allocations: 0.9655 MB / 4.068 GB, free: 21.14 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004788/10.95, allocations: 145.8 kB / 4.068 GB, free: 21.13 MB / 0.5573 GB Notification: Performance of SimCode: time 2.46e-06/10.95, allocations: 0 / 4.068 GB, free: 21.13 MB / 0.5573 GB Notification: Performance of Templates: time 0.1241/11.07, allocations: 68.77 MB / 4.136 GB, free: 14.95 MB / 0.5573 GB