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_Modelica.Fluid.Examples.TraceSubstances.RoomCO2") Notification: Performance of loadModel(Modelica): time 1.673/1.673, allocations: 171.2 MB / 185.7 MB, free: 1.395 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.527e-05/2.515e-05, allocations: 0 / 228.1 MB, free: 7.332 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07921/0.07925, allocations: 38.77 MB / 266.9 MB, free: 492 kB / 218.7 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.TraceSubstances.RoomCO2): time 0.4958/0.5751, allocations: 159.9 MB / 426.8 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02477/0.5999, allocations: 12.46 MB / 439.3 MB, free: 5.574 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001129/0.6011, allocations: 31.75 kB / 439.3 MB, free: 5.543 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.6023, allocations: 346.2 kB / 439.6 MB, free: 5.203 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008992/0.6113, allocations: 2.302 MB / 441.9 MB, free: 2.895 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006414/0.6178, allocations: 1.629 MB / 443.6 MB, free: 1.262 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.002664/0.6205, allocations: 1.115 MB / 444.7 MB, free: 144 kB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.298/0.9185, allocations: 0.546 MB / 445.2 MB, free: 2.609 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006792/0.9253, allocations: 1.863 MB / 447.1 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002347/0.9277, allocations: 0.6999 MB / 447.8 MB, free: 2.586 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01478/0.9426, allocations: 5.299 MB / 453.1 MB, free: 2.582 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002388/0.945, allocations: 217.7 kB / 453.3 MB, free: 2.582 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00108/0.9461, allocations: 438.7 kB / 453.7 MB, free: 2.578 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006126/0.9468, allocations: 125.2 kB / 453.8 MB, free: 2.578 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008333/0.9551, allocations: 2.984 MB / 456.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.9552, allocations: 2.531 kB / 456.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.9552, allocations: 0 / 456.8 MB, free: 2.363 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.051e-05/0.9552, allocations: 0 / 456.8 MB, free: 2.363 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.006835/0.9621, allocations: 1.758 MB / 458.6 MB, free: 17.36 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.9622, allocations: 13.47 kB / 458.6 MB, free: 17.36 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009708/0.9631, allocations: 126.5 kB / 458.7 MB, free: 17.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002073/0.9652, allocations: 0.6719 MB / 459.4 MB, free: 17.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001803/0.9654, allocations: 138.7 kB / 459.5 MB, free: 16.97 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002981/0.9658, allocations: 93.16 kB / 459.6 MB, free: 16.96 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004071/0.9698, allocations: 1.441 MB / 461.1 MB, free: 16.75 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.9699, allocations: 8.891 kB / 461.1 MB, free: 16.75 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002694/0.9702, allocations: 41.66 kB / 461.1 MB, free: 16.75 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002381/0.9705, allocations: 72 kB / 461.2 MB, free: 16.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004841/0.9753, allocations: 1.467 MB / 462.7 MB, free: 16.74 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.01527/0.9907, allocations: 6.125 MB / 468.8 MB, free: 13.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00294/0.9937, allocations: 0.9107 MB / 469.7 MB, free: 13.62 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001957/0.9957, allocations: 1.737 MB / 471.4 MB, free: 11.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/0.9958, allocations: 47.28 kB / 471.5 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008948/0.9967, allocations: 103.2 kB / 471.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.588e-06/0.9967, allocations: 0 / 471.6 MB, free: 11.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.02922/1.026, allocations: 4.92 MB / 476.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.984e-05/1.026, allocations: 113.1 kB / 476.6 MB, free: 10.87 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001257/1.027, allocations: 0.65 MB / 477.3 MB, free: 10.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003229/1.028, allocations: 45.73 kB / 477.3 MB, free: 10.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/1.028, allocations: 479.5 kB / 477.8 MB, free: 10.44 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004609/1.029, allocations: 338.7 kB / 478.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/1.029, allocations: 28.53 kB / 478.1 MB, free: 10.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002328/1.029, allocations: 402.2 kB / 478.5 MB, free: 9.914 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001986/1.031, allocations: 0.5924 MB / 479.1 MB, free: 9.91 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002478/1.033, allocations: 0.9889 MB / 480.1 MB, free: 9.383 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002465/1.036, allocations: 0.7852 MB / 480.9 MB, free: 9.223 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-05/1.036, allocations: 5.188 kB / 480.9 MB, free: 9.223 MB / 378.7 MB Notification: Performance of matching and sorting (n=161) (initialization): time 0.006597/1.043, allocations: 1.921 MB / 482.8 MB, free: 8.816 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002146/1.045, allocations: 4.843 MB / 487.7 MB, free: 3.719 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.664e-05/1.045, allocations: 16.61 kB / 487.7 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002637/1.048, allocations: 320.1 kB / 488 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002348/1.05, allocations: 287.6 kB / 488.3 MB, free: 3.586 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002685/1.053, allocations: 0.9267 MB / 489.2 MB, free: 2.988 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002224/1.055, allocations: 110 kB / 489.3 MB, free: 2.957 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003053/1.055, allocations: 81.88 kB / 489.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/1.055, allocations: 10.36 kB / 489.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006205/1.061, allocations: 1.813 MB / 491.2 MB, free: 2.625 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.062e-05/1.062, allocations: 17.89 kB / 491.2 MB, free: 2.617 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002492/1.064, allocations: 323 kB / 491.5 MB, free: 2.527 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002314/1.066, allocations: 284.6 kB / 491.8 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002653/1.069, allocations: 0.928 MB / 492.7 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.071, allocations: 103.3 kB / 492.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002693/1.072, allocations: 87 kB / 492.9 MB, free: 1.852 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.001003/1.073, allocations: 339.3 kB / 493.3 MB, free: 1.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/1.073, allocations: 101.3 kB / 493.4 MB, free: 1.652 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006362/1.079, allocations: 1.901 MB / 495.3 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/1.079, allocations: 12.38 kB / 495.3 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.079, allocations: 0 / 495.3 MB, free: 1.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.332e-05/1.079, allocations: 3.984 kB / 495.3 MB, free: 1.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01189/1.091, allocations: 3.269 MB / 498.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.979e-06/1.091, allocations: 0 / 498.5 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001666/1.093, allocations: 182 kB / 498.7 MB, free: 15.97 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003047/1.096, allocations: 389.3 kB / 499.1 MB, free: 15.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000142/1.096, allocations: 37.72 kB / 499.1 MB, free: 15.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002358/1.099, allocations: 0.9038 MB / 0.4883 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/1.099, allocations: 0 / 0.4883 GB, free: 14.8 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007328/1.106, allocations: 2.368 MB / 0.4906 GB, free: 13.06 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/1.107, allocations: 339 kB / 0.491 GB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003615/1.108, allocations: 26.12 kB / 0.491 GB, free: 12.78 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/1.109, allocations: 72.12 kB / 0.491 GB, free: 12.72 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002163/1.11, allocations: 74.45 kB / 0.4911 GB, free: 12.66 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002086/1.11, allocations: 54.28 kB / 0.4912 GB, free: 12.61 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001085/1.111, allocations: 0.5209 MB / 0.4917 GB, free: 12.22 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.111, allocations: 0 / 0.4917 GB, free: 12.22 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.005462/1.116, allocations: 1.147 MB / 0.4928 GB, free: 11.17 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.00488/1.121, allocations: 1.122 MB / 0.4939 GB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008438/1.13, allocations: 2.621 MB / 0.4965 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/1.13, allocations: 0 / 0.4965 GB, free: 8.238 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002419/1.132, allocations: 0.7026 MB / 0.4971 GB, free: 7.762 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/1.136, allocations: 468.9 kB / 0.4976 GB, free: 7.387 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009076/1.146, allocations: 2.9 MB / 0.5004 GB, free: 4.766 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009978/1.147, allocations: 1.147 MB / 0.5015 GB, free: 3.629 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004136/1.151, allocations: 0.6618 MB / 0.5022 GB, free: 2.969 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006803/1.152, allocations: 118 kB / 0.5023 GB, free: 2.859 MB / 394.7 MB Notification: Performance of SimCode: time 1.443e-06/1.152, allocations: 0 / 0.5023 GB, free: 2.859 MB / 394.7 MB Notification: Performance of Templates: time 0.09536/1.247, allocations: 37.12 MB / 0.5385 GB, free: 13.97 MB / 442.7 MB