Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.701/2.701, allocations: 195 MB / 202.9 MB, free: 6.73 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.816e-05/2.834e-05, allocations: 4.125 kB / 249.7 MB, free: 5.309 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 44.52 MB / 294.3 MB, free: 10.66 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.56/15.67, allocations: 3.665 GB / 3.952 GB, free: 48.34 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003353/15.67, allocations: 85.39 kB / 3.952 GB, free: 48.3 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.522/20.19, allocations: 0.5461 GB / 4.499 GB, free: 35.6 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.675e-06/20.19, allocations: 0 / 4.499 GB, free: 35.6 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001219/20.19, allocations: 22.95 kB / 4.499 GB, free: 35.6 MB / 426.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.01582/20.21, allocations: 2.992 MB / 4.501 GB, free: 34.41 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.236e-05/20.21, allocations: 7.188 kB / 4.501 GB, free: 34.41 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006011/20.21, allocations: 109.9 kB / 4.502 GB, free: 34.38 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/20.21, allocations: 129.6 kB / 4.502 GB, free: 34.32 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/20.22, allocations: 0.7311 MB / 4.502 GB, free: 34.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002205/20.22, allocations: 104.8 kB / 4.503 GB, free: 34.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004828/20.22, allocations: 52.03 kB / 4.503 GB, free: 34.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005144/20.22, allocations: 1.287 MB / 4.504 GB, free: 34.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005193/20.23, allocations: 1.288 MB / 4.505 GB, free: 33.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.443e-05/20.23, allocations: 3.281 kB / 4.505 GB, free: 33.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003123/20.23, allocations: 4 kB / 4.505 GB, free: 33.79 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001996/20.23, allocations: 67.56 kB / 4.505 GB, free: 33.79 MB / 426.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.01994/20.25, allocations: 6.359 MB / 4.511 GB, free: 30.29 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00342/20.25, allocations: 0.7825 MB / 4.512 GB, free: 30.26 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001397/20.25, allocations: 432.4 kB / 4.513 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001777/20.25, allocations: 1.245 MB / 4.514 GB, free: 28.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.946e-05/20.25, allocations: 42.81 kB / 4.514 GB, free: 28.9 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00114/20.26, allocations: 80.09 kB / 4.514 GB, free: 28.88 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 5.771e-06/20.26, allocations: 0 / 4.514 GB, free: 28.88 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.03827/20.29, allocations: 4.123 MB / 4.518 GB, free: 28.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.32e-05/20.29, allocations: 114.5 kB / 4.518 GB, free: 28.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/20.3, allocations: 0.5635 MB / 4.519 GB, free: 28.18 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003925/20.3, allocations: 29.08 kB / 4.519 GB, free: 28.15 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005008/20.3, allocations: 497.9 kB / 4.519 GB, free: 27.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005088/20.3, allocations: 309.8 kB / 4.519 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001865/20.3, allocations: 3.812 kB / 4.519 GB, free: 27.73 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002114/20.3, allocations: 391.9 kB / 4.52 GB, free: 27.41 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001817/20.3, allocations: 0.5181 MB / 4.52 GB, free: 27.41 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/20.3, allocations: 0.8887 MB / 4.521 GB, free: 26.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/20.31, allocations: 1.337 MB / 4.522 GB, free: 26.95 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.848e-05/20.31, allocations: 4.906 kB / 4.522 GB, free: 26.95 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.0173/20.33, allocations: 2.269 MB / 4.525 GB, free: 26.83 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001258/20.33, allocations: 4.758 MB / 4.529 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-05/20.33, allocations: 13.28 kB / 4.529 GB, free: 21.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002648/20.34, allocations: 245.2 kB / 4.53 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003427/20.34, allocations: 290 kB / 4.53 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001865/20.34, allocations: 0.8498 MB / 4.531 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00335/20.34, allocations: 92.47 kB / 4.531 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004666/20.34, allocations: 80.41 kB / 4.531 GB, free: 21.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/20.34, allocations: 8.406 kB / 4.531 GB, free: 21.34 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01657/20.36, allocations: 2.122 MB / 4.533 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-05/20.36, allocations: 13.53 kB / 4.533 GB, free: 21.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002514/20.36, allocations: 238.5 kB / 4.533 GB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003432/20.37, allocations: 283.1 kB / 4.533 GB, free: 21.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/20.37, allocations: 0.8495 MB / 4.534 GB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003087/20.37, allocations: 85.69 kB / 4.534 GB, free: 20.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004062/20.37, allocations: 77.22 kB / 4.534 GB, free: 20.76 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 54 * 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 (153): * Single equations (assignments): 150 * 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.0006795/20.37, allocations: 151.1 kB / 4.535 GB, free: 20.64 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004483/20.37, allocations: 81.84 kB / 4.535 GB, free: 20.61 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009378/20.38, allocations: 1.699 MB / 4.536 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.71e-05/20.38, allocations: 9.812 kB / 4.536 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.138e-05/20.38, allocations: 3.75 kB / 4.536 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.611e-05/20.38, allocations: 7.172 kB / 4.536 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01362/20.4, allocations: 3.254 MB / 4.539 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.698e-05/20.4, allocations: 3.75 kB / 4.539 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0024/20.4, allocations: 167.5 kB / 4.54 GB, free: 19.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003711/20.4, allocations: 310.5 kB / 4.54 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000333/20.4, allocations: 32.22 kB / 4.54 GB, free: 19.68 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001746/20.41, allocations: 0.81 MB / 4.541 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-05/20.41, allocations: 3.719 kB / 4.541 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009802/20.42, allocations: 2.33 MB / 4.543 GB, free: 18.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001326/20.42, allocations: 316.6 kB / 4.543 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003926/20.42, allocations: 12.16 kB / 4.543 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002576/20.42, allocations: 60.64 kB / 4.543 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003/20.42, allocations: 73.69 kB / 4.543 GB, free: 18.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003016/20.42, allocations: 58.22 kB / 4.544 GB, free: 18.48 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001124/20.42, allocations: 430.5 kB / 4.544 GB, free: 18.39 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.61e-07/20.42, allocations: 6.625 kB / 4.544 GB, free: 18.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.008454/20.43, allocations: 1.254 MB / 4.545 GB, free: 18.16 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * 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 (92): * Single equations (assignments): 89 * 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.02019/20.45, allocations: 5.796 MB / 4.551 GB, free: 15.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008554/20.46, allocations: 2.33 MB / 4.553 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.398e-05/20.46, allocations: 0 / 4.553 GB, free: 15.67 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002429/20.46, allocations: 0.5982 MB / 4.554 GB, free: 15.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005362/20.47, allocations: 385.9 kB / 4.554 GB, free: 15.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01424/20.48, allocations: 2.541 MB / 4.557 GB, free: 15.02 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001117/20.48, allocations: 1.138 MB / 4.558 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005656/20.49, allocations: 0.5972 MB / 4.558 GB, free: 14.29 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001542/20.49, allocations: 395.9 kB / 4.559 GB, free: 14.28 MB / 426.7 MB Notification: Performance of SimCode: time 1.573e-06/20.49, allocations: 0 / 4.559 GB, free: 14.28 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1953/20.69, allocations: 50.43 MB / 4.608 GB, free: 11.53 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003219/20.69, allocations: 176.8 kB / 4.608 GB, free: 11.33 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 7.541/28.23, allocations: 0 / 4.608 GB, free: 11.33 MB / 426.7 MB