Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.159/2.159, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.354e-05, allocations: 4 kB / 292.2 MB, free: 8.238 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.116, allocations: 50.41 MB / 342.6 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.16/11.28, allocations: 3.553 GB / 3.887 GB, free: 18.42 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003133/11.28, allocations: 85.52 kB / 3.887 GB, free: 18.38 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.485/14.77, allocations: 0.5349 GB / 4.422 GB, free: 4.48 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.535e-06/14.77, allocations: 0 / 4.422 GB, free: 4.48 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001139/14.77, allocations: 28.12 kB / 4.422 GB, free: 4.453 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.01271/14.78, allocations: 2.863 MB / 4.425 GB, free: 1.523 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.379e-05/14.78, allocations: 12.88 kB / 4.425 GB, free: 1.512 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005945/14.78, allocations: 139.6 kB / 4.425 GB, free: 1.367 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008625/14.78, allocations: 134.7 kB / 4.425 GB, free: 1.234 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/14.78, allocations: 0.7207 MB / 4.426 GB, free: 484 kB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002091/14.78, allocations: 137.3 kB / 4.426 GB, free: 332 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005451/14.78, allocations: 91.98 kB / 4.426 GB, free: 240 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004678/14.79, allocations: 1.409 MB / 4.428 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.168e-05/14.79, allocations: 0 / 4.428 GB, free: 14.75 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002798/14.79, allocations: 39.98 kB / 4.428 GB, free: 14.71 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001681/14.79, allocations: 69.91 kB / 4.428 GB, free: 14.64 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004913/14.79, allocations: 1.398 MB / 4.429 GB, free: 13.25 MB / 474.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.01773/14.81, allocations: 6.046 MB / 4.435 GB, free: 6.848 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003458/14.82, allocations: 0.9427 MB / 4.436 GB, free: 5.898 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001647/14.82, allocations: 0.5054 MB / 4.436 GB, free: 5.395 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002363/14.82, allocations: 1.812 MB / 4.438 GB, free: 3.191 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.22e-05/14.82, allocations: 47.34 kB / 4.438 GB, free: 3.137 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001146/14.82, allocations: 103 kB / 4.438 GB, free: 3.035 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 5.089e-06/14.82, allocations: 0 / 4.438 GB, free: 3.035 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.4323/15.25, allocations: 4.396 MB / 4.443 GB, free: 47.9 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.642e-05/15.25, allocations: 114 kB / 4.443 GB, free: 47.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/15.25, allocations: 0.676 MB / 4.443 GB, free: 47.65 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004543/15.26, allocations: 49.08 kB / 4.443 GB, free: 47.62 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004535/15.26, allocations: 450.6 kB / 4.444 GB, free: 47.42 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000609/15.26, allocations: 345.5 kB / 4.444 GB, free: 47.25 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001512/15.26, allocations: 24.34 kB / 4.444 GB, free: 47.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002593/15.26, allocations: 401.2 kB / 4.445 GB, free: 46.94 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/15.26, allocations: 0.5538 MB / 4.445 GB, free: 46.94 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/15.26, allocations: 0.8837 MB / 4.446 GB, free: 46.56 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/15.26, allocations: 0.736 MB / 4.447 GB, free: 46.49 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.168e-05/15.26, allocations: 5.078 kB / 4.447 GB, free: 46.49 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.006051/15.27, allocations: 1.743 MB / 4.448 GB, free: 46.32 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009806/15.27, allocations: 3.975 MB / 4.452 GB, free: 42.18 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.404e-05/15.27, allocations: 10.34 kB / 4.452 GB, free: 42.18 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001933/15.27, allocations: 245.8 kB / 4.453 GB, free: 42.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002505/15.28, allocations: 281.2 kB / 4.453 GB, free: 42.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001353/15.28, allocations: 0.8157 MB / 4.454 GB, free: 41.65 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/15.28, allocations: 107.5 kB / 4.454 GB, free: 41.65 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005298/15.28, allocations: 74.7 kB / 4.454 GB, free: 41.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/15.28, allocations: 3.875 kB / 4.454 GB, free: 41.65 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00533/15.29, allocations: 1.623 MB / 4.455 GB, free: 41.56 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.415e-05/15.29, allocations: 9.75 kB / 4.455 GB, free: 41.56 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001727/15.29, allocations: 243.5 kB / 4.456 GB, free: 41.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002589/15.29, allocations: 272.6 kB / 4.456 GB, free: 41.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001389/15.29, allocations: 0.8153 MB / 4.457 GB, free: 41.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002533/15.29, allocations: 105.9 kB / 4.457 GB, free: 41.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005131/15.29, allocations: 73.67 kB / 4.457 GB, free: 41.03 MB / 474.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.0006621/15.3, allocations: 182 kB / 4.457 GB, free: 40.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004921/15.3, allocations: 99.66 kB / 4.457 GB, free: 40.88 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006392/15.3, allocations: 1.835 MB / 4.459 GB, free: 40.75 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.294e-05/15.3, allocations: 12.14 kB / 4.459 GB, free: 40.75 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-05/15.3, allocations: 4.266 kB / 4.459 GB, free: 40.75 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.19e-05/15.3, allocations: 4.922 kB / 4.459 GB, free: 40.75 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01002/15.31, allocations: 2.965 MB / 4.462 GB, free: 40.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/15.31, allocations: 4.047 kB / 4.462 GB, free: 40.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001859/15.31, allocations: 182.4 kB / 4.462 GB, free: 40.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002447/15.32, allocations: 313.1 kB / 4.462 GB, free: 40.24 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003697/15.32, allocations: 40.59 kB / 4.462 GB, free: 40.24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/15.32, allocations: 0.7834 MB / 4.463 GB, free: 39.72 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.941e-06/15.32, allocations: 3.469 kB / 4.463 GB, free: 39.72 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006094/15.32, allocations: 2.282 MB / 4.465 GB, free: 39.31 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001416/15.33, allocations: 343.6 kB / 4.466 GB, free: 39.17 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005238/15.33, allocations: 34.91 kB / 4.466 GB, free: 39.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002314/15.33, allocations: 83.17 kB / 4.466 GB, free: 39.17 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003718/15.33, allocations: 73.91 kB / 4.466 GB, free: 39.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002739/15.33, allocations: 55.08 kB / 4.466 GB, free: 39.16 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001311/15.33, allocations: 0.5352 MB / 4.466 GB, free: 39.07 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.91e-07/15.33, allocations: 3.562 kB / 4.466 GB, free: 39.07 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007459/15.34, allocations: 1.298 MB / 4.468 GB, free: 39.07 MB / 474.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.01355/15.35, allocations: 5.125 MB / 4.473 GB, free: 37.56 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007304/15.36, allocations: 2.445 MB / 4.475 GB, free: 37.29 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/15.36, allocations: 4 kB / 4.475 GB, free: 37.29 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002158/15.36, allocations: 0.6736 MB / 4.476 GB, free: 37.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004757/15.37, allocations: 495.8 kB / 4.476 GB, free: 37.27 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01149/15.38, allocations: 2.631 MB / 4.479 GB, free: 36.92 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007907/15.38, allocations: 1.143 MB / 4.48 GB, free: 36.22 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004331/15.38, allocations: 0.7416 MB / 4.481 GB, free: 36.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/15.38, allocations: 393.8 kB / 4.481 GB, free: 36.2 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/15.38, allocations: 0 / 4.481 GB, free: 36.2 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1887/15.57, allocations: 64.77 MB / 4.544 GB, free: 33.77 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/15.57, allocations: 222.2 kB / 4.545 GB, free: 33.54 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.206/21.78, allocations: 3.609 kB / 4.545 GB, free: 33.54 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat