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.668/2.668, allocations: 195 MB / 202.9 MB, free: 13.75 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.33e-05/2.357e-05, allocations: 4 kB / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3683/0.3684, allocations: 44.49 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 13.58/13.95, allocations: 3.665 GB / 3.952 GB, free: 105.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/13.95, allocations: 85.08 kB / 3.952 GB, free: 105.6 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.625/17.58, allocations: 0.5446 GB / 4.497 GB, free: 44.93 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.114e-06/17.58, allocations: 0 / 4.497 GB, free: 44.93 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001204/17.58, allocations: 25.38 kB / 4.497 GB, free: 44.93 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.01389/17.59, allocations: 2.992 MB / 4.5 GB, free: 43.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.667e-05/17.59, allocations: 11.44 kB / 4.5 GB, free: 43.15 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001156/17.59, allocations: 125.8 kB / 4.5 GB, free: 43.09 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00292/17.59, allocations: 0.736 MB / 4.501 GB, free: 42.79 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/17.59, allocations: 98.95 kB / 4.501 GB, free: 42.73 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003112/17.6, allocations: 51.19 kB / 4.501 GB, free: 42.73 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003779/17.6, allocations: 1.283 MB / 4.502 GB, free: 42.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003542/17.6, allocations: 1.287 MB / 4.504 GB, free: 42.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.28e-05/17.6, allocations: 5.406 kB / 4.504 GB, free: 42.49 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002124/17.6, allocations: 3.656 kB / 4.504 GB, free: 42.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001586/17.6, allocations: 71.17 kB / 4.504 GB, free: 42.49 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.01574/17.62, allocations: 6.363 MB / 4.51 GB, free: 38.58 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002682/17.62, allocations: 0.7915 MB / 4.511 GB, free: 38.28 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/17.62, allocations: 432.2 kB / 4.511 GB, free: 38.12 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00148/17.62, allocations: 1.239 MB / 4.512 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/17.62, allocations: 39.12 kB / 4.512 GB, free: 36.73 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009183/17.63, allocations: 82.52 kB / 4.512 GB, free: 36.69 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 4.709e-06/17.63, allocations: 0 / 4.512 GB, free: 36.69 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.03026/17.66, allocations: 4.133 MB / 4.516 GB, free: 35.43 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/17.66, allocations: 111.3 kB / 4.516 GB, free: 35.31 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001248/17.66, allocations: 0.5578 MB / 4.517 GB, free: 35.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003955/17.66, allocations: 29.58 kB / 4.517 GB, free: 35.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004343/17.66, allocations: 495.5 kB / 4.518 GB, free: 34.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004785/17.66, allocations: 302.2 kB / 4.518 GB, free: 34.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001585/17.66, allocations: 0 / 4.518 GB, free: 34.39 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002005/17.66, allocations: 398.6 kB / 4.518 GB, free: 34.04 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001555/17.66, allocations: 0.5197 MB / 4.519 GB, free: 33.83 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001916/17.66, allocations: 0.8894 MB / 4.52 GB, free: 33.14 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0104/17.67, allocations: 1.335 MB / 4.521 GB, free: 32.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.527e-05/17.67, allocations: 3.75 kB / 4.521 GB, free: 32.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.01387/17.69, allocations: 2.281 MB / 4.523 GB, free: 31.99 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001548/17.69, allocations: 4.76 MB / 4.528 GB, free: 26.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-05/17.69, allocations: 12 kB / 4.528 GB, free: 26.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002018/17.69, allocations: 245.6 kB / 4.528 GB, free: 26.66 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002826/17.69, allocations: 293.1 kB / 4.528 GB, free: 26.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/17.69, allocations: 0.8406 MB / 4.529 GB, free: 25.59 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/17.7, allocations: 92.39 kB / 4.529 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003782/17.7, allocations: 83.22 kB / 4.529 GB, free: 25.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/17.7, allocations: 11.73 kB / 4.529 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01293/17.71, allocations: 2.115 MB / 4.531 GB, free: 23.71 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/17.71, allocations: 12 kB / 4.531 GB, free: 23.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001878/17.71, allocations: 249.8 kB / 4.532 GB, free: 23.51 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002769/17.72, allocations: 285.5 kB / 4.532 GB, free: 23.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001601/17.72, allocations: 0.8474 MB / 4.533 GB, free: 22.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002492/17.72, allocations: 83.94 kB / 4.533 GB, free: 22.38 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003576/17.72, allocations: 77.28 kB / 4.533 GB, free: 22.31 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.0006019/17.72, allocations: 147.4 kB / 4.533 GB, free: 22.16 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01235/17.73, allocations: 1.724 MB / 4.535 GB, free: 20.77 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006089/17.73, allocations: 82.97 kB / 4.535 GB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007544/17.74, allocations: 1.691 MB / 4.536 GB, free: 19.29 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.531e-05/17.74, allocations: 11.84 kB / 4.536 GB, free: 19.28 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.004e-05/17.74, allocations: 4 kB / 4.536 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.862e-05/17.74, allocations: 3.703 kB / 4.536 GB, free: 19.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01093/17.75, allocations: 3.251 MB / 4.54 GB, free: 16.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-05/17.75, allocations: 0 / 4.54 GB, free: 16.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/17.75, allocations: 176.6 kB / 4.54 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002671/17.76, allocations: 316.2 kB / 4.54 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002934/17.76, allocations: 30.7 kB / 4.54 GB, free: 16.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00147/17.76, allocations: 0.8051 MB / 4.541 GB, free: 15.28 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-05/17.76, allocations: 10.19 kB / 4.541 GB, free: 15.27 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007564/17.77, allocations: 2.33 MB / 4.543 GB, free: 13.07 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/17.77, allocations: 310.3 kB / 4.543 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/17.77, allocations: 15.84 kB / 4.543 GB, free: 12.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002021/17.77, allocations: 57.53 kB / 4.544 GB, free: 12.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002876/17.77, allocations: 73.56 kB / 4.544 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002386/17.77, allocations: 54.12 kB / 4.544 GB, free: 12.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00106/17.77, allocations: 430.7 kB / 4.544 GB, free: 12.28 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.31e-07/17.77, allocations: 4 kB / 4.544 GB, free: 12.27 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007933/17.78, allocations: 1.255 MB / 4.545 GB, free: 11.06 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.01852/17.8, allocations: 5.804 MB / 4.551 GB, free: 5.906 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007959/17.81, allocations: 2.323 MB / 4.553 GB, free: 3.727 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.19e-05/17.81, allocations: 2.125 kB / 4.553 GB, free: 3.727 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002219/17.81, allocations: 0.6008 MB / 4.554 GB, free: 3.184 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004498/17.81, allocations: 394 kB / 4.554 GB, free: 2.906 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01273/17.83, allocations: 2.549 MB / 4.557 GB, free: 364 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.3876/18.21, allocations: 1.129 MB / 4.558 GB, free: 42.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005653/18.22, allocations: 0.5969 MB / 4.558 GB, free: 42.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/18.22, allocations: 400.1 kB / 4.559 GB, free: 42.19 MB / 426.7 MB Notification: Performance of SimCode: time 1.483e-06/18.22, allocations: 1.375 kB / 4.559 GB, free: 42.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/18.39, allocations: 49.76 MB / 4.607 GB, free: 40.28 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003177/18.39, allocations: 176.8 kB / 4.607 GB, free: 40.09 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 6.412/24.8, allocations: 0 / 4.607 GB, free: 40.09 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat