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.1_cpp_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 1.759/1.759, allocations: 171.1 MB / 186.3 MB, free: 1.41 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.449e-05/4.447e-05, allocations: 4 kB / 228.1 MB, free: 7.98 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.112, allocations: 38.77 MB / 266.9 MB, free: 1.121 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.364/0.4761, allocations: 76.07 MB / 343 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05557/0.5317, allocations: 27.46 MB / 370.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003724/0.5355, allocations: 83.38 kB / 370.5 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00455/0.5401, allocations: 1.065 MB / 371.6 MB, free: 9.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0134/0.5535, allocations: 3.206 MB / 374.8 MB, free: 6.328 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02506/0.5787, allocations: 6.317 MB / 381.1 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007881/0.5866, allocations: 2.803 MB / 383.9 MB, free: 13.18 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003207/0.5898, allocations: 1.383 MB / 385.3 MB, free: 11.8 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0191/0.609, allocations: 7.239 MB / 392.5 MB, free: 4.551 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003784/0.6128, allocations: 1.364 MB / 393.9 MB, free: 3.184 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02611/0.639, allocations: 8.047 MB / 401.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004347/0.6434, allocations: 0.5234 MB / 402.4 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001872/0.6453, allocations: 0.6662 MB / 403.1 MB, free: 9.938 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001567/0.6469, allocations: 252 kB / 403.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01577/0.6627, allocations: 5.585 MB / 408.9 MB, free: 4.094 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.6628, allocations: 0 / 408.9 MB, free: 4.094 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.885e-06/0.6628, allocations: 7.875 kB / 409 MB, free: 4.086 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001291/0.663, allocations: 4 kB / 409 MB, free: 4.082 MB / 330.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.01254/0.6755, allocations: 2.761 MB / 411.7 MB, free: 1.266 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.6756, allocations: 15.97 kB / 411.7 MB, free: 1.25 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01816/0.6938, allocations: 1.176 MB / 412.9 MB, free: 72 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004417/0.6982, allocations: 1.318 MB / 414.2 MB, free: 14.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005659/0.6989, allocations: 345.8 kB / 414.6 MB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009426/0.6998, allocations: 195.8 kB / 414.8 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01514/0.715, allocations: 3.481 MB / 418.2 MB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.74e-05/0.7151, allocations: 3.938 kB / 418.2 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004755/0.7156, allocations: 79.98 kB / 418.3 MB, free: 10.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002306/0.7158, allocations: 107.3 kB / 418.4 MB, free: 10.34 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01665/0.7325, allocations: 3.518 MB / 421.9 MB, free: 6.816 MB / 346.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.04061/0.7732, allocations: 14.51 MB / 436.5 MB, free: 7.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01314/0.7864, allocations: 2.901 MB / 439.4 MB, free: 4.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2979/1.084, allocations: 19.87 MB / 459.2 MB, free: 119.2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.604e-05/1.084, allocations: 55.91 kB / 459.3 MB, free: 119.2 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004467/1.089, allocations: 451.6 kB / 459.7 MB, free: 119.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=175): time 1.571e-05/1.089, allocations: 0 / 459.7 MB, free: 119.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.06821/1.157, allocations: 12.48 MB / 472.2 MB, free: 114.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.135e-05/1.157, allocations: 152.7 kB / 472.4 MB, free: 114.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002432/1.16, allocations: 1.232 MB / 473.6 MB, free: 113.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005989/1.16, allocations: 64.95 kB / 473.6 MB, free: 113.4 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005528/1.161, allocations: 0.7512 MB / 474.4 MB, free: 112.7 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001002/1.162, allocations: 0.6735 MB / 475.1 MB, free: 112.1 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002571/1.162, allocations: 47.47 kB / 475.1 MB, free: 112.1 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/1.162, allocations: 397.5 kB / 475.5 MB, free: 111.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004588/1.167, allocations: 1.305 MB / 476.8 MB, free: 111 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004953/1.172, allocations: 1.771 MB / 478.6 MB, free: 109.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005004/1.177, allocations: 1.427 MB / 480 MB, free: 107.7 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.695e-05/1.177, allocations: 4 kB / 480 MB, free: 107.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01404/1.191, allocations: 3.986 MB / 484 MB, free: 103.7 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001032/1.192, allocations: 4.895 MB / 488.9 MB, free: 98.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.082e-05/1.192, allocations: 12 kB / 488.9 MB, free: 98.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007986/1.2, allocations: 1.595 MB / 490.5 MB, free: 96.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004001/1.204, allocations: 483.3 kB / 491 MB, free: 96.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008564/1.213, allocations: 6.701 MB / 497.7 MB, free: 89.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004514/1.218, allocations: 225.7 kB / 497.9 MB, free: 89.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/1.218, allocations: 115.9 kB / 498 MB, free: 89.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/1.218, allocations: 4 kB / 498 MB, free: 89.11 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01255/1.231, allocations: 3.56 MB / 0.4898 GB, free: 85.52 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.457e-05/1.231, allocations: 12.97 kB / 0.4898 GB, free: 85.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003893/1.235, allocations: 0.9994 MB / 0.4908 GB, free: 84.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00432/1.239, allocations: 0.5109 MB / 0.4913 GB, free: 83.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01445/1.254, allocations: 10.3 MB / 0.5014 GB, free: 73.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003464/1.257, allocations: 215.7 kB / 0.5016 GB, free: 72.94 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000639/1.258, allocations: 119.9 kB / 0.5017 GB, free: 72.82 MB / 362.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.001906/1.26, allocations: 0.4998 MB / 0.5022 GB, free: 72.31 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006929/1.261, allocations: 205.6 kB / 0.5024 GB, free: 72.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02398/1.285, allocations: 9.993 MB / 0.5121 GB, free: 62 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001138/1.285, allocations: 111.8 kB / 0.5122 GB, free: 61.89 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/1.285, allocations: 0 / 0.5122 GB, free: 61.89 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.905e-05/1.285, allocations: 15.95 kB / 0.5122 GB, free: 61.88 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02784/1.313, allocations: 13.34 MB / 0.5253 GB, free: 48.44 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.314e-05/1.313, allocations: 3.938 kB / 0.5253 GB, free: 48.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003668/1.316, allocations: 411.5 kB / 0.5257 GB, free: 48.03 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009943/1.326, allocations: 4.103 MB / 0.5297 GB, free: 43.91 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005144/1.327, allocations: 67.89 kB / 0.5297 GB, free: 43.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01073/1.338, allocations: 8.764 MB / 0.5383 GB, free: 34.84 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/1.338, allocations: 0 / 0.5383 GB, free: 34.84 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02327/1.361, allocations: 10.77 MB / 0.5488 GB, free: 23.96 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002332/1.363, allocations: 0.9049 MB / 0.5497 GB, free: 23.03 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008205/1.364, allocations: 44 kB / 0.5497 GB, free: 22.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004113/1.368, allocations: 243.6 kB / 0.55 GB, free: 22.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007179/1.369, allocations: 233.6 kB / 0.5502 GB, free: 22.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003116/1.369, allocations: 87.95 kB / 0.5503 GB, free: 22.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002348/1.372, allocations: 1.25 MB / 0.5515 GB, free: 21.16 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.01e-07/1.372, allocations: 0 / 0.5515 GB, free: 21.16 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008491/1.38, allocations: 2.193 MB / 0.5536 GB, free: 19.09 MB / 362.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.007907/1.388, allocations: 1.73 MB / 0.5553 GB, free: 17.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02253/1.411, allocations: 6.574 MB / 0.5618 GB, free: 10.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/1.411, allocations: 4.562 kB / 0.5618 GB, free: 10.97 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01058/1.422, allocations: 3.171 MB / 0.5649 GB, free: 7.805 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008843/1.43, allocations: 1.049 MB / 0.5659 GB, free: 6.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2835/1.714, allocations: 9.539 MB / 0.5752 GB, free: 117.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005602/1.72, allocations: 2.206 MB / 0.5773 GB, free: 116.6 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001989/1.722, allocations: 202.6 kB / 0.5775 GB, free: 116.6 MB / 362.7 MB Notification: Performance of SimCode: time 2.094e-06/1.722, allocations: 0 / 0.5775 GB, free: 116.6 MB / 362.7 MB Notification: Performance of Templates: time 0.5066/2.228, allocations: 170.4 MB / 0.744 GB, free: 92.28 MB / 362.7 MB