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_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 225.8 MB / 239.4 MB, free: 1.254 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.764e-05/2.778e-05, allocations: 0 / 292.6 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09077/0.09083, allocations: 50.42 MB / 343.1 MB, free: 9.074 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.881/8.972, allocations: 3.552 GB / 3.887 GB, free: 96.04 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002395/8.972, allocations: 86.64 kB / 3.888 GB, free: 96 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.638/11.61, allocations: 0.5349 GB / 4.422 GB, free: 41.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.615e-06/11.61, allocations: 0 / 4.422 GB, free: 41.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.328e-05/11.61, allocations: 26.16 kB / 4.422 GB, free: 41.91 MB / 458.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.009741/11.62, allocations: 2.854 MB / 4.425 GB, free: 40.14 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.427e-05/11.62, allocations: 12.33 kB / 4.425 GB, free: 40.14 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008091/11.62, allocations: 130 kB / 4.425 GB, free: 40.09 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/11.62, allocations: 0.7242 MB / 4.426 GB, free: 39.78 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/11.62, allocations: 133 kB / 4.426 GB, free: 39.72 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002689/11.62, allocations: 89.95 kB / 4.426 GB, free: 39.72 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003083/11.63, allocations: 1.412 MB / 4.428 GB, free: 39.48 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/11.63, allocations: 3.344 kB / 4.428 GB, free: 39.48 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001942/11.63, allocations: 41.64 kB / 4.428 GB, free: 39.48 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001073/11.63, allocations: 68.2 kB / 4.428 GB, free: 39.47 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00309/11.63, allocations: 1.392 MB / 4.429 GB, free: 39.46 MB / 458.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.01187/11.64, allocations: 6.046 MB / 4.435 GB, free: 36.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/11.64, allocations: 0.9458 MB / 4.436 GB, free: 35.79 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001081/11.65, allocations: 0.5065 MB / 4.436 GB, free: 35.59 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001475/11.65, allocations: 1.805 MB / 4.438 GB, free: 33.59 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/11.65, allocations: 45.28 kB / 4.438 GB, free: 33.54 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008566/11.65, allocations: 112.7 kB / 4.438 GB, free: 33.47 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 6.352e-06/11.65, allocations: 0 / 4.438 GB, free: 33.47 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.02017/11.67, allocations: 4.394 MB / 4.443 GB, free: 32.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.296e-05/11.67, allocations: 114.9 kB / 4.443 GB, free: 32 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00118/11.67, allocations: 0.6878 MB / 4.443 GB, free: 31.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002626/11.67, allocations: 42.27 kB / 4.444 GB, free: 31.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002977/11.67, allocations: 453 kB / 4.444 GB, free: 31.3 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003325/11.67, allocations: 350.7 kB / 4.444 GB, free: 31.04 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000111/11.67, allocations: 22.28 kB / 4.444 GB, free: 31.03 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001503/11.67, allocations: 404.2 kB / 4.445 GB, free: 30.67 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/11.67, allocations: 0.5556 MB / 4.445 GB, free: 30.46 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001399/11.67, allocations: 0.8869 MB / 4.446 GB, free: 29.84 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001484/11.67, allocations: 0.7329 MB / 4.447 GB, free: 29.54 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.144e-06/11.68, allocations: 3.594 kB / 4.447 GB, free: 29.54 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004124/11.68, allocations: 1.742 MB / 4.449 GB, free: 28.05 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008339/11.68, allocations: 3.977 MB / 4.452 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/11.68, allocations: 8 kB / 4.452 GB, free: 23.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/11.68, allocations: 244.8 kB / 4.453 GB, free: 23.61 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001626/11.68, allocations: 269.3 kB / 4.453 GB, free: 23.39 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001013/11.68, allocations: 0.8187 MB / 4.454 GB, free: 22.59 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001774/11.69, allocations: 105.1 kB / 4.454 GB, free: 22.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/11.69, allocations: 74.08 kB / 4.454 GB, free: 22.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.299e-05/11.69, allocations: 4 kB / 4.454 GB, free: 22.43 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003528/11.69, allocations: 1.63 MB / 4.455 GB, free: 20.98 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.944e-05/11.69, allocations: 8.906 kB / 4.455 GB, free: 20.97 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001087/11.69, allocations: 252.4 kB / 4.456 GB, free: 20.77 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001517/11.69, allocations: 271.5 kB / 4.456 GB, free: 20.55 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009908/11.69, allocations: 0.817 MB / 4.457 GB, free: 19.74 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/11.69, allocations: 108 kB / 4.457 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002228/11.7, allocations: 65.89 kB / 4.457 GB, free: 19.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (147): * Single equations (assignments): 144 * 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.0004371/11.7, allocations: 191.9 kB / 4.457 GB, free: 19.41 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/11.7, allocations: 102.9 kB / 4.457 GB, free: 19.31 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003884/11.7, allocations: 1.822 MB / 4.459 GB, free: 17.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/11.7, allocations: 19.41 kB / 4.459 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.229e-06/11.7, allocations: 3.656 kB / 4.459 GB, free: 17.76 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.572e-05/11.7, allocations: 11.89 kB / 4.459 GB, free: 17.75 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005903/11.71, allocations: 2.964 MB / 4.462 GB, free: 15.24 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/11.71, allocations: 4 kB / 4.462 GB, free: 15.23 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/11.71, allocations: 181.1 kB / 4.462 GB, free: 15.09 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001503/11.71, allocations: 303.7 kB / 4.462 GB, free: 14.86 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001788/11.71, allocations: 38.66 kB / 4.462 GB, free: 14.83 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000896/11.71, allocations: 0.7909 MB / 4.463 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.718e-06/11.71, allocations: 4.031 kB / 4.463 GB, free: 14.05 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004171/11.71, allocations: 2.277 MB / 4.465 GB, free: 11.91 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000882/11.71, allocations: 333.9 kB / 4.466 GB, free: 11.61 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002377/11.72, allocations: 28 kB / 4.466 GB, free: 11.58 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/11.72, allocations: 91.53 kB / 4.466 GB, free: 11.51 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001507/11.72, allocations: 74.2 kB / 4.466 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001832/11.72, allocations: 52.91 kB / 4.466 GB, free: 11.42 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008647/11.72, allocations: 0.5375 MB / 4.466 GB, free: 10.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.77e-07/11.72, allocations: 0 / 4.466 GB, free: 10.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004641/11.72, allocations: 1.302 MB / 4.468 GB, free: 9.668 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (99): * Single equations (assignments): 96 * 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.004894/11.73, allocations: 1.906 MB / 4.47 GB, free: 8.227 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004903/11.73, allocations: 2.44 MB / 4.472 GB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.617e-06/11.73, allocations: 448 / 4.472 GB, free: 5.941 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/11.73, allocations: 0.6797 MB / 4.473 GB, free: 5.324 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002819/11.74, allocations: 0.4902 MB / 4.473 GB, free: 4.961 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005309/11.74, allocations: 2.005 MB / 4.475 GB, free: 3.18 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006959/11.74, allocations: 1.144 MB / 4.476 GB, free: 2.168 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003099/11.75, allocations: 0.7484 MB / 4.477 GB, free: 1.668 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/11.75, allocations: 98.27 kB / 4.477 GB, free: 1.582 MB / 458.7 MB Notification: Performance of SimCode: time 1.732e-06/11.75, allocations: 0 / 4.477 GB, free: 1.582 MB / 458.7 MB Notification: Performance of Templates: time 0.4089/12.15, allocations: 51.7 MB / 4.528 GB, free: 53.35 MB / 474.7 MB