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_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 1.877/1.877, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.911e-05/2.937e-05, allocations: 4 kB / 255.3 MB, free: 3.211 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1093, allocations: 44.5 MB / 299.8 MB, free: 6.645 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.975/6.084, allocations: 2.588 GB / 2.881 GB, free: 79.44 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000229/6.084, allocations: 78.97 kB / 2.881 GB, free: 79.4 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.44/10.52, allocations: 0.9601 GB / 3.841 GB, free: 32.19 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.361e-06/10.52, allocations: 0 / 3.841 GB, free: 32.19 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001838/10.52, allocations: 60.77 kB / 3.841 GB, free: 32.18 MB / 458.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.01126/10.54, allocations: 3.367 MB / 3.844 GB, free: 30.62 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/10.54, allocations: 11.5 kB / 3.844 GB, free: 30.62 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01726/10.55, allocations: 1.237 MB / 3.845 GB, free: 30.5 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004384/10.56, allocations: 1.53 MB / 3.847 GB, free: 30.11 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003248/10.56, allocations: 347.5 kB / 3.847 GB, free: 29.92 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005251/10.56, allocations: 188.3 kB / 3.847 GB, free: 29.92 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01082/10.57, allocations: 3.466 MB / 3.851 GB, free: 29.52 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.695e-05/10.57, allocations: 14.19 kB / 3.851 GB, free: 29.51 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003957/10.57, allocations: 85.25 kB / 3.851 GB, free: 29.51 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001587/10.57, allocations: 105.5 kB / 3.851 GB, free: 29.5 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01075/10.58, allocations: 3.301 MB / 3.854 GB, free: 29.49 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.02798/10.61, allocations: 14.45 MB / 3.868 GB, free: 22.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008108/10.62, allocations: 2.69 MB / 3.871 GB, free: 22.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002653/10.62, allocations: 1.266 MB / 3.872 GB, free: 22.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007771/10.63, allocations: 3.759 MB / 3.876 GB, free: 19.66 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.331e-05/10.63, allocations: 56.97 kB / 3.876 GB, free: 19.62 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004513/10.63, allocations: 0.5779 MB / 3.876 GB, free: 19.52 MB / 458.7 MB Notification: Performance of pre-optimization done (n=175): time 7.279e-06/10.63, allocations: 1.5 kB / 3.877 GB, free: 19.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=205): time 0.04067/10.67, allocations: 10.11 MB / 3.886 GB, free: 18.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.016e-05/10.67, allocations: 154.1 kB / 3.887 GB, free: 18.54 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002193/10.67, allocations: 1.216 MB / 3.888 GB, free: 18.36 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005282/10.68, allocations: 66.08 kB / 3.888 GB, free: 18.33 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004975/10.68, allocations: 0.7606 MB / 3.889 GB, free: 17.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006928/10.68, allocations: 0.6754 MB / 3.889 GB, free: 17.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002334/10.68, allocations: 45.16 kB / 3.889 GB, free: 17.5 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/10.68, allocations: 395.5 kB / 3.89 GB, free: 17.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002628/10.68, allocations: 1.106 MB / 3.891 GB, free: 17.18 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003101/10.68, allocations: 1.57 MB / 3.892 GB, free: 16.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002942/10.69, allocations: 1.234 MB / 3.893 GB, free: 16.66 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-05/10.69, allocations: 1.719 kB / 3.893 GB, free: 16.66 MB / 458.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.009352/10.7, allocations: 3.542 MB / 3.897 GB, free: 16.46 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009731/10.7, allocations: 4.883 MB / 3.902 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/10.7, allocations: 10.38 kB / 3.902 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006499/10.7, allocations: 1.54 MB / 3.903 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/10.71, allocations: 473.3 kB / 3.904 GB, free: 11.31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006769/10.71, allocations: 6.589 MB / 3.91 GB, free: 6.621 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003319/10.72, allocations: 229.1 kB / 3.91 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003875/10.72, allocations: 111.6 kB / 3.91 GB, free: 6.602 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/10.72, allocations: 6.125 kB / 3.91 GB, free: 6.602 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007878/10.72, allocations: 3.173 MB / 3.913 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.002e-05/10.72, allocations: 13.09 kB / 3.913 GB, free: 6.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003409/10.73, allocations: 0.9938 MB / 3.914 GB, free: 6.328 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003321/10.73, allocations: 0.4938 MB / 3.915 GB, free: 6.305 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01286/10.74, allocations: 10.13 MB / 3.925 GB, free: 15.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/10.75, allocations: 220.8 kB / 3.925 GB, free: 15.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003935/10.75, allocations: 114.9 kB / 3.925 GB, free: 15.1 MB / 474.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.0008816/10.75, allocations: 251.1 kB / 3.925 GB, free: 14.96 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006561/10.75, allocations: 196.4 kB / 3.926 GB, free: 14.86 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01565/10.76, allocations: 9.646 MB / 3.935 GB, free: 11.05 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001046/10.76, allocations: 104.3 kB / 3.935 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.02e-06/10.76, allocations: 0 / 3.935 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.132e-05/10.76, allocations: 12.94 kB / 3.935 GB, free: 11.02 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/10.79, allocations: 13.12 MB / 3.948 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.746e-05/10.79, allocations: 0 / 3.948 GB, free: 3.945 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002722/10.79, allocations: 403.7 kB / 3.948 GB, free: 3.625 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.3218/11.11, allocations: 4.763 MB / 3.953 GB, free: 45.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005857/11.12, allocations: 61.16 kB / 3.953 GB, free: 45.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01083/11.13, allocations: 8.746 MB / 3.962 GB, free: 41.23 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.86e-06/11.13, allocations: 0 / 3.962 GB, free: 41.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01961/11.15, allocations: 10.23 MB / 3.972 GB, free: 40.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002277/11.15, allocations: 0.9107 MB / 3.972 GB, free: 40.53 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006003/11.15, allocations: 44 kB / 3.972 GB, free: 40.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002843/11.15, allocations: 235.1 kB / 3.973 GB, free: 40.52 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006393/11.15, allocations: 227.8 kB / 3.973 GB, free: 40.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002925/11.15, allocations: 84.69 kB / 3.973 GB, free: 40.52 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002345/11.16, allocations: 1.229 MB / 3.974 GB, free: 40.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 9.56e-07/11.16, allocations: 0 / 3.974 GB, free: 40.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009917/11.17, allocations: 2.384 MB / 3.977 GB, free: 40.36 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.009892/11.18, allocations: 2.59 MB / 3.979 GB, free: 40.14 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01461/11.19, allocations: 5.984 MB / 3.985 GB, free: 39.68 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.327e-06/11.19, allocations: 3.562 kB / 3.985 GB, free: 39.68 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007442/11.2, allocations: 2.962 MB / 3.988 GB, free: 39.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007083/11.2, allocations: 1.046 MB / 3.989 GB, free: 39.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01332/11.22, allocations: 6.637 MB / 3.995 GB, free: 38.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001957/11.22, allocations: 2.208 MB / 3.997 GB, free: 37.65 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00108/11.22, allocations: 204.8 kB / 3.998 GB, free: 37.64 MB / 474.7 MB Notification: Performance of SimCode: time 2.142e-06/11.22, allocations: 1.312 kB / 3.998 GB, free: 37.64 MB / 474.7 MB Notification: Performance of Templates: time 0.5235/11.74, allocations: 174.4 MB / 4.168 GB, free: 60.88 MB / 490.7 MB