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.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 1.962/1.962, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.956e-05/2.968e-05, allocations: 0 / 269.3 MB, free: 6.406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08685/0.0869, allocations: 47.57 MB / 316.9 MB, free: 6.746 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.869/8.956, allocations: 3.612 GB / 3.921 GB, free: 110.6 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002352/8.956, allocations: 86 kB / 3.921 GB, free: 110.6 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.731/11.69, allocations: 0.5516 GB / 4.473 GB, free: 37.4 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.353e-06/11.69, allocations: 0 / 4.473 GB, free: 37.4 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.548e-05/11.69, allocations: 23.19 kB / 4.473 GB, free: 37.39 MB / 442.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.0106/11.7, allocations: 2.992 MB / 4.476 GB, free: 35.87 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/11.7, allocations: 15.53 kB / 4.476 GB, free: 35.87 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008538/11.7, allocations: 129.2 kB / 4.476 GB, free: 35.82 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001983/11.7, allocations: 0.7199 MB / 4.477 GB, free: 35.54 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/11.7, allocations: 136.3 kB / 4.477 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002439/11.7, allocations: 89.39 kB / 4.477 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/11.7, allocations: 1.412 MB / 4.478 GB, free: 35.25 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/11.7, allocations: 0 / 4.478 GB, free: 35.25 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/11.7, allocations: 42.98 kB / 4.478 GB, free: 35.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000102/11.7, allocations: 70.2 kB / 4.478 GB, free: 35.24 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003297/11.71, allocations: 1.398 MB / 4.48 GB, free: 35.23 MB / 442.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.01161/11.72, allocations: 6.062 MB / 4.486 GB, free: 32.25 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002365/11.72, allocations: 0.9546 MB / 4.487 GB, free: 32.22 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/11.72, allocations: 0.5034 MB / 4.487 GB, free: 32.21 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/11.72, allocations: 1.742 MB / 4.489 GB, free: 30.34 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/11.72, allocations: 45.34 kB / 4.489 GB, free: 30.3 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007674/11.73, allocations: 108.4 kB / 4.489 GB, free: 30.25 MB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 5.166e-06/11.73, allocations: 0 / 4.489 GB, free: 30.25 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02077/11.75, allocations: 4.413 MB / 4.493 GB, free: 29.76 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/11.75, allocations: 110.8 kB / 4.493 GB, free: 29.64 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/11.75, allocations: 0.6815 MB / 4.494 GB, free: 29.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002709/11.75, allocations: 44.02 kB / 4.494 GB, free: 29.46 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003172/11.75, allocations: 453.6 kB / 4.495 GB, free: 29.23 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003482/11.75, allocations: 339.3 kB / 4.495 GB, free: 29.03 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001264/11.75, allocations: 25.72 kB / 4.495 GB, free: 29.03 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/11.75, allocations: 410 kB / 4.495 GB, free: 28.71 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001307/11.75, allocations: 0.5536 MB / 4.496 GB, free: 28.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/11.75, allocations: 0.8859 MB / 4.497 GB, free: 28.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00161/11.75, allocations: 0.7408 MB / 4.497 GB, free: 28.23 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.545e-06/11.75, allocations: 3.844 kB / 4.497 GB, free: 28.23 MB / 442.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004136/11.76, allocations: 1.75 MB / 4.499 GB, free: 28.01 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008406/11.76, allocations: 3.971 MB / 4.503 GB, free: 23.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.089e-05/11.76, allocations: 11.06 kB / 4.503 GB, free: 23.87 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001163/11.76, allocations: 253.1 kB / 4.503 GB, free: 23.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001679/11.76, allocations: 272.5 kB / 4.504 GB, free: 23.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001115/11.76, allocations: 0.8111 MB / 4.504 GB, free: 23.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/11.76, allocations: 114.3 kB / 4.504 GB, free: 23.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003793/11.77, allocations: 81.78 kB / 4.505 GB, free: 23.31 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/11.77, allocations: 3.969 kB / 4.505 GB, free: 23.31 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003946/11.77, allocations: 1.628 MB / 4.506 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.823e-05/11.77, allocations: 14.7 kB / 4.506 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001226/11.77, allocations: 246 kB / 4.506 GB, free: 23.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001598/11.77, allocations: 277.5 kB / 4.507 GB, free: 23.14 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/11.77, allocations: 0.8108 MB / 4.507 GB, free: 22.61 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/11.78, allocations: 109.9 kB / 4.508 GB, free: 22.61 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002782/11.78, allocations: 75.67 kB / 4.508 GB, free: 22.61 MB / 442.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.0004796/11.78, allocations: 185.9 kB / 4.508 GB, free: 22.47 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003139/11.78, allocations: 98.91 kB / 4.508 GB, free: 22.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004506/11.78, allocations: 1.797 MB / 4.51 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/11.78, allocations: 15.36 kB / 4.51 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.609e-06/11.78, allocations: 0 / 4.51 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.845e-05/11.78, allocations: 7.062 kB / 4.51 GB, free: 22.27 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006453/11.79, allocations: 2.86 MB / 4.512 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.091e-05/11.79, allocations: 2.938 kB / 4.512 GB, free: 21.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/11.79, allocations: 188.8 kB / 4.513 GB, free: 21.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001617/11.79, allocations: 325.3 kB / 4.513 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002532/11.79, allocations: 41.34 kB / 4.513 GB, free: 21.83 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000929/11.79, allocations: 0.7812 MB / 4.514 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.565e-06/11.79, allocations: 6.312 kB / 4.514 GB, free: 21.3 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004731/11.8, allocations: 2.269 MB / 4.516 GB, free: 20.81 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009931/11.8, allocations: 337.6 kB / 4.516 GB, free: 20.59 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002953/11.8, allocations: 23.06 kB / 4.516 GB, free: 20.57 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001381/11.8, allocations: 96.39 kB / 4.516 GB, free: 20.55 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001724/11.8, allocations: 72.38 kB / 4.516 GB, free: 20.54 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001851/11.8, allocations: 59.59 kB / 4.517 GB, free: 20.53 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009296/11.8, allocations: 0.537 MB / 4.517 GB, free: 20.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.5e-07/11.8, allocations: 0 / 4.517 GB, free: 20.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005543/11.81, allocations: 1.351 MB / 4.518 GB, free: 19.93 MB / 442.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 (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.006227/11.81, allocations: 2.055 MB / 4.52 GB, free: 19.38 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00559/11.82, allocations: 2.446 MB / 4.523 GB, free: 18.36 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/11.82, allocations: 3.812 kB / 4.523 GB, free: 18.36 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001686/11.82, allocations: 0.6754 MB / 4.523 GB, free: 18.13 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003389/11.82, allocations: 491.9 kB / 4.524 GB, free: 18.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005583/11.83, allocations: 2.015 MB / 4.526 GB, free: 17.32 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007385/11.83, allocations: 1.142 MB / 4.527 GB, free: 16.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003558/11.83, allocations: 0.6738 MB / 4.528 GB, free: 16.48 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005585/11.83, allocations: 115.1 kB / 4.528 GB, free: 16.46 MB / 442.7 MB Notification: Performance of SimCode: time 1.725e-06/11.83, allocations: 0 / 4.528 GB, free: 16.46 MB / 442.7 MB Notification: Performance of Templates: time 0.3945/12.23, allocations: 53.1 MB / 4.58 GB, free: 52.95 MB / 458.7 MB