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.804/1.804, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.122e-05, allocations: 4 kB / 255.4 MB, free: 2.719 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07778/0.07783, allocations: 44.5 MB / 299.9 MB, free: 6.16 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.379/8.457, allocations: 3.666 GB / 3.959 GB, free: 138.1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/8.457, allocations: 86.39 kB / 3.959 GB, free: 138.1 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.652/11.11, allocations: 0.5498 GB / 4.508 GB, free: 38.13 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.992e-06/11.11, allocations: 0 / 4.508 GB, free: 38.13 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.303e-05/11.11, allocations: 25.73 kB / 4.508 GB, free: 38.12 MB / 426.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.009935/11.12, allocations: 2.985 MB / 4.511 GB, free: 36.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.091e-05/11.12, allocations: 10.78 kB / 4.511 GB, free: 36.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007601/11.12, allocations: 127.2 kB / 4.511 GB, free: 36.54 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001909/11.12, allocations: 0.7317 MB / 4.512 GB, free: 36.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001318/11.12, allocations: 131.9 kB / 4.512 GB, free: 36.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002485/11.12, allocations: 91.31 kB / 4.512 GB, free: 36.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003013/11.13, allocations: 1.407 MB / 4.514 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.792e-05/11.13, allocations: 4.594 kB / 4.514 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000174/11.13, allocations: 42.16 kB / 4.514 GB, free: 35.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001047/11.13, allocations: 65.55 kB / 4.514 GB, free: 35.97 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002897/11.13, allocations: 1.392 MB / 4.515 GB, free: 35.97 MB / 426.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.0112/11.14, allocations: 6.047 MB / 4.521 GB, free: 32.95 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00276/11.14, allocations: 0.8703 MB / 4.522 GB, free: 32.92 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002076/11.15, allocations: 491.3 kB / 4.522 GB, free: 32.91 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002496/11.15, allocations: 1.745 MB / 4.524 GB, free: 31.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.503e-05/11.15, allocations: 56.47 kB / 4.524 GB, free: 30.99 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008438/11.15, allocations: 104.4 kB / 4.524 GB, free: 30.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.839e-06/11.15, allocations: 3.281 kB / 4.524 GB, free: 30.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.01965/11.17, allocations: 4.301 MB / 4.528 GB, free: 30.45 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/11.17, allocations: 111 kB / 4.529 GB, free: 30.32 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00115/11.17, allocations: 0.6546 MB / 4.529 GB, free: 30.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002394/11.17, allocations: 44.17 kB / 4.529 GB, free: 30.14 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003015/11.17, allocations: 469.7 kB / 4.53 GB, free: 29.89 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003118/11.17, allocations: 335 kB / 4.53 GB, free: 29.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/11.17, allocations: 27.31 kB / 4.53 GB, free: 29.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001502/11.17, allocations: 398 kB / 4.53 GB, free: 29.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001201/11.17, allocations: 0.5374 MB / 4.531 GB, free: 29.38 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001417/11.17, allocations: 0.9216 MB / 4.532 GB, free: 28.91 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001594/11.18, allocations: 0.7283 MB / 4.533 GB, free: 28.83 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/11.18, allocations: 5.25 kB / 4.533 GB, free: 28.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004287/11.18, allocations: 1.747 MB / 4.534 GB, free: 28.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009979/11.18, allocations: 4.753 MB / 4.539 GB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.742e-05/11.18, allocations: 15.72 kB / 4.539 GB, free: 23.64 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001194/11.18, allocations: 254.4 kB / 4.539 GB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001738/11.18, allocations: 287.2 kB / 4.539 GB, free: 23.61 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001131/11.18, allocations: 0.8268 MB / 4.54 GB, free: 23.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00191/11.19, allocations: 112.1 kB / 4.54 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002895/11.19, allocations: 84.52 kB / 4.54 GB, free: 23.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/11.19, allocations: 3.844 kB / 4.54 GB, free: 23.06 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003783/11.19, allocations: 1.63 MB / 4.542 GB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/11.19, allocations: 10.34 kB / 4.542 GB, free: 22.91 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/11.19, allocations: 245.2 kB / 4.542 GB, free: 22.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00183/11.19, allocations: 289.2 kB / 4.543 GB, free: 22.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/11.2, allocations: 0.8153 MB / 4.543 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001826/11.2, allocations: 119.6 kB / 4.543 GB, free: 22.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002623/11.2, allocations: 78.03 kB / 4.544 GB, free: 22.34 MB / 426.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.0004561/11.2, allocations: 192.1 kB / 4.544 GB, free: 22.21 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003184/11.2, allocations: 95.47 kB / 4.544 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004058/11.2, allocations: 1.726 MB / 4.546 GB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/11.2, allocations: 12.56 kB / 4.546 GB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.943e-06/11.2, allocations: 0 / 4.546 GB, free: 22.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.76e-05/11.2, allocations: 10.42 kB / 4.546 GB, free: 22 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005974/11.21, allocations: 2.762 MB / 4.548 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/11.21, allocations: 8.938 kB / 4.548 GB, free: 21.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001219/11.21, allocations: 184.4 kB / 4.548 GB, free: 21.59 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001735/11.21, allocations: 314.6 kB / 4.549 GB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001571/11.21, allocations: 38.25 kB / 4.549 GB, free: 21.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009476/11.21, allocations: 0.7789 MB / 4.55 GB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.079e-06/11.21, allocations: 7.078 kB / 4.55 GB, free: 21.05 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004346/11.22, allocations: 2.172 MB / 4.552 GB, free: 20.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008557/11.22, allocations: 321.7 kB / 4.552 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002833/11.22, allocations: 30.42 kB / 4.552 GB, free: 20.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001398/11.22, allocations: 77.27 kB / 4.552 GB, free: 20.01 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001518/11.22, allocations: 68.11 kB / 4.552 GB, free: 20 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001753/11.22, allocations: 64.89 kB / 4.552 GB, free: 19.99 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008989/11.22, allocations: 0.5055 MB / 4.553 GB, free: 19.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.077e-06/11.22, allocations: 0 / 4.553 GB, free: 19.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005353/11.23, allocations: 1.346 MB / 4.554 GB, free: 19.39 MB / 426.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.00575/11.23, allocations: 2.05 MB / 4.556 GB, free: 18.84 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005139/11.24, allocations: 2.408 MB / 4.558 GB, free: 17.84 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.082e-06/11.24, allocations: 6.125 kB / 4.558 GB, free: 17.84 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001492/11.24, allocations: 0.6365 MB / 4.559 GB, free: 17.63 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002987/11.24, allocations: 474.2 kB / 4.559 GB, free: 17.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005593/11.25, allocations: 1.973 MB / 4.561 GB, free: 16.77 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007228/11.25, allocations: 1.131 MB / 4.562 GB, free: 16.03 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003437/11.25, allocations: 0.6628 MB / 4.563 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005184/11.25, allocations: 108 kB / 4.563 GB, free: 15.92 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/11.25, allocations: 0 / 4.563 GB, free: 15.92 MB / 426.7 MB Notification: Performance of Templates: time 0.3755/11.63, allocations: 51.58 MB / 4.614 GB, free: 53.45 MB / 442.7 MB