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_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 194.9 MB / 211.2 MB, free: 7.863 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.873e-05/2.875e-05, allocations: 0 / 258.8 MB, free: 8.223 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3397, allocations: 44.51 MB / 303.3 MB, free: 12.83 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5911/0.9308, allocations: 160 MB / 463.3 MB, free: 1.094 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02193/0.9528, allocations: 12.54 MB / 475.8 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001465/0.9543, allocations: 32.75 kB / 475.9 MB, free: 0.7891 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.9558, allocations: 343.5 kB / 476.2 MB, free: 0.6875 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01041/0.9663, allocations: 2.312 MB / 478.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006898/0.9732, allocations: 1.649 MB / 480.2 MB, free: 15.41 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.002901/0.9761, allocations: 1.103 MB / 481.3 MB, free: 15.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.9774, allocations: 0.5515 MB / 481.8 MB, free: 15.01 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006042/0.9834, allocations: 1.87 MB / 483.7 MB, free: 14.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002234/0.9857, allocations: 0.7064 MB / 484.4 MB, free: 14.41 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01466/1, allocations: 5.354 MB / 489.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002158/1.003, allocations: 216.9 kB / 490 MB, free: 13.11 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/1.004, allocations: 444.9 kB / 490.4 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006142/1.004, allocations: 126 kB / 490.5 MB, free: 12.98 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00889/1.013, allocations: 2.984 MB / 493.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.207e-06/1.013, allocations: 0 / 493.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.006e-06/1.013, allocations: 3.25 kB / 493.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.23e-05/1.013, allocations: 0 / 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.006827/1.02, allocations: 1.767 MB / 495.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.02, allocations: 9.375 kB / 495.3 MB, free: 10.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001027/1.021, allocations: 120.8 kB / 495.4 MB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/1.024, allocations: 0.6758 MB / 496.1 MB, free: 9.867 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001866/1.024, allocations: 129.1 kB / 496.2 MB, free: 9.762 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002872/1.024, allocations: 89.48 kB / 496.3 MB, free: 9.703 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004109/1.028, allocations: 1.453 MB / 497.7 MB, free: 8.613 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.386e-05/1.028, allocations: 4 kB / 497.7 MB, free: 8.609 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002014/1.029, allocations: 38.83 kB / 497.8 MB, free: 8.602 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001613/1.029, allocations: 72.39 kB / 497.9 MB, free: 8.539 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004273/1.033, allocations: 1.464 MB / 499.3 MB, free: 7.535 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.01481/1.048, allocations: 6.369 MB / 0.4938 GB, free: 1.922 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002982/1.051, allocations: 0.9132 MB / 0.4947 GB, free: 1.297 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002076/1.053, allocations: 1.736 MB / 0.4964 GB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.018e-05/1.053, allocations: 40.53 kB / 0.4965 GB, free: 15.2 MB / 394.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007963/1.054, allocations: 107 kB / 0.4966 GB, free: 15.11 MB / 394.7 MB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/1.054, allocations: 0 / 0.4966 GB, free: 15.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=94): time 0.02982/1.084, allocations: 4.916 MB / 0.5014 GB, free: 11.17 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.392e-05/1.084, allocations: 115.8 kB / 0.5015 GB, free: 11.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00136/1.085, allocations: 0.661 MB / 0.5021 GB, free: 10.51 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002595/1.086, allocations: 45.52 kB / 0.5022 GB, free: 10.47 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004514/1.086, allocations: 0.4914 MB / 0.5026 GB, free: 10.08 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/1.087, allocations: 334.4 kB / 0.503 GB, free: 9.801 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/1.087, allocations: 29.25 kB / 0.503 GB, free: 9.793 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001939/1.087, allocations: 364.7 kB / 0.5033 GB, free: 9.449 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/1.089, allocations: 0.5862 MB / 0.5039 GB, free: 9.059 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002493/1.092, allocations: 0.9901 MB / 0.5049 GB, free: 8.121 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002492/1.094, allocations: 0.7848 MB / 0.5056 GB, free: 7.605 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.228e-05/1.094, allocations: 4 kB / 0.5057 GB, free: 7.602 MB / 394.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006345/1.1, allocations: 1.894 MB / 0.5075 GB, free: 6.277 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002327/1.103, allocations: 4.843 MB / 0.5122 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.202e-05/1.103, allocations: 12 kB / 0.5122 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002699/1.106, allocations: 321.9 kB / 0.5125 GB, free: 0.8633 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002313/1.108, allocations: 289.8 kB / 0.5128 GB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002756/1.111, allocations: 0.9211 MB / 0.5137 GB, free: 15.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/1.113, allocations: 115.5 kB / 0.5138 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002436/1.113, allocations: 79.84 kB / 0.5139 GB, free: 15.63 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/1.113, allocations: 4 kB / 0.5139 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006013/1.119, allocations: 1.818 MB / 0.5157 GB, free: 14.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.473e-05/1.119, allocations: 12 kB / 0.5157 GB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002501/1.122, allocations: 319.4 kB / 0.516 GB, free: 14.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002218/1.124, allocations: 286.9 kB / 0.5163 GB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00269/1.127, allocations: 0.9252 MB / 0.5172 GB, free: 13.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001732/1.128, allocations: 113.6 kB / 0.5173 GB, free: 12.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/1.129, allocations: 77.84 kB / 0.5174 GB, free: 12.89 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.0009376/1.13, allocations: 343.8 kB / 0.5177 GB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003428/1.13, allocations: 98.86 kB / 0.5178 GB, free: 12.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006543/1.137, allocations: 1.906 MB / 0.5196 GB, free: 11.2 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.751e-05/1.137, allocations: 12 kB / 0.5197 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.032e-05/1.137, allocations: 0 / 0.5197 GB, free: 11.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.095e-05/1.137, allocations: 11.88 kB / 0.5197 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.149, allocations: 3.246 MB / 0.5228 GB, free: 8.762 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/1.149, allocations: 7.984 kB / 0.5228 GB, free: 8.754 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/1.151, allocations: 184.9 kB / 0.523 GB, free: 8.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003125/1.154, allocations: 386.2 kB / 0.5234 GB, free: 8.258 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002723/1.155, allocations: 35.28 kB / 0.5234 GB, free: 8.238 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002389/1.157, allocations: 0.8901 MB / 0.5243 GB, free: 7.438 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.157, allocations: 3.938 kB / 0.5243 GB, free: 7.434 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007368/1.164, allocations: 2.38 MB / 0.5266 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009892/1.165, allocations: 331.7 kB / 0.5269 GB, free: 5.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003305/1.166, allocations: 24.12 kB / 0.527 GB, free: 5.402 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.167, allocations: 81.66 kB / 0.527 GB, free: 5.336 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/1.168, allocations: 76.56 kB / 0.5271 GB, free: 5.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000207/1.168, allocations: 56.34 kB / 0.5272 GB, free: 5.223 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001152/1.169, allocations: 0.5176 MB / 0.5277 GB, free: 4.836 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.169, allocations: 0 / 0.5277 GB, free: 4.836 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005019/1.174, allocations: 1.147 MB / 0.5288 GB, free: 3.785 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.004777/1.179, allocations: 1.123 MB / 0.5299 GB, free: 2.773 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008315/1.187, allocations: 2.597 MB / 0.5324 GB, free: 0.875 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.697e-05/1.187, allocations: 4 kB / 0.5324 GB, free: 0.8711 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00237/1.19, allocations: 0.7027 MB / 0.5331 GB, free: 404 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00389/1.194, allocations: 455.2 kB / 0.5336 GB, free: 32 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00898/1.203, allocations: 2.962 MB / 0.5364 GB, free: 13.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001052/1.204, allocations: 1.135 MB / 0.5376 GB, free: 12.22 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009654/1.205, allocations: 136.6 kB / 0.5377 GB, free: 12.09 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/1.205, allocations: 4 kB / 0.5377 GB, free: 12.09 MB / 426.7 MB Notification: Performance of Templates: time 0.07786/1.283, allocations: 32.45 MB / 0.5694 GB, free: 11.8 MB / 458.7 MB