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_Modelica.Fluid.Examples.Explanatory.MeasuringTemperature") Notification: Performance of loadModel(Modelica): time 1.606/1.606, allocations: 171.2 MB / 185.7 MB, free: 1.391 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.716e-05/2.747e-05, allocations: 4 kB / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.121, allocations: 38.76 MB / 266.9 MB, free: 500 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.Explanatory.MeasuringTemperature): time 0.3397/0.4607, allocations: 76.08 MB / 343 MB, free: 4.555 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.05484/0.5156, allocations: 27.48 MB / 370.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003391/0.519, allocations: 79.38 kB / 370.5 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004336/0.5234, allocations: 1.061 MB / 371.6 MB, free: 9.074 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01271/0.5362, allocations: 3.201 MB / 374.8 MB, free: 5.863 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.024/0.5602, allocations: 6.321 MB / 381.1 MB, free: 15.52 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007421/0.5677, allocations: 2.799 MB / 383.9 MB, free: 12.72 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003054/0.5708, allocations: 1.383 MB / 385.3 MB, free: 11.34 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01863/0.5894, allocations: 7.239 MB / 392.5 MB, free: 4.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00368/0.5932, allocations: 1.363 MB / 393.9 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02529/0.6185, allocations: 8.039 MB / 401.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.004028/0.6226, allocations: 0.5234 MB / 402.5 MB, free: 10.15 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001793/0.6244, allocations: 0.6661 MB / 403.1 MB, free: 9.484 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001431/0.6259, allocations: 256 kB / 403.4 MB, free: 9.234 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01494/0.6409, allocations: 5.589 MB / 409 MB, free: 3.633 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.6409, allocations: 0 / 409 MB, free: 3.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.005e-06/0.641, allocations: 7.938 kB / 409 MB, free: 3.625 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001234/0.6411, allocations: 0 / 409 MB, free: 3.625 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.01186/0.653, allocations: 2.757 MB / 411.7 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.653, allocations: 8.031 kB / 411.7 MB, free: 0.8047 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02506/0.6781, allocations: 1.18 MB / 412.9 MB, free: 15.62 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005789/0.6839, allocations: 1.322 MB / 414.2 MB, free: 14.24 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007875/0.6848, allocations: 349.8 kB / 414.6 MB, free: 13.86 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001262/0.6861, allocations: 191.9 kB / 414.8 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.7073, allocations: 3.485 MB / 418.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.511e-05/0.7074, allocations: 7.938 kB / 418.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006235/0.7081, allocations: 79.98 kB / 418.3 MB, free: 9.984 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003066/0.7084, allocations: 107.3 kB / 418.4 MB, free: 9.879 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02311/0.7315, allocations: 3.514 MB / 422 MB, free: 6.359 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.04954/0.7811, allocations: 14.51 MB / 436.5 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01277/0.7939, allocations: 2.913 MB / 439.4 MB, free: 4.035 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2856/1.08, allocations: 19.87 MB / 459.3 MB, free: 119.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.523e-05/1.08, allocations: 57.19 kB / 459.3 MB, free: 119.3 MB / 362.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.004434/1.084, allocations: 452.3 kB / 459.7 MB, free: 119.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=175): time 1.42e-05/1.084, allocations: 0 / 459.7 MB, free: 119.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=205): time 0.06715/1.151, allocations: 12.47 MB / 472.2 MB, free: 114.2 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.983e-05/1.151, allocations: 152.1 kB / 472.4 MB, free: 114 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00225/1.154, allocations: 1.235 MB / 473.6 MB, free: 113.4 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005759/1.154, allocations: 65.45 kB / 473.7 MB, free: 113.3 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006549/1.155, allocations: 0.7893 MB / 474.5 MB, free: 112.6 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001012/1.156, allocations: 0.6831 MB / 475.1 MB, free: 112 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/1.156, allocations: 47.28 kB / 475.2 MB, free: 112 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/1.157, allocations: 392.1 kB / 475.6 MB, free: 111.6 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00471/1.161, allocations: 1.304 MB / 476.9 MB, free: 110.6 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005023/1.166, allocations: 1.769 MB / 478.6 MB, free: 108.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004859/1.171, allocations: 1.427 MB / 480.1 MB, free: 107.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.171, allocations: 4 kB / 480.1 MB, free: 107.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=278) (initialization): time 0.01388/1.185, allocations: 4.095 MB / 484.2 MB, free: 103.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009335/1.186, allocations: 4.967 MB / 489.1 MB, free: 97.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.901e-05/1.186, allocations: 18.58 kB / 489.2 MB, free: 97.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007853/1.194, allocations: 1.599 MB / 490.8 MB, free: 96.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003895/1.198, allocations: 479.3 kB / 491.2 MB, free: 95.77 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008365/1.206, allocations: 6.692 MB / 497.9 MB, free: 88.84 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004395/1.211, allocations: 225.5 kB / 498.1 MB, free: 88.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006392/1.212, allocations: 123.9 kB / 498.3 MB, free: 88.5 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/1.212, allocations: 0 / 498.3 MB, free: 88.5 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01247/1.224, allocations: 3.566 MB / 0.4901 GB, free: 84.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.588e-05/1.224, allocations: 12 kB / 0.4901 GB, free: 84.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004141/1.228, allocations: 1.05 MB / 0.4911 GB, free: 83.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00428/1.233, allocations: 0.507 MB / 0.4916 GB, free: 83.33 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/1.245, allocations: 10.23 MB / 0.5016 GB, free: 72.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003861/1.249, allocations: 219.6 kB / 0.5018 GB, free: 72.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005646/1.25, allocations: 111.9 kB / 0.5019 GB, free: 72.25 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.001583/1.251, allocations: 0.502 MB / 0.5024 GB, free: 71.74 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000674/1.252, allocations: 201.6 kB / 0.5026 GB, free: 71.54 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02147/1.274, allocations: 10 MB / 0.5123 GB, free: 61.42 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001182/1.274, allocations: 103.8 kB / 0.5124 GB, free: 61.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/1.274, allocations: 0 / 0.5124 GB, free: 61.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.002e-05/1.274, allocations: 15.95 kB / 0.5125 GB, free: 61.3 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/1.302, allocations: 13.35 MB / 0.5255 GB, free: 47.86 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.524e-05/1.302, allocations: 4 kB / 0.5255 GB, free: 47.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00359/1.305, allocations: 411.5 kB / 0.5259 GB, free: 47.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009917/1.315, allocations: 4.097 MB / 0.5299 GB, free: 43.33 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005529/1.316, allocations: 55.97 kB / 0.5299 GB, free: 43.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01094/1.327, allocations: 8.765 MB / 0.5385 GB, free: 34.28 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.327, allocations: 0 / 0.5385 GB, free: 34.28 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0238/1.351, allocations: 10.78 MB / 0.549 GB, free: 23.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002328/1.353, allocations: 0.901 MB / 0.5499 GB, free: 22.46 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009675/1.354, allocations: 47.98 kB / 0.55 GB, free: 22.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004443/1.359, allocations: 235.7 kB / 0.5502 GB, free: 22.18 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009277/1.36, allocations: 233.6 kB / 0.5504 GB, free: 21.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003687/1.36, allocations: 91.94 kB / 0.5505 GB, free: 21.86 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002401/1.362, allocations: 1.25 MB / 0.5517 GB, free: 20.59 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.51e-07/1.362, allocations: 0 / 0.5517 GB, free: 20.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.008743/1.371, allocations: 2.197 MB / 0.5539 GB, free: 18.51 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.008165/1.379, allocations: 1.722 MB / 0.5555 GB, free: 17.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.02264/1.402, allocations: 6.612 MB / 0.562 GB, free: 10.38 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.125e-05/1.402, allocations: 4.562 kB / 0.562 GB, free: 10.37 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01057/1.413, allocations: 3.171 MB / 0.5651 GB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00885/1.422, allocations: 1.057 MB / 0.5661 GB, free: 6.152 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2438/1.665, allocations: 9.51 MB / 0.5754 GB, free: 117.6 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003634/1.669, allocations: 2.243 MB / 0.5776 GB, free: 116.8 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.01091/1.68, allocations: 3.756 MB / 0.5813 GB, free: 116.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001078/1.681, allocations: 167 kB / 0.5814 GB, free: 116.8 MB / 362.7 MB Notification: Performance of SimCode: time 1.253e-06/1.681, allocations: 3.25 kB / 0.5814 GB, free: 116.8 MB / 362.7 MB Notification: Performance of Templates: time 0.1887/1.87, allocations: 89.17 MB / 0.6685 GB, free: 42.47 MB / 362.7 MB