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_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 225.8 MB / 238.8 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.132e-05/3.14e-05, allocations: 8.984 kB / 292.1 MB, free: 8.309 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 50.41 MB / 342.6 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 9.204/9.307, allocations: 3.553 GB / 3.887 GB, free: 97.2 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002305/9.307, allocations: 82.2 kB / 3.887 GB, free: 97.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.863/12.17, allocations: 0.5349 GB / 4.422 GB, free: 42.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.338e-06/12.17, allocations: 1.656 kB / 4.422 GB, free: 42.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.158e-05/12.17, allocations: 27.08 kB / 4.422 GB, free: 42.77 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.009913/12.18, allocations: 2.865 MB / 4.425 GB, free: 41 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/12.18, allocations: 11.53 kB / 4.425 GB, free: 41 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008457/12.18, allocations: 133 kB / 4.425 GB, free: 40.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002082/12.18, allocations: 0.7217 MB / 4.426 GB, free: 40.64 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001431/12.18, allocations: 129.8 kB / 4.426 GB, free: 40.58 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002518/12.18, allocations: 93.5 kB / 4.426 GB, free: 40.58 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003114/12.19, allocations: 1.408 MB / 4.427 GB, free: 40.34 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.178e-05/12.19, allocations: 3.938 kB / 4.427 GB, free: 40.34 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000185/12.19, allocations: 44.75 kB / 4.427 GB, free: 40.34 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001057/12.19, allocations: 67.88 kB / 4.428 GB, free: 40.33 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003281/12.19, allocations: 1.395 MB / 4.429 GB, free: 40.31 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.01151/12.2, allocations: 6.043 MB / 4.435 GB, free: 36.26 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002456/12.2, allocations: 0.948 MB / 4.436 GB, free: 35.9 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/12.21, allocations: 0.5018 MB / 4.436 GB, free: 35.71 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001493/12.21, allocations: 1.803 MB / 4.438 GB, free: 33.7 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/12.21, allocations: 54.3 kB / 4.438 GB, free: 33.65 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008493/12.21, allocations: 108.9 kB / 4.438 GB, free: 33.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=84): time 5.431e-06/12.21, allocations: 0 / 4.438 GB, free: 33.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.01966/12.23, allocations: 4.391 MB / 4.442 GB, free: 32.25 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.153e-05/12.23, allocations: 113.2 kB / 4.443 GB, free: 32.12 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/12.23, allocations: 0.6841 MB / 4.443 GB, free: 31.82 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002746/12.23, allocations: 55.58 kB / 4.443 GB, free: 31.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003063/12.23, allocations: 450.9 kB / 4.444 GB, free: 31.42 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003316/12.23, allocations: 340.2 kB / 4.444 GB, free: 31.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/12.23, allocations: 23.66 kB / 4.444 GB, free: 31.14 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001564/12.23, allocations: 408.3 kB / 4.444 GB, free: 30.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/12.23, allocations: 0.5548 MB / 4.445 GB, free: 30.5 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/12.23, allocations: 0.8834 MB / 4.446 GB, free: 29.55 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/12.23, allocations: 0.7334 MB / 4.447 GB, free: 28.92 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/12.23, allocations: 4 kB / 4.447 GB, free: 28.91 MB / 458.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004304/12.24, allocations: 1.741 MB / 4.448 GB, free: 27.34 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000853/12.24, allocations: 3.978 MB / 4.452 GB, free: 23.05 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/12.24, allocations: 8 kB / 4.452 GB, free: 23.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/12.24, allocations: 245.6 kB / 4.452 GB, free: 22.86 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/12.24, allocations: 270.8 kB / 4.453 GB, free: 22.63 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/12.24, allocations: 0.8074 MB / 4.453 GB, free: 21.83 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/12.25, allocations: 113.6 kB / 4.454 GB, free: 21.74 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000266/12.25, allocations: 74.56 kB / 4.454 GB, free: 21.68 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/12.25, allocations: 5.562 kB / 4.454 GB, free: 21.67 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00375/12.25, allocations: 1.631 MB / 4.455 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.753e-05/12.25, allocations: 8 kB / 4.455 GB, free: 20.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/12.25, allocations: 241.6 kB / 4.455 GB, free: 20.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/12.25, allocations: 273.4 kB / 4.456 GB, free: 19.79 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001005/12.25, allocations: 0.8219 MB / 4.456 GB, free: 18.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/12.26, allocations: 101.1 kB / 4.457 GB, free: 18.91 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002491/12.26, allocations: 79.36 kB / 4.457 GB, free: 18.84 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.0004533/12.26, allocations: 188.2 kB / 4.457 GB, free: 18.65 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003022/12.26, allocations: 98.88 kB / 4.457 GB, free: 18.55 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/12.26, allocations: 1.834 MB / 4.459 GB, free: 17.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.948e-05/12.26, allocations: 11.94 kB / 4.459 GB, free: 17 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.279e-06/12.26, allocations: 3.938 kB / 4.459 GB, free: 17 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.712e-05/12.26, allocations: 10.8 kB / 4.459 GB, free: 17 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006356/12.27, allocations: 2.969 MB / 4.462 GB, free: 14.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/12.27, allocations: 4 kB / 4.462 GB, free: 14.47 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001206/12.27, allocations: 183.9 kB / 4.462 GB, free: 14.32 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001531/12.27, allocations: 313.1 kB / 4.462 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002307/12.27, allocations: 34.47 kB / 4.462 GB, free: 14.06 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009335/12.27, allocations: 0.7802 MB / 4.463 GB, free: 13.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.678e-06/12.27, allocations: 4.031 kB / 4.463 GB, free: 13.29 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004439/12.28, allocations: 2.28 MB / 4.465 GB, free: 11.15 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009345/12.28, allocations: 336 kB / 4.465 GB, free: 10.85 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/12.28, allocations: 31.28 kB / 4.466 GB, free: 10.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001369/12.28, allocations: 89.91 kB / 4.466 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000176/12.28, allocations: 68.05 kB / 4.466 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002112/12.28, allocations: 55.16 kB / 4.466 GB, free: 10.66 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009118/12.28, allocations: 0.5364 MB / 4.466 GB, free: 10.18 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.043e-06/12.28, allocations: 0 / 4.466 GB, free: 10.18 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005238/12.29, allocations: 1.298 MB / 4.467 GB, free: 8.918 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.005481/12.29, allocations: 1.902 MB / 4.469 GB, free: 7.465 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.005195/12.3, allocations: 2.441 MB / 4.472 GB, free: 5.176 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.044e-05/12.3, allocations: 4.688 kB / 4.472 GB, free: 5.172 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001512/12.3, allocations: 0.6759 MB / 4.472 GB, free: 4.559 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003046/12.3, allocations: 0.5005 MB / 4.473 GB, free: 4.191 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005495/12.31, allocations: 2.005 MB / 4.475 GB, free: 2.414 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007172/12.31, allocations: 1.139 MB / 4.476 GB, free: 1.406 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003197/12.31, allocations: 0.7387 MB / 4.477 GB, free: 0.8789 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000504/12.31, allocations: 99.41 kB / 4.477 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of SimCode: time 2.223e-06/12.31, allocations: 3.938 kB / 4.477 GB, free: 0.7773 MB / 458.7 MB Notification: Performance of Templates: time 0.4212/12.73, allocations: 51.71 MB / 4.527 GB, free: 55.52 MB / 474.7 MB