Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.794/1.794, allocations: 171.3 MB / 178.4 MB, free: 164 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.111e-05, allocations: 0 / 219.6 MB, free: 6.949 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2641, allocations: 38.76 MB / 258.3 MB, free: 12.19 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.15/10.41, allocations: 3.659 GB / 3.912 GB, free: 1.309 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/10.41, allocations: 87.52 kB / 3.912 GB, free: 1.266 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.067/13.48, allocations: 0.541 GB / 4.453 GB, free: 27.15 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.286e-06/13.48, allocations: 0 / 4.453 GB, free: 27.15 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.552e-05/13.48, allocations: 34.33 kB / 4.453 GB, free: 27.12 MB / 378.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.01219/13.49, allocations: 2.983 MB / 4.456 GB, free: 24.09 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/13.49, allocations: 12.03 kB / 4.456 GB, free: 24.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009612/13.49, allocations: 122.8 kB / 4.456 GB, free: 23.96 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002371/13.49, allocations: 0.7339 MB / 4.456 GB, free: 23.19 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/13.49, allocations: 105.4 kB / 4.457 GB, free: 23.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002773/13.49, allocations: 52 kB / 4.457 GB, free: 23.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003406/13.5, allocations: 1.288 MB / 4.458 GB, free: 21.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/13.5, allocations: 1.284 MB / 4.459 GB, free: 20.38 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.192e-05/13.5, allocations: 11.92 kB / 4.459 GB, free: 20.37 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001859/13.5, allocations: 8 kB / 4.459 GB, free: 20.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001217/13.5, allocations: 61.97 kB / 4.459 GB, free: 20.3 MB / 378.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.01303/13.51, allocations: 6.109 MB / 4.465 GB, free: 13.87 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002584/13.52, allocations: 0.7829 MB / 4.466 GB, free: 13.08 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001119/13.52, allocations: 439.6 kB / 4.466 GB, free: 12.65 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001737/13.52, allocations: 1.241 MB / 4.468 GB, free: 11.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.158e-05/13.52, allocations: 43.34 kB / 4.468 GB, free: 11.11 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009037/13.52, allocations: 79.19 kB / 4.468 GB, free: 11.03 MB / 378.7 MB Notification: Performance of pre-optimization done (n=76): time 4.529e-06/13.52, allocations: 3.938 kB / 4.468 GB, free: 11.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.02643/13.55, allocations: 4.133 MB / 4.472 GB, free: 6.84 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.726e-05/13.55, allocations: 111.6 kB / 4.472 GB, free: 6.703 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001169/13.55, allocations: 0.5656 MB / 4.472 GB, free: 6.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001829/13.55, allocations: 29.7 kB / 4.472 GB, free: 6.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004827/13.55, allocations: 498.3 kB / 4.473 GB, free: 5.605 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004241/13.55, allocations: 303.5 kB / 4.473 GB, free: 5.305 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001185/13.55, allocations: 4 kB / 4.473 GB, free: 5.301 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002403/13.55, allocations: 390.7 kB / 4.474 GB, free: 4.91 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/13.55, allocations: 0.518 MB / 4.474 GB, free: 4.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00171/13.55, allocations: 0.9002 MB / 4.475 GB, free: 3.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008681/13.56, allocations: 1.329 MB / 4.476 GB, free: 1.996 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/13.56, allocations: 4 kB / 4.476 GB, free: 1.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.3053/13.87, allocations: 2.268 MB / 4.478 GB, free: 34.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001014/13.87, allocations: 4.756 MB / 4.483 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-05/13.87, allocations: 11.97 kB / 4.483 GB, free: 29.33 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001816/13.87, allocations: 252.4 kB / 4.483 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/13.87, allocations: 285.5 kB / 4.484 GB, free: 29.32 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/13.87, allocations: 0.8406 MB / 4.484 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/13.88, allocations: 91.89 kB / 4.485 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002463/13.88, allocations: 79.81 kB / 4.485 GB, free: 28.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/13.88, allocations: 7 kB / 4.485 GB, free: 28.8 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01092/13.89, allocations: 2.124 MB / 4.487 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/13.89, allocations: 10.34 kB / 4.487 GB, free: 28.76 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/13.89, allocations: 245.7 kB / 4.487 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002127/13.89, allocations: 288.9 kB / 4.487 GB, free: 28.75 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001137/13.89, allocations: 0.8419 MB / 4.488 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/13.89, allocations: 88.06 kB / 4.488 GB, free: 28.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/13.9, allocations: 74.69 kB / 4.488 GB, free: 28.23 MB / 378.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.000482/13.9, allocations: 144.7 kB / 4.488 GB, free: 28.13 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00964/13.91, allocations: 1.732 MB / 4.49 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004124/13.91, allocations: 89.67 kB / 4.49 GB, free: 28.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005854/13.91, allocations: 1.684 MB / 4.492 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.866e-05/13.91, allocations: 11.44 kB / 4.492 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/13.91, allocations: 10.12 kB / 4.492 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.377e-05/13.91, allocations: 8.062 kB / 4.492 GB, free: 27.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008295/13.92, allocations: 3.247 MB / 4.495 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.058e-05/13.92, allocations: 2.719 kB / 4.495 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00144/13.92, allocations: 175.6 kB / 4.495 GB, free: 27.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002148/13.92, allocations: 307.9 kB / 4.495 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/13.92, allocations: 35 kB / 4.495 GB, free: 27.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001106/13.92, allocations: 0.8111 MB / 4.496 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.392e-06/13.92, allocations: 5.828 kB / 4.496 GB, free: 26.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006112/13.93, allocations: 2.329 MB / 4.499 GB, free: 26.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008289/13.93, allocations: 312.3 kB / 4.499 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002692/13.93, allocations: 13.53 kB / 4.499 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/13.93, allocations: 58.25 kB / 4.499 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/13.93, allocations: 78.36 kB / 4.499 GB, free: 26.04 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001697/13.93, allocations: 57.72 kB / 4.499 GB, free: 26.04 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007257/13.93, allocations: 427.4 kB / 4.499 GB, free: 25.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.21e-07/13.93, allocations: 2.953 kB / 4.499 GB, free: 25.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.005911/13.94, allocations: 1.247 MB / 4.501 GB, free: 25.94 MB / 378.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.01307/13.95, allocations: 5.805 MB / 4.506 GB, free: 23.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005637/13.96, allocations: 2.326 MB / 4.509 GB, free: 23.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.407e-06/13.96, allocations: 0 / 4.509 GB, free: 23.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00153/13.96, allocations: 0.5994 MB / 4.509 GB, free: 23.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003327/13.96, allocations: 378.2 kB / 4.51 GB, free: 23.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009525/13.97, allocations: 2.555 MB / 4.512 GB, free: 23.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000754/13.97, allocations: 1.136 MB / 4.513 GB, free: 22.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.003623/13.98, allocations: 0.595 MB / 4.514 GB, free: 22.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/13.98, allocations: 398.6 kB / 4.514 GB, free: 22.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/13.98, allocations: 0 / 4.514 GB, free: 22.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1348/14.11, allocations: 49.75 MB / 4.563 GB, free: 19.96 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/14.11, allocations: 171.7 kB / 4.563 GB, free: 19.77 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.994/19.11, allocations: 0 / 4.563 GB, free: 19.77 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat