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.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 1.653/1.653, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.274e-05, allocations: 4 kB / 225 MB, free: 2.352 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2157/0.2157, allocations: 38.77 MB / 263.8 MB, free: 9.832 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.549/8.765, allocations: 3.66 GB / 3.918 GB, free: 81.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002465/8.765, allocations: 82.75 kB / 3.918 GB, free: 81.36 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.773/11.54, allocations: 0.5462 GB / 4.464 GB, free: 26.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.646e-06/11.54, allocations: 0 / 4.464 GB, free: 26.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.198e-05/11.54, allocations: 27.98 kB / 4.464 GB, free: 26.16 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.01047/11.55, allocations: 2.99 MB / 4.467 GB, free: 24.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/11.55, allocations: 11.17 kB / 4.467 GB, free: 24.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009088/11.55, allocations: 120.6 kB / 4.467 GB, free: 24.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002188/11.55, allocations: 0.7328 MB / 4.468 GB, free: 24.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001722/11.55, allocations: 129.7 kB / 4.468 GB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003378/11.55, allocations: 89.2 kB / 4.468 GB, free: 24.29 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003105/11.56, allocations: 1.414 MB / 4.469 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.499e-05/11.56, allocations: 9.562 kB / 4.469 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001992/11.56, allocations: 38.25 kB / 4.469 GB, free: 24.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001152/11.56, allocations: 69.8 kB / 4.469 GB, free: 24.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003311/11.56, allocations: 1.402 MB / 4.471 GB, free: 24.05 MB / 378.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01205/11.57, allocations: 5.77 MB / 4.476 GB, free: 21.36 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002208/11.57, allocations: 0.8735 MB / 4.477 GB, free: 21.33 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001003/11.58, allocations: 486 kB / 4.478 GB, free: 21.32 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001485/11.58, allocations: 1.747 MB / 4.479 GB, free: 19.45 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.895e-05/11.58, allocations: 50.12 kB / 4.479 GB, free: 19.41 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008358/11.58, allocations: 98.62 kB / 4.479 GB, free: 19.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 5.572e-06/11.58, allocations: 5.188 kB / 4.479 GB, free: 19.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.02022/11.6, allocations: 4.301 MB / 4.484 GB, free: 18.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/11.6, allocations: 114.8 kB / 4.484 GB, free: 18.76 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001187/11.6, allocations: 0.6528 MB / 4.484 GB, free: 18.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000261/11.6, allocations: 46.58 kB / 4.484 GB, free: 18.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003235/11.6, allocations: 469.8 kB / 4.485 GB, free: 18.33 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003636/11.6, allocations: 336.8 kB / 4.485 GB, free: 18.12 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/11.6, allocations: 27.31 kB / 4.485 GB, free: 18.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001562/11.6, allocations: 403.5 kB / 4.486 GB, free: 17.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001189/11.6, allocations: 0.5367 MB / 4.486 GB, free: 17.8 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/11.6, allocations: 0.9138 MB / 4.487 GB, free: 17.35 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/11.6, allocations: 0.7399 MB / 4.488 GB, free: 17.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/11.6, allocations: 3.781 kB / 4.488 GB, free: 17.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004289/11.61, allocations: 1.742 MB / 4.489 GB, free: 17.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00102/11.61, allocations: 4.762 MB / 4.494 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.84e-05/11.61, allocations: 16.53 kB / 4.494 GB, free: 12.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/11.61, allocations: 242.6 kB / 4.494 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001876/11.61, allocations: 282.8 kB / 4.495 GB, free: 12.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001572/11.61, allocations: 0.8205 MB / 4.495 GB, free: 27.62 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/11.62, allocations: 113.7 kB / 4.496 GB, free: 27.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003797/11.62, allocations: 88.08 kB / 4.496 GB, free: 27.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/11.62, allocations: 3.188 kB / 4.496 GB, free: 27.61 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004027/11.62, allocations: 1.633 MB / 4.497 GB, free: 27.52 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.43e-05/11.62, allocations: 15.06 kB / 4.497 GB, free: 27.52 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001168/11.62, allocations: 246 kB / 4.498 GB, free: 27.51 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001654/11.62, allocations: 290.4 kB / 4.498 GB, free: 27.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00119/11.63, allocations: 0.8186 MB / 4.499 GB, free: 26.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/11.63, allocations: 111.7 kB / 4.499 GB, free: 26.98 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003406/11.63, allocations: 84.75 kB / 4.499 GB, free: 26.98 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (153): * Single equations (assignments): 150 * 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.0005082/11.63, allocations: 182.9 kB / 4.499 GB, free: 26.86 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003161/11.63, allocations: 98.14 kB / 4.499 GB, free: 26.81 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004283/11.63, allocations: 1.739 MB / 4.501 GB, free: 26.67 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.329e-05/11.63, allocations: 19.09 kB / 4.501 GB, free: 26.66 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.119e-06/11.63, allocations: 0 / 4.501 GB, free: 26.66 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-05/11.63, allocations: 5.625 kB / 4.501 GB, free: 26.66 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006149/11.64, allocations: 2.755 MB / 4.503 GB, free: 26.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.174e-05/11.64, allocations: 3.375 kB / 4.503 GB, free: 26.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/11.64, allocations: 181.9 kB / 4.504 GB, free: 26.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001822/11.64, allocations: 310.2 kB / 4.504 GB, free: 26.24 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002285/11.64, allocations: 45.59 kB / 4.504 GB, free: 26.24 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/11.64, allocations: 0.7787 MB / 4.505 GB, free: 25.72 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.194e-06/11.64, allocations: 2.344 kB / 4.505 GB, free: 25.72 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004598/11.65, allocations: 2.176 MB / 4.507 GB, free: 25.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009033/11.65, allocations: 324.6 kB / 4.507 GB, free: 25.2 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002923/11.65, allocations: 25.22 kB / 4.507 GB, free: 25.2 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/11.65, allocations: 87.88 kB / 4.507 GB, free: 25.19 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001615/11.65, allocations: 73.86 kB / 4.507 GB, free: 25.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001773/11.65, allocations: 59.36 kB / 4.507 GB, free: 25.18 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0009475/11.65, allocations: 0.5117 MB / 4.508 GB, free: 25.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.23e-07/11.65, allocations: 1.719 kB / 4.508 GB, free: 25.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005718/11.66, allocations: 1.337 MB / 4.509 GB, free: 24.85 MB / 394.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.006176/11.66, allocations: 2.051 MB / 4.511 GB, free: 24.36 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00554/11.67, allocations: 2.407 MB / 4.514 GB, free: 24.02 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.026e-05/11.67, allocations: 0 / 4.514 GB, free: 24.02 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001547/11.67, allocations: 0.6479 MB / 4.514 GB, free: 23.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/11.67, allocations: 460 kB / 4.515 GB, free: 23.97 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005947/11.68, allocations: 1.983 MB / 4.517 GB, free: 23.59 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001015/11.68, allocations: 1.139 MB / 4.518 GB, free: 22.88 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00357/11.69, allocations: 0.6591 MB / 4.518 GB, free: 22.84 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000611/11.69, allocations: 113.9 kB / 4.518 GB, free: 22.83 MB / 394.7 MB Notification: Performance of SimCode: time 1.824e-06/11.69, allocations: 0 / 4.518 GB, free: 22.83 MB / 394.7 MB Notification: Performance of Templates: time 0.386/12.07, allocations: 51.56 MB / 4.569 GB, free: 41.68 MB / 394.7 MB