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.883/1.883, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.08e-05, allocations: 7.906 kB / 258.8 MB, free: 7.859 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3359/0.336, allocations: 44.5 MB / 303.3 MB, free: 12.8 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.1253/0.4613, allocations: 76.67 MB / 380 MB, free: 0.6094 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05419/0.5155, allocations: 27.78 MB / 407.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003049/0.5186, allocations: 79.38 kB / 407.8 MB, free: 4.684 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004131/0.5228, allocations: 1.069 MB / 408.9 MB, free: 3.609 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.535, allocations: 3.24 MB / 412.2 MB, free: 368 kB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02341/0.5585, allocations: 6.422 MB / 418.6 MB, free: 9.918 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007152/0.5657, allocations: 2.845 MB / 421.4 MB, free: 7.07 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002926/0.5687, allocations: 1.383 MB / 422.8 MB, free: 5.68 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3081/0.8768, allocations: 7.318 MB / 430.1 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003006/0.8799, allocations: 1.367 MB / 431.5 MB, free: 14.01 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02238/0.9023, allocations: 8.255 MB / 439.7 MB, free: 14 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004018/0.9064, allocations: 0.5396 MB / 440.3 MB, free: 14 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00171/0.9081, allocations: 0.6641 MB / 440.9 MB, free: 14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.9097, allocations: 255.5 kB / 441.2 MB, free: 14 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.9231, allocations: 5.692 MB / 446.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.9232, allocations: 0 / 446.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.386e-06/0.9232, allocations: 0 / 446.9 MB, free: 13.66 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001233/0.9233, allocations: 0 / 446.9 MB, free: 13.66 MB / 362.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.0119/0.9353, allocations: 2.795 MB / 449.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.722e-05/0.9353, allocations: 12.22 kB / 449.7 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01765/0.953, allocations: 1.252 MB / 450.9 MB, free: 12.2 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003958/0.957, allocations: 1.314 MB / 452.3 MB, free: 11.83 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004368/0.9575, allocations: 343.8 kB / 452.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008203/0.9583, allocations: 187.4 kB / 452.8 MB, free: 11.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01348/0.9718, allocations: 3.488 MB / 456.3 MB, free: 11.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-05/0.972, allocations: 9.406 kB / 456.3 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/0.9724, allocations: 86.36 kB / 456.4 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002056/0.9726, allocations: 105.3 kB / 456.5 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01477/0.9874, allocations: 3.511 MB / 460 MB, free: 11.21 MB / 362.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.03529/1.023, allocations: 14.51 MB / 474.5 MB, free: 17.86 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01148/1.034, allocations: 2.911 MB / 477.4 MB, free: 15.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06673/1.101, allocations: 19.9 MB / 497.3 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.393e-05/1.101, allocations: 62.06 kB / 497.4 MB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004476/1.106, allocations: 450.1 kB / 497.8 MB, free: 9.523 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 7.855e-06/1.106, allocations: 0 / 497.8 MB, free: 9.523 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.06968/1.175, allocations: 12.49 MB / 0.4983 GB, free: 15.79 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/1.176, allocations: 153.1 kB / 0.4985 GB, free: 15.62 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002566/1.178, allocations: 1.231 MB / 0.4997 GB, free: 14.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006521/1.179, allocations: 62.83 kB / 0.4997 GB, free: 14.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008247/1.18, allocations: 0.7944 MB / 0.5005 GB, free: 14.13 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001175/1.181, allocations: 0.6772 MB / 0.5012 GB, free: 13.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002599/1.181, allocations: 46.75 kB / 0.5012 GB, free: 13.54 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002144/1.181, allocations: 387 kB / 0.5016 GB, free: 13.19 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004811/1.186, allocations: 1.309 MB / 0.5029 GB, free: 12.31 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005454/1.192, allocations: 1.765 MB / 0.5046 GB, free: 10.83 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005194/1.197, allocations: 1.432 MB / 0.506 GB, free: 9.938 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.716e-05/1.197, allocations: 4 kB / 0.506 GB, free: 9.934 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01461/1.212, allocations: 4.088 MB / 0.51 GB, free: 7.086 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001997/1.214, allocations: 4.975 MB / 0.5148 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.855e-05/1.214, allocations: 15.98 kB / 0.5149 GB, free: 1.902 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008438/1.222, allocations: 1.591 MB / 0.5164 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004225/1.226, allocations: 488.5 kB / 0.5169 GB, free: 172 kB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01023/1.237, allocations: 6.69 MB / 0.5234 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004566/1.241, allocations: 242.7 kB / 0.5236 GB, free: 9.812 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004779/1.242, allocations: 113.8 kB / 0.5237 GB, free: 9.723 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/1.242, allocations: 6.031 kB / 0.5238 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.013/1.255, allocations: 3.568 MB / 0.5272 GB, free: 7.309 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.211e-05/1.255, allocations: 12 kB / 0.5272 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004494/1.26, allocations: 1.046 MB / 0.5283 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004482/1.264, allocations: 0.507 MB / 0.5288 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01507/1.279, allocations: 10.22 MB / 0.5387 GB, free: 12.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003951/1.283, allocations: 219.3 kB / 0.539 GB, free: 12.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004273/1.284, allocations: 117.4 kB / 0.5391 GB, free: 12.18 MB / 442.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.001673/1.285, allocations: 0.5047 MB / 0.5396 GB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006782/1.286, allocations: 201.6 kB / 0.5398 GB, free: 11.66 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02399/1.31, allocations: 9.991 MB / 0.5495 GB, free: 4.898 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00014/1.31, allocations: 106.6 kB / 0.5496 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.31, allocations: 0 / 0.5496 GB, free: 4.82 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.822e-05/1.31, allocations: 11.95 kB / 0.5496 GB, free: 4.809 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03099/1.341, allocations: 13.34 MB / 0.5626 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.563e-05/1.341, allocations: 0 / 0.5626 GB, free: 12.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003837/1.345, allocations: 414.7 kB / 0.563 GB, free: 11.82 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01141/1.357, allocations: 4.101 MB / 0.567 GB, free: 8.285 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005972/1.357, allocations: 63.95 kB / 0.5671 GB, free: 8.223 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01423/1.372, allocations: 8.751 MB / 0.5757 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/1.372, allocations: 7.062 kB / 0.5757 GB, free: 15.24 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02709/1.399, allocations: 10.8 MB / 0.5862 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002655/1.401, allocations: 0.9049 MB / 0.5871 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007894/1.402, allocations: 40 kB / 0.5871 GB, free: 3.383 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004154/1.406, allocations: 239.6 kB / 0.5874 GB, free: 3.148 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008228/1.407, allocations: 229.6 kB / 0.5876 GB, free: 2.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003478/1.408, allocations: 91.95 kB / 0.5877 GB, free: 2.832 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00273/1.41, allocations: 1.25 MB / 0.5889 GB, free: 1.562 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.81e-07/1.41, allocations: 0 / 0.5889 GB, free: 1.562 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.2939/1.704, allocations: 2.203 MB / 0.591 GB, free: 206.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.level,openTankCold2.medium.h,openTankCold1.level,openTankCold1.medium.h,openTankHot1.level,openTankHot1.medium.h,openTankHot2.level,openTankHot2.medium.h,openTankCold3.level,openTankCold3.medium.h,openTankHot3.level,openTankHot3.medium.h) * Number of discrete variables: 71 ($cse4.phase,$cse4.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse13.phase,$cse13.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse34.phase,$cse34.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse38.phase,$cse38.region,$cse39.phase,$cse39.region,$cse43.phase,$cse43.region,$cse45.phase,$cse45.region,$cse48.phase,$cse48.region,$cse50.phase,$cse50.region,$cse51.region3boundary,$cse52.region3boundary,$cse53.phase,$cse53.region,$cse54.phase,$cse54.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.009332/1.714, allocations: 1.734 MB / 0.5927 GB, free: 206.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02253/1.736, allocations: 6.615 MB / 0.5992 GB, free: 205.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.736, allocations: 0.5625 kB / 0.5992 GB, free: 205.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01078/1.747, allocations: 3.175 MB / 0.6023 GB, free: 204.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008975/1.756, allocations: 1.045 MB / 0.6033 GB, free: 203.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01795/1.774, allocations: 9.519 MB / 0.6126 GB, free: 198.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002081/1.776, allocations: 2.236 MB / 0.6148 GB, free: 198 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.009193/1.785, allocations: 3.763 MB / 0.6185 GB, free: 197.1 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009699/1.786, allocations: 174.4 kB / 0.6186 GB, free: 196.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/1.786, allocations: 0 / 0.6186 GB, free: 196.9 MB / 474.7 MB Notification: Performance of Templates: time 0.1845/1.971, allocations: 89.45 MB / 0.706 GB, free: 107.9 MB / 474.7 MB