Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.861e-05/2.86e-05, allocations: 0 / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09874/0.09879, allocations: 44.5 MB / 300 MB, free: 6.055 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.23/11.33, allocations: 3.666 GB / 3.959 GB, free: 10.06 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002662/11.33, allocations: 82.33 kB / 3.959 GB, free: 10.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.449/14.78, allocations: 0.5497 GB / 4.508 GB, free: 37.45 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.713e-06/14.78, allocations: 1.531 kB / 4.508 GB, free: 37.45 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001198/14.78, allocations: 27 kB / 4.508 GB, free: 37.44 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.01458/14.79, allocations: 2.988 MB / 4.511 GB, free: 35.99 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.369e-05/14.79, allocations: 9.719 kB / 4.511 GB, free: 35.99 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000613/14.79, allocations: 150.3 kB / 4.512 GB, free: 35.95 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008497/14.79, allocations: 126.2 kB / 4.512 GB, free: 35.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00284/14.8, allocations: 0.7313 MB / 4.512 GB, free: 35.62 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002277/14.8, allocations: 137.7 kB / 4.512 GB, free: 35.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005328/14.8, allocations: 86.48 kB / 4.513 GB, free: 35.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004313/14.8, allocations: 1.411 MB / 4.514 GB, free: 35.34 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.657e-05/14.8, allocations: 4.234 kB / 4.514 GB, free: 35.34 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002575/14.8, allocations: 36.56 kB / 4.514 GB, free: 35.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001649/14.8, allocations: 67.8 kB / 4.514 GB, free: 35.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/14.81, allocations: 1.398 MB / 4.515 GB, free: 35.33 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.0159/14.82, allocations: 6.035 MB / 4.521 GB, free: 32.32 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003037/14.82, allocations: 0.8767 MB / 4.522 GB, free: 32.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/14.83, allocations: 492.2 kB / 4.523 GB, free: 32.27 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001806/14.83, allocations: 1.742 MB / 4.524 GB, free: 30.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.197e-05/14.83, allocations: 49.09 kB / 4.524 GB, free: 30.36 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001086/14.83, allocations: 105.7 kB / 4.524 GB, free: 30.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.909e-06/14.83, allocations: 3.25 kB / 4.524 GB, free: 30.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.02702/14.86, allocations: 4.296 MB / 4.529 GB, free: 29.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.721e-05/14.86, allocations: 113.1 kB / 4.529 GB, free: 29.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001354/14.86, allocations: 0.6521 MB / 4.529 GB, free: 29.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004026/14.86, allocations: 45.67 kB / 4.529 GB, free: 29.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003777/14.86, allocations: 469 kB / 4.53 GB, free: 29.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005142/14.86, allocations: 340.1 kB / 4.53 GB, free: 29.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/14.86, allocations: 26.41 kB / 4.53 GB, free: 29.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002041/14.86, allocations: 406.2 kB / 4.531 GB, free: 28.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001551/14.86, allocations: 0.5361 MB / 4.531 GB, free: 28.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/14.86, allocations: 0.9254 MB / 4.532 GB, free: 28.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002001/14.87, allocations: 0.7304 MB / 4.533 GB, free: 28.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.323e-05/14.87, allocations: 3.938 kB / 4.533 GB, free: 28.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005379/14.87, allocations: 1.745 MB / 4.535 GB, free: 28.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001175/14.87, allocations: 4.757 MB / 4.539 GB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.604e-05/14.87, allocations: 15.19 kB / 4.539 GB, free: 23.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001819/14.87, allocations: 245 kB / 4.539 GB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002399/14.88, allocations: 283.6 kB / 4.54 GB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001354/14.88, allocations: 0.8244 MB / 4.54 GB, free: 22.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002494/14.88, allocations: 116.2 kB / 4.541 GB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004457/14.88, allocations: 79.97 kB / 4.541 GB, free: 22.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/14.88, allocations: 5.125 kB / 4.541 GB, free: 22.56 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004853/14.89, allocations: 1.641 MB / 4.542 GB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.521e-05/14.89, allocations: 11.38 kB / 4.542 GB, free: 22.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001609/14.89, allocations: 247.7 kB / 4.543 GB, free: 22.41 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/14.89, allocations: 284.2 kB / 4.543 GB, free: 22.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/14.89, allocations: 0.8165 MB / 4.544 GB, free: 21.87 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002357/14.89, allocations: 112.1 kB / 4.544 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004311/14.89, allocations: 89.7 kB / 4.544 GB, free: 21.86 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.0005878/14.89, allocations: 186.5 kB / 4.544 GB, free: 21.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/14.9, allocations: 94.2 kB / 4.544 GB, free: 21.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00512/14.9, allocations: 1.728 MB / 4.546 GB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.328e-05/14.9, allocations: 13.44 kB / 4.546 GB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.038e-05/14.9, allocations: 3.422 kB / 4.546 GB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.81e-05/14.9, allocations: 3.516 kB / 4.546 GB, free: 21.53 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007721/14.91, allocations: 2.77 MB / 4.548 GB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/14.91, allocations: 3.812 kB / 4.548 GB, free: 21.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001742/14.91, allocations: 180.1 kB / 4.549 GB, free: 21.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/14.91, allocations: 314.1 kB / 4.549 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003212/14.91, allocations: 37.02 kB / 4.549 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001145/14.91, allocations: 0.7885 MB / 4.55 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/14.91, allocations: 3.953 kB / 4.55 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005372/14.92, allocations: 2.167 MB / 4.552 GB, free: 20.2 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/14.92, allocations: 326.1 kB / 4.552 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/14.92, allocations: 31.81 kB / 4.552 GB, free: 20.05 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/14.92, allocations: 78.89 kB / 4.552 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002637/14.92, allocations: 75.73 kB / 4.552 GB, free: 20.04 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002079/14.92, allocations: 55.67 kB / 4.552 GB, free: 20.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001047/14.92, allocations: 0.5141 MB / 4.553 GB, free: 19.94 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.82e-07/14.92, allocations: 0 / 4.553 GB, free: 19.94 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006929/14.93, allocations: 1.34 MB / 4.554 GB, free: 19.71 MB / 426.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.01302/14.94, allocations: 5.091 MB / 4.559 GB, free: 17.99 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006843/14.95, allocations: 2.409 MB / 4.562 GB, free: 17.64 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/14.95, allocations: 0 / 4.562 GB, free: 17.64 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/14.95, allocations: 0.6476 MB / 4.562 GB, free: 17.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00416/14.96, allocations: 468.7 kB / 4.563 GB, free: 17.59 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/14.97, allocations: 2.623 MB / 4.565 GB, free: 16.68 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/14.97, allocations: 1.144 MB / 4.566 GB, free: 15.93 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004371/14.97, allocations: 0.649 MB / 4.567 GB, free: 15.89 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001249/14.98, allocations: 409.8 kB / 4.567 GB, free: 15.62 MB / 426.7 MB Notification: Performance of SimCode: time 1.442e-06/14.98, allocations: 0 / 4.567 GB, free: 15.62 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5177/15.49, allocations: 64.69 MB / 4.63 GB, free: 51.58 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002731/15.49, allocations: 227.6 kB / 4.631 GB, free: 51.35 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.733/21.23, allocations: 0 / 4.631 GB, free: 51.35 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat