Running command: translateModel(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 1.836/1.836, allocations: 194.9 MB / 210.6 MB, free: 8.336 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.654e-05/2.652e-05, allocations: 4 kB / 258.8 MB, free: 8.051 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.294/0.294, allocations: 44.49 MB / 303.3 MB, free: 12.94 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5501/0.8441, allocations: 160 MB / 463.3 MB, free: 1.078 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0209/0.8651, allocations: 12.55 MB / 475.9 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001306/0.8664, allocations: 26.69 kB / 475.9 MB, free: 0.7539 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001327/0.8678, allocations: 348.1 kB / 476.2 MB, free: 0.6523 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008928/0.8767, allocations: 2.32 MB / 478.6 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006434/0.8832, allocations: 1.649 MB / 480.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002539/0.8858, allocations: 1.102 MB / 481.3 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.8869, allocations: 0.5548 MB / 481.9 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005843/0.8928, allocations: 1.861 MB / 483.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002076/0.8949, allocations: 0.7155 MB / 484.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01354/0.9085, allocations: 5.351 MB / 489.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001912/0.9105, allocations: 216.8 kB / 490 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009499/0.9114, allocations: 444.3 kB / 490.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006142/0.9121, allocations: 129.1 kB / 490.6 MB, free: 12.97 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008329/0.9204, allocations: 2.985 MB / 493.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.9205, allocations: 0 / 493.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.415e-06/0.9205, allocations: 0 / 493.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.141e-05/0.9205, allocations: 2.969 kB / 493.5 MB, free: 11.7 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 228 * Number of variables: 228 Notification: Performance of Generate backend data structure: time 0.006139/0.9267, allocations: 1.762 MB / 495.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.9267, allocations: 10.25 kB / 495.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006825/0.9274, allocations: 125.9 kB / 495.4 MB, free: 10.4 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001788/0.9292, allocations: 0.679 MB / 496.1 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001686/0.9294, allocations: 127.8 kB / 496.2 MB, free: 9.727 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002429/0.9297, allocations: 92.06 kB / 496.3 MB, free: 9.668 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003572/0.9333, allocations: 1.452 MB / 497.8 MB, free: 8.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.9333, allocations: 6.719 kB / 497.8 MB, free: 8.57 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001765/0.9335, allocations: 39.03 kB / 497.8 MB, free: 8.562 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001493/0.9337, allocations: 72.33 kB / 497.9 MB, free: 8.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003901/0.9376, allocations: 1.471 MB / 499.4 MB, free: 7.492 MB / 378.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.01488/0.9525, allocations: 6.363 MB / 0.4939 GB, free: 1.883 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003065/0.9556, allocations: 0.9085 MB / 0.4948 GB, free: 1.262 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00215/0.9578, allocations: 1.738 MB / 0.4965 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.417e-05/0.9579, allocations: 47.94 kB / 0.4965 GB, free: 15.15 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008001/0.9587, allocations: 98.92 kB / 0.4966 GB, free: 15.07 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.466e-06/0.9588, allocations: 0 / 0.4966 GB, free: 15.07 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.02993/0.9887, allocations: 4.91 MB / 0.5014 GB, free: 11.14 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.727e-05/0.9888, allocations: 122.6 kB / 0.5015 GB, free: 11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001334/0.9902, allocations: 0.6546 MB / 0.5022 GB, free: 10.48 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002671/0.9905, allocations: 48.83 kB / 0.5022 GB, free: 10.44 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004317/0.9909, allocations: 470.9 kB / 0.5027 GB, free: 10.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004928/0.9914, allocations: 338.1 kB / 0.503 GB, free: 9.812 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000134/0.9916, allocations: 29.56 kB / 0.503 GB, free: 9.805 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.9918, allocations: 399.6 kB / 0.5034 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001998/0.9938, allocations: 0.5884 MB / 0.504 GB, free: 9.051 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002361/0.9962, allocations: 0.9882 MB / 0.5049 GB, free: 8.117 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002359/0.9986, allocations: 0.7808 MB / 0.5057 GB, free: 7.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.838e-06/0.9986, allocations: 8 kB / 0.5057 GB, free: 7.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006432/1.005, allocations: 1.924 MB / 0.5076 GB, free: 6.238 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001979/1.007, allocations: 4.854 MB / 0.5123 GB, free: 1.094 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.451e-05/1.007, allocations: 12 kB / 0.5123 GB, free: 1.082 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002673/1.01, allocations: 326.4 kB / 0.5126 GB, free: 0.8086 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002353/1.012, allocations: 286.3 kB / 0.5129 GB, free: 0.5586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/1.015, allocations: 0.9356 MB / 0.5138 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002142/1.017, allocations: 113.6 kB / 0.5139 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003145/1.018, allocations: 81.72 kB / 0.514 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/1.018, allocations: 4 kB / 0.514 GB, free: 15.56 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006541/1.024, allocations: 1.806 MB / 0.5158 GB, free: 14.35 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-05/1.024, allocations: 12.59 kB / 0.5158 GB, free: 14.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002489/1.027, allocations: 329.5 kB / 0.5161 GB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002171/1.029, allocations: 285.8 kB / 0.5164 GB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/1.032, allocations: 0.9276 MB / 0.5173 GB, free: 12.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001877/1.033, allocations: 104 kB / 0.5174 GB, free: 12.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002287/1.034, allocations: 83.72 kB / 0.5175 GB, free: 12.84 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 6 (traceVolume.ind,traceSource.ind,volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0008895/1.035, allocations: 343 kB / 0.5178 GB, free: 12.6 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/1.035, allocations: 97.31 kB / 0.5179 GB, free: 12.5 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006591/1.041, allocations: 1.901 MB / 0.5197 GB, free: 11.14 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.481e-05/1.042, allocations: 11.94 kB / 0.5198 GB, free: 11.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/1.042, allocations: 7.984 kB / 0.5198 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.134e-05/1.042, allocations: 7.938 kB / 0.5198 GB, free: 11.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01228/1.054, allocations: 3.254 MB / 0.5229 GB, free: 8.695 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.054, allocations: 3.953 kB / 0.5229 GB, free: 8.691 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00172/1.056, allocations: 177.6 kB / 0.5231 GB, free: 8.531 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003061/1.059, allocations: 401 kB / 0.5235 GB, free: 8.191 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002322/1.059, allocations: 35.61 kB / 0.5235 GB, free: 8.172 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002344/1.061, allocations: 0.8894 MB / 0.5244 GB, free: 7.371 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/1.061, allocations: 4.031 kB / 0.5244 GB, free: 7.367 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007171/1.069, allocations: 2.368 MB / 0.5267 GB, free: 5.621 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009661/1.07, allocations: 337.3 kB / 0.527 GB, free: 5.348 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003092/1.07, allocations: 29.36 kB / 0.5271 GB, free: 5.332 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/1.072, allocations: 75.19 kB / 0.5271 GB, free: 5.273 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000196/1.072, allocations: 73.73 kB / 0.5272 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001939/1.072, allocations: 57.2 kB / 0.5273 GB, free: 5.164 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001032/1.073, allocations: 0.5177 MB / 0.5278 GB, free: 4.773 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.81e-07/1.073, allocations: 0 / 0.5278 GB, free: 4.773 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00501/1.078, allocations: 1.147 MB / 0.5289 GB, free: 3.723 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 4 (volume.medium.p,volume.medium.Xi[1],volume.medium.T,volume.mC_scaled[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005205/1.083, allocations: 1.112 MB / 0.53 GB, free: 2.727 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008348/1.092, allocations: 2.624 MB / 0.5325 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.277e-06/1.092, allocations: 0 / 0.5325 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002332/1.094, allocations: 0.7022 MB / 0.5332 GB, free: 336 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003905/1.098, allocations: 456.2 kB / 0.5337 GB, free: 15.96 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/1.107, allocations: 2.897 MB / 0.5365 GB, free: 13.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009972/1.108, allocations: 1.143 MB / 0.5376 GB, free: 12.21 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004145/1.112, allocations: 0.6639 MB / 0.5383 GB, free: 11.54 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006568/1.113, allocations: 114.5 kB / 0.5384 GB, free: 11.43 MB / 426.7 MB Notification: Performance of SimCode: time 1.102e-06/1.113, allocations: 0 / 0.5384 GB, free: 11.43 MB / 426.7 MB Notification: Performance of Templates: time 0.09415/1.207, allocations: 37.15 MB / 0.5746 GB, free: 6.391 MB / 458.7 MB