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_cpp_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 1.776/1.776, allocations: 171.2 MB / 186.3 MB, free: 1.406 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.848e-05, allocations: 3.984 kB / 228.1 MB, free: 7.996 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09822/0.09827, allocations: 38.77 MB / 266.9 MB, free: 1.141 MB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.5344/0.6327, allocations: 159.9 MB / 426.8 MB, free: 2.637 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0262/0.659, allocations: 12.46 MB / 439.2 MB, free: 6.148 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001193/0.6602, allocations: 31.75 kB / 439.3 MB, free: 6.117 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001466/0.6617, allocations: 342.2 kB / 439.6 MB, free: 5.781 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009874/0.6716, allocations: 2.29 MB / 441.9 MB, free: 3.484 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006765/0.6784, allocations: 1.656 MB / 443.5 MB, free: 1.824 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002912/0.6813, allocations: 1.104 MB / 444.6 MB, free: 0.7148 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001425/0.6828, allocations: 0.5511 MB / 445.2 MB, free: 168 kB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3847/1.068, allocations: 1.856 MB / 447.1 MB, free: 2.738 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002462/1.07, allocations: 0.7019 MB / 447.8 MB, free: 2.734 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01526/1.085, allocations: 5.295 MB / 453.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002655/1.088, allocations: 218.6 kB / 453.3 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001341/1.09, allocations: 442.2 kB / 453.7 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000796/1.09, allocations: 124.2 kB / 453.8 MB, free: 2.73 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008791/1.099, allocations: 2.988 MB / 456.8 MB, free: 2.512 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/1.099, allocations: 1.688 kB / 456.8 MB, free: 2.512 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.095e-06/1.099, allocations: 0 / 456.8 MB, free: 2.512 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.692e-05/1.099, allocations: 0 / 456.8 MB, free: 2.512 MB / 362.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.007068/1.106, allocations: 1.757 MB / 458.6 MB, free: 17.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/1.106, allocations: 14.03 kB / 458.6 MB, free: 17.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000922/1.107, allocations: 130 kB / 458.7 MB, free: 17.45 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002077/1.109, allocations: 0.672 MB / 459.4 MB, free: 17.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001873/1.11, allocations: 134.7 kB / 459.5 MB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002919/1.11, allocations: 87.5 kB / 459.6 MB, free: 17.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004051/1.114, allocations: 1.447 MB / 461 MB, free: 16.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.186e-05/1.114, allocations: 8.844 kB / 461 MB, free: 16.9 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002189/1.114, allocations: 39.78 kB / 461.1 MB, free: 16.9 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001506/1.115, allocations: 76.86 kB / 461.2 MB, free: 16.89 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004348/1.119, allocations: 1.462 MB / 462.6 MB, free: 16.89 MB / 378.7 MB Warning: The model contains alias variables with redundant start and/or conflicting 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.01494/1.134, allocations: 6.126 MB / 468.8 MB, free: 13.81 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003015/1.137, allocations: 0.919 MB / 469.7 MB, free: 13.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002055/1.139, allocations: 1.731 MB / 471.4 MB, free: 11.89 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.381e-05/1.139, allocations: 46.66 kB / 471.4 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008886/1.14, allocations: 103.3 kB / 471.5 MB, free: 11.8 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.258e-06/1.14, allocations: 3.938 kB / 471.6 MB, free: 11.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.02997/1.17, allocations: 4.907 MB / 476.5 MB, free: 11.15 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.214e-05/1.17, allocations: 117.8 kB / 476.6 MB, free: 11.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/1.172, allocations: 0.6569 MB / 477.2 MB, free: 10.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003869/1.172, allocations: 45.39 kB / 477.3 MB, free: 10.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/1.172, allocations: 0.4893 MB / 477.8 MB, free: 10.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004129/1.173, allocations: 336.5 kB / 478.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/1.173, allocations: 29.56 kB / 478.1 MB, free: 10.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001718/1.173, allocations: 363.5 kB / 478.5 MB, free: 10.01 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002088/1.175, allocations: 0.5876 MB / 479.1 MB, free: 10.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002439/1.178, allocations: 0.9896 MB / 480.1 MB, free: 9.531 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002464/1.18, allocations: 0.7819 MB / 480.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/1.18, allocations: 6.375 kB / 480.8 MB, free: 9.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006433/1.187, allocations: 1.886 MB / 482.7 MB, free: 9.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002003/1.189, allocations: 4.843 MB / 487.6 MB, free: 4.141 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.696e-05/1.189, allocations: 20.69 kB / 487.6 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002663/1.192, allocations: 319.3 kB / 487.9 MB, free: 4.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002414/1.194, allocations: 287.6 kB / 488.2 MB, free: 4.004 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002716/1.197, allocations: 0.9205 MB / 489.1 MB, free: 3.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/1.199, allocations: 113.9 kB / 489.2 MB, free: 3.375 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002898/1.199, allocations: 82.97 kB / 489.3 MB, free: 3.367 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.2, allocations: 3.5 kB / 489.3 MB, free: 3.367 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006268/1.206, allocations: 1.813 MB / 491.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.294e-05/1.206, allocations: 13.38 kB / 491.1 MB, free: 3.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00253/1.208, allocations: 326.5 kB / 491.4 MB, free: 2.945 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/1.211, allocations: 285 kB / 491.7 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002661/1.214, allocations: 0.9368 MB / 492.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001975/1.216, allocations: 104.5 kB / 492.8 MB, free: 2.281 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002716/1.216, allocations: 81.75 kB / 492.8 MB, free: 2.273 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (154): * Single equations (assignments): 151 * 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.001032/1.217, allocations: 347.8 kB / 493.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003633/1.217, allocations: 98.2 kB / 493.3 MB, free: 2.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006571/1.224, allocations: 1.907 MB / 495.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/1.224, allocations: 9.531 kB / 495.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.224, allocations: 0 / 495.2 MB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.513e-05/1.224, allocations: 11.81 kB / 495.2 MB, free: 1.555 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.237, allocations: 3.258 MB / 498.5 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.289e-05/1.237, allocations: 2.062 kB / 498.5 MB, free: 480 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001761/1.238, allocations: 181.4 kB / 498.6 MB, free: 456 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003033/1.242, allocations: 384.4 kB / 499 MB, free: 328 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002461/1.242, allocations: 40.38 kB / 499.1 MB, free: 316 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002435/1.244, allocations: 0.8956 MB / 500 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/1.244, allocations: 0 / 500 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007309/1.252, allocations: 2.369 MB / 0.4905 GB, free: 13.78 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/1.253, allocations: 337.5 kB / 0.4909 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003428/1.253, allocations: 23.25 kB / 0.4909 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001684/1.255, allocations: 77 kB / 0.491 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002098/1.255, allocations: 71.72 kB / 0.491 GB, free: 13.38 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002054/1.255, allocations: 58.58 kB / 0.4911 GB, free: 13.32 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001076/1.256, allocations: 0.5153 MB / 0.4916 GB, free: 12.94 MB / 394.7 MB Notification: Performance of sort global known variables: time 4e-07/1.256, allocations: 0 / 0.4916 GB, free: 12.94 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005059/1.261, allocations: 1.151 MB / 0.4927 GB, free: 11.89 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.004928/1.266, allocations: 1.119 MB / 0.4938 GB, free: 10.89 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008963/1.275, allocations: 2.608 MB / 0.4964 GB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.072e-05/1.275, allocations: 0 / 0.4964 GB, free: 8.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002536/1.278, allocations: 0.7081 MB / 0.497 GB, free: 8.5 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004415/1.282, allocations: 472.8 kB / 0.4975 GB, free: 8.125 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/1.293, allocations: 2.955 MB / 0.5004 GB, free: 5.453 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.294, allocations: 1.143 MB / 0.5015 GB, free: 4.312 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001084/1.295, allocations: 149.2 kB / 0.5016 GB, free: 4.18 MB / 394.7 MB Notification: Performance of SimCode: time 1.182e-06/1.295, allocations: 0 / 0.5016 GB, free: 4.18 MB / 394.7 MB Notification: Performance of Templates: time 0.0775/1.372, allocations: 32.42 MB / 0.5333 GB, free: 4.027 MB / 426.7 MB