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.2_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 1.724/1.724, allocations: 194.9 MB / 208 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.703e-05/2.69e-05, allocations: 3.984 kB / 255.4 MB, free: 2.707 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08994/0.08999, allocations: 44.5 MB / 299.9 MB, free: 6.145 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.003/6.093, allocations: 2.588 GB / 2.881 GB, free: 1.02 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/6.093, allocations: 76.47 kB / 2.881 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.487/10.58, allocations: 0.9601 GB / 3.841 GB, free: 11.95 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.638e-06/10.58, allocations: 0 / 3.841 GB, free: 11.95 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001918/10.58, allocations: 63.92 kB / 3.841 GB, free: 11.89 MB / 442.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.01156/10.59, allocations: 3.375 MB / 3.844 GB, free: 8.457 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/10.59, allocations: 12.03 kB / 3.844 GB, free: 8.445 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01702/10.61, allocations: 1.23 MB / 3.845 GB, free: 7.211 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004391/10.61, allocations: 1.533 MB / 3.847 GB, free: 5.621 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/10.61, allocations: 342.5 kB / 3.847 GB, free: 5.25 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006369/10.61, allocations: 184 kB / 3.847 GB, free: 5.07 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01007/10.63, allocations: 3.449 MB / 3.851 GB, free: 1.488 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.726e-05/10.63, allocations: 7.859 kB / 3.851 GB, free: 1.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004228/10.63, allocations: 87.92 kB / 3.851 GB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001556/10.63, allocations: 103.3 kB / 3.851 GB, free: 1.293 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01072/10.64, allocations: 3.274 MB / 3.854 GB, free: 14.01 MB / 458.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.3386/10.98, allocations: 14.44 MB / 3.868 GB, free: 32.55 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009145/10.98, allocations: 2.672 MB / 3.871 GB, free: 32.53 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003034/10.99, allocations: 1.27 MB / 3.872 GB, free: 32.52 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007795/11, allocations: 3.769 MB / 3.876 GB, free: 29.89 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.288e-05/11, allocations: 56.34 kB / 3.876 GB, free: 29.85 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004019/11, allocations: 0.5725 MB / 3.876 GB, free: 29.85 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 6.807e-06/11, allocations: 0.6562 kB / 3.876 GB, free: 29.85 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.04124/11.04, allocations: 10.11 MB / 3.886 GB, free: 29.11 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.316e-05/11.04, allocations: 155 kB / 3.887 GB, free: 28.96 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/11.04, allocations: 1.208 MB / 3.888 GB, free: 28.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005782/11.04, allocations: 63.38 kB / 3.888 GB, free: 28.76 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006375/11.04, allocations: 0.7968 MB / 3.889 GB, free: 28.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000929/11.05, allocations: 0.6796 MB / 3.889 GB, free: 28.15 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002601/11.05, allocations: 46.19 kB / 3.889 GB, free: 28.15 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001711/11.05, allocations: 391.3 kB / 3.89 GB, free: 27.84 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0027/11.05, allocations: 1.109 MB / 3.891 GB, free: 27.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/11.05, allocations: 1.555 MB / 3.892 GB, free: 27.35 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002966/11.05, allocations: 1.228 MB / 3.893 GB, free: 27.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.478e-05/11.05, allocations: 5.469 kB / 3.893 GB, free: 27.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.009457/11.06, allocations: 3.608 MB / 3.897 GB, free: 27.07 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009901/11.07, allocations: 4.97 MB / 3.902 GB, free: 22 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.115e-05/11.07, allocations: 18.17 kB / 3.902 GB, free: 21.99 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006206/11.07, allocations: 1.547 MB / 3.903 GB, free: 21.92 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002881/11.07, allocations: 471.2 kB / 3.904 GB, free: 21.92 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007003/11.08, allocations: 6.592 MB / 3.91 GB, free: 17.24 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003437/11.08, allocations: 216.7 kB / 3.91 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005884/11.09, allocations: 117.4 kB / 3.911 GB, free: 17.23 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/11.09, allocations: 3.781 kB / 3.911 GB, free: 17.23 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008411/11.09, allocations: 3.135 MB / 3.914 GB, free: 17.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.97e-05/11.09, allocations: 16.7 kB / 3.914 GB, free: 17.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003582/11.1, allocations: 1.038 MB / 3.915 GB, free: 17.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/11.1, allocations: 0.4949 MB / 3.915 GB, free: 17.03 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/11.11, allocations: 10.04 MB / 3.925 GB, free: 9.891 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005158/11.12, allocations: 215.5 kB / 3.925 GB, free: 9.879 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/11.12, allocations: 119.3 kB / 3.925 GB, free: 9.879 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (219): * Single equations (assignments): 210 * 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.001526/11.12, allocations: 246.4 kB / 3.925 GB, free: 25.76 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007235/11.12, allocations: 205.7 kB / 3.926 GB, free: 25.66 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01594/11.14, allocations: 9.63 MB / 3.935 GB, free: 24.69 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.892e-05/11.14, allocations: 106.9 kB / 3.935 GB, free: 24.69 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.003e-06/11.14, allocations: 0 / 3.935 GB, free: 24.69 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.74e-05/11.14, allocations: 14.27 kB / 3.935 GB, free: 24.69 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02239/11.16, allocations: 13.13 MB / 3.948 GB, free: 23.74 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.005e-05/11.16, allocations: 0 / 3.948 GB, free: 23.74 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002587/11.16, allocations: 399.9 kB / 3.948 GB, free: 23.74 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009126/11.17, allocations: 4.696 MB / 3.953 GB, free: 23.53 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004754/11.17, allocations: 61.52 kB / 3.953 GB, free: 23.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0106/11.18, allocations: 8.747 MB / 3.962 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.807e-06/11.18, allocations: 2.203 kB / 3.962 GB, free: 18.77 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/11.2, allocations: 10.22 MB / 3.972 GB, free: 18.02 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002329/11.21, allocations: 0.9186 MB / 3.972 GB, free: 17.64 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007723/11.21, allocations: 46.53 kB / 3.972 GB, free: 17.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003236/11.21, allocations: 236.4 kB / 3.973 GB, free: 17.63 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008533/11.21, allocations: 225.9 kB / 3.973 GB, free: 17.62 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003914/11.21, allocations: 90 kB / 3.973 GB, free: 17.62 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002638/11.21, allocations: 1.224 MB / 3.974 GB, free: 17.46 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.182e-06/11.21, allocations: 0 / 3.974 GB, free: 17.46 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01058/11.22, allocations: 2.382 MB / 3.977 GB, free: 17.4 MB / 474.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.01063/11.23, allocations: 2.624 MB / 3.979 GB, free: 17.07 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01482/11.25, allocations: 5.93 MB / 3.985 GB, free: 16.23 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.3e-06/11.25, allocations: 3.125 kB / 3.985 GB, free: 16.23 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007119/11.26, allocations: 2.962 MB / 3.988 GB, free: 14.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006938/11.26, allocations: 1.039 MB / 3.989 GB, free: 14.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0138/11.28, allocations: 6.598 MB / 3.995 GB, free: 12.31 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002361/11.28, allocations: 2.245 MB / 3.997 GB, free: 11.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008241/11.29, allocations: 3.588 MB / 4.001 GB, free: 11.42 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009105/11.29, allocations: 175.1 kB / 4.001 GB, free: 11.4 MB / 474.7 MB Notification: Performance of SimCode: time 1.985e-06/11.29, allocations: 0 / 4.001 GB, free: 11.4 MB / 474.7 MB Notification: Performance of Templates: time 0.5438/11.83, allocations: 103.5 MB / 4.102 GB, free: 57.59 MB / 490.7 MB