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.008/2.008, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.49e-05/3.5e-05, allocations: 4 kB / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0991/0.09918, allocations: 44.5 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.93/11.03, allocations: 3.666 GB / 3.959 GB, free: 15.43 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/11.03, allocations: 83.47 kB / 3.959 GB, free: 15.39 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.469/14.5, allocations: 0.5498 GB / 4.508 GB, free: 35.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.485e-06/14.5, allocations: 0 / 4.508 GB, free: 35.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001233/14.5, allocations: 26.88 kB / 4.508 GB, free: 35.41 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.0143/14.52, allocations: 2.983 MB / 4.511 GB, free: 34.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.879e-05/14.52, allocations: 8.594 kB / 4.511 GB, free: 34.02 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007115/14.52, allocations: 144 kB / 4.511 GB, free: 33.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/14.52, allocations: 130.8 kB / 4.512 GB, free: 33.92 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002964/14.52, allocations: 0.7376 MB / 4.512 GB, free: 33.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002241/14.52, allocations: 128.7 kB / 4.512 GB, free: 33.58 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005568/14.52, allocations: 88.56 kB / 4.513 GB, free: 33.58 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004643/14.53, allocations: 1.43 MB / 4.514 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.265e-05/14.53, allocations: 0.8438 kB / 4.514 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002762/14.53, allocations: 41.41 kB / 4.514 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/14.53, allocations: 65.41 kB / 4.514 GB, free: 33.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004451/14.53, allocations: 1.412 MB / 4.515 GB, free: 33.34 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.01587/14.55, allocations: 6.03 MB / 4.521 GB, free: 30.33 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002939/14.55, allocations: 0.8813 MB / 4.522 GB, free: 30.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/14.55, allocations: 495.6 kB / 4.523 GB, free: 30.29 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001659/14.55, allocations: 1.745 MB / 4.524 GB, free: 28.41 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.168e-05/14.55, allocations: 50.23 kB / 4.524 GB, free: 28.37 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008986/14.56, allocations: 111.3 kB / 4.525 GB, free: 28.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=82): time 4.479e-06/14.56, allocations: 0 / 4.525 GB, free: 28.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=94): time 0.02679/14.58, allocations: 4.3 MB / 4.529 GB, free: 27.84 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.704e-05/14.58, allocations: 116.8 kB / 4.529 GB, free: 27.71 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001292/14.58, allocations: 0.6514 MB / 4.529 GB, free: 27.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003841/14.58, allocations: 50.45 kB / 4.529 GB, free: 27.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003566/14.58, allocations: 463.1 kB / 4.53 GB, free: 27.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004741/14.59, allocations: 337.9 kB / 4.53 GB, free: 27.08 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001385/14.59, allocations: 30.22 kB / 4.53 GB, free: 27.08 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001766/14.59, allocations: 398.3 kB / 4.531 GB, free: 26.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/14.59, allocations: 0.5395 MB / 4.531 GB, free: 26.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001927/14.59, allocations: 0.9227 MB / 4.532 GB, free: 26.31 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002031/14.59, allocations: 0.7346 MB / 4.533 GB, free: 26.23 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/14.59, allocations: 3.531 kB / 4.533 GB, free: 26.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005212/14.6, allocations: 1.784 MB / 4.535 GB, free: 26.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001111/14.6, allocations: 4.752 MB / 4.539 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.1e-05/14.6, allocations: 13.28 kB / 4.539 GB, free: 21.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001786/14.6, allocations: 253.2 kB / 4.539 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002462/14.6, allocations: 289.2 kB / 4.54 GB, free: 21.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001327/14.6, allocations: 0.8186 MB / 4.541 GB, free: 20.57 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/14.61, allocations: 116.4 kB / 4.541 GB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004343/14.61, allocations: 78.03 kB / 4.541 GB, free: 20.56 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/14.61, allocations: 7.719 kB / 4.541 GB, free: 20.56 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004816/14.61, allocations: 1.668 MB / 4.542 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.931e-05/14.61, allocations: 11.97 kB / 4.542 GB, free: 20.47 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001673/14.61, allocations: 250.1 kB / 4.543 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00245/14.62, allocations: 289.7 kB / 4.543 GB, free: 20.46 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/14.62, allocations: 0.8123 MB / 4.544 GB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/14.62, allocations: 110.9 kB / 4.544 GB, free: 19.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003779/14.62, allocations: 79.62 kB / 4.544 GB, free: 19.93 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.0005725/14.62, allocations: 189.9 kB / 4.544 GB, free: 19.79 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003468/14.62, allocations: 92.12 kB / 4.544 GB, free: 19.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005122/14.63, allocations: 1.742 MB / 4.546 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.301e-05/14.63, allocations: 10.78 kB / 4.546 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.019e-05/14.63, allocations: 0 / 4.546 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.989e-05/14.63, allocations: 6.266 kB / 4.546 GB, free: 19.6 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008122/14.63, allocations: 2.778 MB / 4.549 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-05/14.63, allocations: 0 / 4.549 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/14.64, allocations: 186.3 kB / 4.549 GB, free: 19.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0024/14.64, allocations: 307.6 kB / 4.549 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003287/14.64, allocations: 40.89 kB / 4.549 GB, free: 19.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001156/14.64, allocations: 0.7821 MB / 4.55 GB, free: 18.64 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/14.64, allocations: 2.812 kB / 4.55 GB, free: 18.64 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005566/14.65, allocations: 2.174 MB / 4.552 GB, free: 18.26 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001187/14.65, allocations: 325.5 kB / 4.552 GB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005098/14.65, allocations: 26.56 kB / 4.552 GB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002055/14.65, allocations: 78.77 kB / 4.552 GB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003036/14.65, allocations: 73.28 kB / 4.552 GB, free: 18.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/14.65, allocations: 61.05 kB / 4.552 GB, free: 18.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001104/14.65, allocations: 0.5063 MB / 4.553 GB, free: 18.01 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.703e-06/14.65, allocations: 2.156 kB / 4.553 GB, free: 18.01 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007202/14.66, allocations: 1.343 MB / 4.554 GB, free: 17.78 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.01391/14.67, allocations: 5.076 MB / 4.559 GB, free: 16.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007207/14.68, allocations: 2.459 MB / 4.562 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/14.68, allocations: 3.312 kB / 4.562 GB, free: 15.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002082/14.68, allocations: 0.6484 MB / 4.562 GB, free: 15.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004252/14.69, allocations: 456.6 kB / 4.563 GB, free: 15.68 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01125/14.7, allocations: 2.623 MB / 4.565 GB, free: 15.01 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/14.7, allocations: 1.138 MB / 4.566 GB, free: 30.31 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004445/14.7, allocations: 0.665 MB / 4.567 GB, free: 30.26 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001238/14.7, allocations: 409.9 kB / 4.567 GB, free: 30.25 MB / 442.7 MB Notification: Performance of SimCode: time 1.543e-06/14.7, allocations: 3.609 kB / 4.567 GB, free: 30.25 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5036/15.21, allocations: 64.64 MB / 4.631 GB, free: 49.23 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/15.21, allocations: 214 kB / 4.631 GB, free: 49.02 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.966/21.17, allocations: 0 / 4.631 GB, free: 49.02 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