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 2.172/2.172, allocations: 194.9 MB / 211.2 MB, free: 8.352 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.798e-05, allocations: 3.938 kB / 258.8 MB, free: 8.719 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.309, allocations: 44.51 MB / 303.3 MB, free: 12.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.1259/0.4349, allocations: 76.67 MB / 380 MB, free: 0.8633 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.05534/0.4903, allocations: 27.78 MB / 407.7 MB, free: 5.016 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003331/0.4937, allocations: 75.44 kB / 407.8 MB, free: 4.941 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004404/0.4982, allocations: 1.069 MB / 408.9 MB, free: 3.867 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01307/0.5113, allocations: 3.252 MB / 412.1 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02468/0.536, allocations: 6.418 MB / 418.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.007647/0.5437, allocations: 2.837 MB / 421.4 MB, free: 7.328 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003076/0.5468, allocations: 1.391 MB / 422.8 MB, free: 5.93 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3426/0.8895, allocations: 7.317 MB / 430.1 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003494/0.8931, allocations: 1.368 MB / 431.5 MB, free: 14.09 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02383/0.9169, allocations: 8.258 MB / 439.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004528/0.9215, allocations: 0.5482 MB / 440.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.9233, allocations: 0.6612 MB / 440.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.9247, allocations: 256.2 kB / 441.2 MB, free: 14.08 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01392/0.9386, allocations: 5.682 MB / 446.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.9387, allocations: 0 / 446.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.9387, allocations: 0 / 446.9 MB, free: 13.75 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001087/0.9388, allocations: 0 / 446.9 MB, free: 13.75 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.01143/0.9503, allocations: 2.799 MB / 449.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.9503, allocations: 9.688 kB / 449.7 MB, free: 12.42 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01753/0.9679, allocations: 1.254 MB / 450.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/0.9719, allocations: 1.313 MB / 452.2 MB, free: 11.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004008/0.9724, allocations: 344.7 kB / 452.6 MB, free: 11.73 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000734/0.9731, allocations: 189 kB / 452.8 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01324/0.9864, allocations: 3.484 MB / 456.2 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/0.9865, allocations: 12.66 kB / 456.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004249/0.9869, allocations: 83.5 kB / 456.3 MB, free: 11.34 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000201/0.9872, allocations: 106.8 kB / 456.4 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01472/1.002, allocations: 3.508 MB / 459.9 MB, free: 11.29 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.03574/1.038, allocations: 14.52 MB / 474.5 MB, free: 18.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01173/1.049, allocations: 2.906 MB / 477.4 MB, free: 16.18 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06779/1.117, allocations: 19.9 MB / 497.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.438e-05/1.117, allocations: 66.92 kB / 497.3 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.005785/1.123, allocations: 446.6 kB / 497.8 MB, free: 9.863 MB / 394.7 MB Notification: Performance of pre-optimization done (n=175): time 1.19e-05/1.123, allocations: 8 kB / 497.8 MB, free: 9.855 MB / 394.7 MB Notification: Performance of matching and sorting (n=205): time 0.08993/1.213, allocations: 12.47 MB / 0.4983 GB, free: 136 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001295/1.213, allocations: 150.5 kB / 0.4984 GB, free: 15.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002692/1.216, allocations: 1.234 MB / 0.4996 GB, free: 15.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006475/1.217, allocations: 65.33 kB / 0.4997 GB, free: 14.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006956/1.218, allocations: 0.7472 MB / 0.5004 GB, free: 14.47 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001209/1.219, allocations: 0.6794 MB / 0.5011 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002664/1.219, allocations: 45 kB / 0.5011 GB, free: 13.88 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002344/1.219, allocations: 399.8 kB / 0.5015 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005131/1.224, allocations: 1.302 MB / 0.5028 GB, free: 12.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006377/1.231, allocations: 1.774 MB / 0.5045 GB, free: 11.16 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005583/1.237, allocations: 1.424 MB / 0.5059 GB, free: 10.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.329e-05/1.237, allocations: 4 kB / 0.5059 GB, free: 10.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01565/1.252, allocations: 3.996 MB / 0.5098 GB, free: 7.516 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002117/1.254, allocations: 4.879 MB / 0.5146 GB, free: 2.348 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-05/1.255, allocations: 16 kB / 0.5146 GB, free: 2.332 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008463/1.263, allocations: 1.605 MB / 0.5162 GB, free: 1.012 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00429/1.267, allocations: 481.6 kB / 0.5166 GB, free: 0.5859 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/1.278, allocations: 6.687 MB / 0.5232 GB, free: 10.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004492/1.282, allocations: 228.5 kB / 0.5234 GB, free: 10.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005851/1.283, allocations: 124.5 kB / 0.5235 GB, free: 10.14 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.283, allocations: 5.719 kB / 0.5235 GB, free: 10.14 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01299/1.296, allocations: 3.564 MB / 0.527 GB, free: 7.734 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-05/1.296, allocations: 16.48 kB / 0.527 GB, free: 7.719 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004105/1.3, allocations: 0.9988 MB / 0.528 GB, free: 6.906 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004509/1.305, allocations: 0.5078 MB / 0.5285 GB, free: 6.449 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01562/1.32, allocations: 10.29 MB / 0.5385 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003494/1.324, allocations: 218.6 kB / 0.5387 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004127/1.324, allocations: 112.6 kB / 0.5388 GB, free: 12.59 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.001835/1.326, allocations: 0.5083 MB / 0.5393 GB, free: 12.26 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007436/1.327, allocations: 197.7 kB / 0.5395 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02415/1.351, allocations: 10 MB / 0.5493 GB, free: 5.301 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000148/1.351, allocations: 104 kB / 0.5494 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/1.351, allocations: 0 / 0.5494 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.211e-05/1.351, allocations: 11.95 kB / 0.5494 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03125/1.383, allocations: 13.35 MB / 0.5624 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.859e-05/1.383, allocations: 0 / 0.5624 GB, free: 12.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003797/1.387, allocations: 415.5 kB / 0.5628 GB, free: 12.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01135/1.398, allocations: 4.097 MB / 0.5668 GB, free: 8.695 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006236/1.399, allocations: 67.05 kB / 0.5669 GB, free: 8.664 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01341/1.412, allocations: 8.76 MB / 0.5754 GB, free: 15.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.783e-06/1.412, allocations: 4.031 kB / 0.5754 GB, free: 15.78 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02819/1.44, allocations: 10.79 MB / 0.586 GB, free: 4.898 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002717/1.443, allocations: 0.894 MB / 0.5869 GB, free: 3.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009165/1.444, allocations: 47.98 kB / 0.5869 GB, free: 3.934 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004527/1.449, allocations: 239.5 kB / 0.5871 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001006/1.45, allocations: 229.6 kB / 0.5873 GB, free: 3.473 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003881/1.45, allocations: 91.94 kB / 0.5874 GB, free: 3.383 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002936/1.453, allocations: 1.256 MB / 0.5887 GB, free: 2.113 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.453, allocations: 0 / 0.5887 GB, free: 2.113 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.2764/1.729, allocations: 2.208 MB / 0.5908 GB, free: 206.2 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.01073/1.74, allocations: 1.731 MB / 0.5925 GB, free: 206.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0244/1.765, allocations: 6.582 MB / 0.5989 GB, free: 205.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.765, allocations: 4.5 kB / 0.5989 GB, free: 205.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01114/1.776, allocations: 3.156 MB / 0.602 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.009127/1.785, allocations: 1.044 MB / 0.603 GB, free: 203.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/1.804, allocations: 9.551 MB / 0.6124 GB, free: 198.9 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002126/1.807, allocations: 2.204 MB / 0.6145 GB, free: 198 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.808, allocations: 203.4 kB / 0.6147 GB, free: 198 MB / 474.7 MB Notification: Performance of SimCode: time 2.114e-06/1.808, allocations: 0 / 0.6147 GB, free: 198 MB / 474.7 MB Notification: Performance of Templates: time 0.5106/2.319, allocations: 170.6 MB / 0.7814 GB, free: 200.2 MB / 474.7 MB