Running command: translateModel(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|T_onePort.T|T_twoPort.T|T_junction.T",fileNamePrefix="Modelica_3.2.3_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.522e-05/2.532e-05, allocations: 0 / 269.3 MB, free: 6.402 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08512/0.08516, allocations: 47.58 MB / 316.9 MB, free: 6.742 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.587/6.672, allocations: 2.756 GB / 3.065 GB, free: 14.14 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002282/6.672, allocations: 81.45 kB / 3.066 GB, free: 14.1 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.365/11.04, allocations: 0.9659 GB / 4.031 GB, free: 29.7 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.29e-06/11.04, allocations: 0 / 4.031 GB, free: 29.7 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001682/11.04, allocations: 52.58 kB / 4.032 GB, free: 29.69 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.01115/11.05, allocations: 3.388 MB / 4.035 GB, free: 27.99 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/11.05, allocations: 9.688 kB / 4.035 GB, free: 27.99 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01769/11.07, allocations: 1.228 MB / 4.036 GB, free: 27.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004434/11.07, allocations: 1.523 MB / 4.038 GB, free: 27.44 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003156/11.07, allocations: 346.9 kB / 4.038 GB, free: 27.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004847/11.07, allocations: 184.2 kB / 4.038 GB, free: 27.25 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01033/11.08, allocations: 3.457 MB / 4.041 GB, free: 26.82 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.455e-05/11.08, allocations: 15.31 kB / 4.041 GB, free: 26.8 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003939/11.08, allocations: 85.81 kB / 4.042 GB, free: 26.8 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001604/11.08, allocations: 104.6 kB / 4.042 GB, free: 26.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01077/11.09, allocations: 3.271 MB / 4.045 GB, free: 26.77 MB / 474.7 MB 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.02651/11.12, allocations: 14.43 MB / 4.059 GB, free: 19.56 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008422/11.13, allocations: 2.671 MB / 4.062 GB, free: 19.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002675/11.13, allocations: 1.27 MB / 4.063 GB, free: 19.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01873/11.15, allocations: 8.274 MB / 4.071 GB, free: 14.41 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.682e-05/11.15, allocations: 57.47 kB / 4.071 GB, free: 14.38 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.003976/11.15, allocations: 0.5683 MB / 4.071 GB, free: 14.25 MB / 474.7 MB Notification: Performance of pre-optimization done (n=175): time 8.535e-06/11.15, allocations: 0 / 4.071 GB, free: 14.25 MB / 474.7 MB Notification: Performance of matching and sorting (n=205): time 0.0402/11.19, allocations: 10.13 MB / 4.081 GB, free: 11.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/11.19, allocations: 150.5 kB / 4.081 GB, free: 11.41 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002072/11.2, allocations: 1.209 MB / 4.083 GB, free: 10.94 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004707/11.2, allocations: 61.52 kB / 4.083 GB, free: 10.88 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005707/11.2, allocations: 0.7813 MB / 4.083 GB, free: 10.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006947/11.2, allocations: 0.6803 MB / 4.084 GB, free: 9.738 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002392/11.2, allocations: 39.84 kB / 4.084 GB, free: 9.707 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001398/11.2, allocations: 386.3 kB / 4.085 GB, free: 9.367 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002466/11.2, allocations: 1.106 MB / 4.086 GB, free: 8.941 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002784/11.2, allocations: 1.518 MB / 4.087 GB, free: 8.027 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002768/11.21, allocations: 1.216 MB / 4.088 GB, free: 7.227 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/11.21, allocations: 4 kB / 4.088 GB, free: 7.223 MB / 474.7 MB Notification: Performance of matching and sorting (n=272) (initialization): time 0.008586/11.22, allocations: 3.573 MB / 4.092 GB, free: 4.059 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/11.22, allocations: 12 kB / 4.092 GB, free: 4.047 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/11.22, allocations: 8 kB / 4.092 GB, free: 4.039 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005683/11.22, allocations: 1.538 MB / 4.093 GB, free: 2.828 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002833/11.22, allocations: 464.2 kB / 4.094 GB, free: 2.453 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007866/11.23, allocations: 6.588 MB / 4.1 GB, free: 11.98 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/11.24, allocations: 220.8 kB / 4.1 GB, free: 11.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004233/11.24, allocations: 119.5 kB / 4.101 GB, free: 11.7 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 21 (openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (213): * Single equations (assignments): 204 * 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: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {1 5,1 5,4 6,1 5,1 5,4 6,1 5,1 5,6 6} Notification: Performance of prepare postOptimizeDAE: time 0.0007421/11.24, allocations: 238.9 kB / 4.101 GB, free: 11.46 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005928/11.24, allocations: 197.7 kB / 4.101 GB, free: 11.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01853/11.26, allocations: 9.649 MB / 4.11 GB, free: 2.711 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/11.26, allocations: 106 kB / 4.11 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/11.26, allocations: 3.516 kB / 4.11 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.593e-05/11.26, allocations: 10.22 kB / 4.11 GB, free: 2.645 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3417/11.6, allocations: 13.13 MB / 4.123 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.307e-05/11.6, allocations: 2.016 kB / 4.123 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002757/11.6, allocations: 396.9 kB / 4.124 GB, free: 43.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009545/11.61, allocations: 4.694 MB / 4.128 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005261/11.61, allocations: 64.73 kB / 4.128 GB, free: 43.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00952/11.62, allocations: 8.75 MB / 4.137 GB, free: 38.94 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/11.62, allocations: 0.625 kB / 4.137 GB, free: 38.94 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01746/11.64, allocations: 10.23 MB / 4.147 GB, free: 38.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002172/11.64, allocations: 0.9141 MB / 4.148 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000524/11.64, allocations: 41.28 kB / 4.148 GB, free: 38.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002634/11.64, allocations: 239.2 kB / 4.148 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000588/11.64, allocations: 228.6 kB / 4.148 GB, free: 38.17 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000294/11.64, allocations: 93.09 kB / 4.148 GB, free: 38.17 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.002241/11.65, allocations: 1.227 MB / 4.15 GB, free: 38.01 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.762e-06/11.65, allocations: 0 / 4.15 GB, free: 38.01 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007582/11.65, allocations: 1.926 MB / 4.151 GB, free: 38.01 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (openTankCold2.medium.h,openTankCold2.level,openTankCold1.medium.h,openTankCold1.level,openTankHot1.medium.h,openTankHot1.level,openTankHot2.medium.h,openTankHot2.level,openTankCold3.medium.h,openTankCold3.level,openTankHot3.medium.h,openTankHot3.level) * Number of discrete variables: 71 ($cse1.phase,$cse1.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse11.phase,$cse11.region,$cse13.phase,$cse13.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse23.phase,$cse23.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse33.region3boundary,$cse34.region3boundary,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,$cse41.phase,$cse41.region,$cse43.phase,$cse43.region,$cse46.phase,$cse46.region,$cse48.phase,$cse48.region,$cse49.region3boundary,$cse50.region3boundary,$cse51.phase,$cse51.region,$cse52.phase,$cse52.region,openTankCold2.heatTransfer.states[1].phase,openTankCold2.regularFlow[1],openTankCold2.inFlow[1],openTankCold1.heatTransfer.states[1].phase,openTankCold1.regularFlow[1],openTankCold1.inFlow[1],openTankHot1.heatTransfer.states[1].phase,openTankHot1.regularFlow[1],openTankHot1.inFlow[1],openTankHot2.heatTransfer.states[1].phase,openTankHot2.regularFlow[1],openTankHot2.inFlow[1],mFlow1.medium.phase,mFlow2.medium.phase,openTankCold3.heatTransfer.states[1].phase,openTankCold3.regularFlow[1],openTankCold3.inFlow[1],openTankHot3.heatTransfer.states[1].phase,openTankHot3.regularFlow[1],openTankHot3.inFlow[1],mFlow3.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (173): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 9 {2 4,2 4,6 9,2 4,2 4,6 9,2 4,2 4,6 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.009548/11.66, allocations: 2.618 MB / 4.154 GB, free: 37.74 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009205/11.67, allocations: 3.865 MB / 4.158 GB, free: 37.66 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.799e-06/11.67, allocations: 5.531 kB / 4.158 GB, free: 37.66 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.006818/11.68, allocations: 2.969 MB / 4.161 GB, free: 37.61 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006505/11.69, allocations: 1.038 MB / 4.162 GB, free: 37.58 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01258/11.7, allocations: 6.555 MB / 4.168 GB, free: 36.4 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001922/11.7, allocations: 2.229 MB / 4.17 GB, free: 35.62 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004297/11.71, allocations: 1.748 MB / 4.172 GB, free: 35.59 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/11.71, allocations: 181.7 kB / 4.172 GB, free: 35.59 MB / 490.7 MB Notification: Performance of SimCode: time 1.68e-06/11.71, allocations: 2.969 kB / 4.172 GB, free: 35.59 MB / 490.7 MB Notification: Performance of Templates: time 0.1804/11.89, allocations: 94.96 MB / 4.265 GB, free: 12.95 MB / 490.7 MB