Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.035/2.035, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.387e-05/3.405e-05, allocations: 7.984 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1107, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.67/11.78, allocations: 3.612 GB / 3.921 GB, free: 106.8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002922/11.78, allocations: 83.95 kB / 3.922 GB, free: 106.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.21/14.99, allocations: 0.5516 GB / 4.473 GB, free: 38.02 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.988e-06/14.99, allocations: 0 / 4.473 GB, free: 38.02 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001049/14.99, allocations: 31.38 kB / 4.473 GB, free: 38.01 MB / 442.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.01417/15.01, allocations: 2.987 MB / 4.476 GB, free: 36.19 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/15.01, allocations: 6.594 kB / 4.476 GB, free: 36.19 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000511/15.01, allocations: 160.8 kB / 4.476 GB, free: 36.14 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008079/15.01, allocations: 130 kB / 4.476 GB, free: 36.09 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002704/15.01, allocations: 0.7203 MB / 4.477 GB, free: 35.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001983/15.01, allocations: 134.3 kB / 4.477 GB, free: 35.72 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003987/15.01, allocations: 92.7 kB / 4.477 GB, free: 35.72 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00359/15.01, allocations: 1.417 MB / 4.479 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.524e-05/15.01, allocations: 5.594 kB / 4.479 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002093/15.02, allocations: 39.53 kB / 4.479 GB, free: 35.48 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001368/15.02, allocations: 67.38 kB / 4.479 GB, free: 35.47 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003485/15.02, allocations: 1.404 MB / 4.48 GB, free: 35.45 MB / 442.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.01372/15.03, allocations: 6.048 MB / 4.486 GB, free: 31.67 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002925/15.04, allocations: 0.9489 MB / 4.487 GB, free: 31.31 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001244/15.04, allocations: 0.5041 MB / 4.487 GB, free: 31.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001691/15.04, allocations: 1.751 MB / 4.489 GB, free: 29.19 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.241e-05/15.04, allocations: 49.03 kB / 4.489 GB, free: 29.14 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001008/15.04, allocations: 111.6 kB / 4.489 GB, free: 29.07 MB / 442.7 MB Notification: Performance of pre-optimization done (n=84): time 4.769e-06/15.04, allocations: 0 / 4.489 GB, free: 29.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02707/15.07, allocations: 4.412 MB / 4.494 GB, free: 27.41 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.663e-05/15.07, allocations: 115.6 kB / 4.494 GB, free: 27.27 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/15.07, allocations: 0.6724 MB / 4.494 GB, free: 26.65 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002058/15.07, allocations: 49.42 kB / 4.494 GB, free: 26.6 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003329/15.07, allocations: 451.5 kB / 4.495 GB, free: 26.2 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003489/15.07, allocations: 346.4 kB / 4.495 GB, free: 25.89 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/15.07, allocations: 28 kB / 4.495 GB, free: 25.86 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/15.07, allocations: 403.6 kB / 4.496 GB, free: 25.49 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001394/15.07, allocations: 0.5567 MB / 4.496 GB, free: 24.98 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001582/15.07, allocations: 0.8859 MB / 4.497 GB, free: 24.02 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001679/15.07, allocations: 0.737 MB / 4.498 GB, free: 23.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.789e-06/15.07, allocations: 4 kB / 4.498 GB, free: 23.37 MB / 442.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004383/15.08, allocations: 1.745 MB / 4.499 GB, free: 21.79 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008551/15.08, allocations: 3.971 MB / 4.503 GB, free: 17.52 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.366e-05/15.08, allocations: 12 kB / 4.503 GB, free: 17.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00169/15.08, allocations: 254 kB / 4.504 GB, free: 17.31 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002309/15.08, allocations: 271.4 kB / 4.504 GB, free: 17.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001187/15.08, allocations: 0.8124 MB / 4.505 GB, free: 16.29 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/15.09, allocations: 104.6 kB / 4.505 GB, free: 16.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002297/15.09, allocations: 85.22 kB / 4.505 GB, free: 16.13 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/15.09, allocations: 4 kB / 4.505 GB, free: 16.12 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004104/15.09, allocations: 1.625 MB / 4.506 GB, free: 14.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/15.09, allocations: 15.94 kB / 4.506 GB, free: 14.65 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/15.09, allocations: 251.6 kB / 4.507 GB, free: 14.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002152/15.1, allocations: 269 kB / 4.507 GB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00115/15.1, allocations: 0.8202 MB / 4.508 GB, free: 13.43 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002054/15.1, allocations: 111.2 kB / 4.508 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002103/15.1, allocations: 74.41 kB / 4.508 GB, free: 13.27 MB / 442.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.0005104/15.1, allocations: 186.5 kB / 4.508 GB, free: 13.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002771/15.1, allocations: 94.88 kB / 4.508 GB, free: 13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004752/15.1, allocations: 1.811 MB / 4.51 GB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.026e-05/15.1, allocations: 15.95 kB / 4.51 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/15.1, allocations: 0 / 4.51 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/15.1, allocations: 2.578 kB / 4.51 GB, free: 11.45 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007028/15.11, allocations: 2.875 MB / 4.513 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.968e-06/15.11, allocations: 0 / 4.513 GB, free: 9.047 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/15.11, allocations: 183.7 kB / 4.513 GB, free: 8.895 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002314/15.12, allocations: 312.9 kB / 4.513 GB, free: 8.664 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003171/15.12, allocations: 42.27 kB / 4.513 GB, free: 8.633 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001132/15.12, allocations: 0.7886 MB / 4.514 GB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/15.12, allocations: 0 / 4.514 GB, free: 7.855 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005443/15.12, allocations: 2.264 MB / 4.516 GB, free: 5.738 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001173/15.12, allocations: 337.7 kB / 4.517 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003552/15.12, allocations: 31.33 kB / 4.517 GB, free: 5.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/15.13, allocations: 85.86 kB / 4.517 GB, free: 5.344 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002781/15.13, allocations: 70.88 kB / 4.517 GB, free: 5.301 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002263/15.13, allocations: 58.12 kB / 4.517 GB, free: 5.254 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001069/15.13, allocations: 0.5346 MB / 4.517 GB, free: 4.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.482e-06/15.13, allocations: 0 / 4.517 GB, free: 4.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006233/15.13, allocations: 1.359 MB / 4.519 GB, free: 3.449 MB / 442.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 (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.01312/15.15, allocations: 5.195 MB / 4.524 GB, free: 14.89 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007799/15.15, allocations: 2.452 MB / 4.526 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.37e-05/15.15, allocations: 4.438 kB / 4.526 GB, free: 12.59 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002282/15.16, allocations: 0.6726 MB / 4.527 GB, free: 11.98 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004754/15.16, allocations: 0.4947 MB / 4.527 GB, free: 11.61 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01166/15.17, allocations: 2.652 MB / 4.53 GB, free: 9.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/15.17, allocations: 1.142 MB / 4.531 GB, free: 8.258 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004313/15.18, allocations: 0.6721 MB / 4.532 GB, free: 7.789 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/15.18, allocations: 410.9 kB / 4.532 GB, free: 7.402 MB / 458.7 MB Notification: Performance of SimCode: time 1.854e-06/15.18, allocations: 0 / 4.532 GB, free: 7.402 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5277/15.71, allocations: 66.31 MB / 4.597 GB, free: 47.77 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002696/15.71, allocations: 210.5 kB / 4.597 GB, free: 47.55 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.003/21.71, allocations: 2.875 kB / 4.597 GB, free: 47.55 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat