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.049/2.049, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.714e-05/2.725e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3348/0.3349, allocations: 44.49 MB / 294.2 MB, free: 14.3 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.45/11.79, allocations: 3.665 GB / 3.952 GB, free: 105.5 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002856/11.79, allocations: 81.47 kB / 3.952 GB, free: 105.5 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.149/14.94, allocations: 0.5446 GB / 4.497 GB, free: 44.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.054e-06/14.94, allocations: 0 / 4.497 GB, free: 44.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001108/14.94, allocations: 19.31 kB / 4.497 GB, free: 44.33 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.01352/14.95, allocations: 2.984 MB / 4.5 GB, free: 42.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.277e-05/14.95, allocations: 15.64 kB / 4.5 GB, free: 42.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/14.95, allocations: 125.7 kB / 4.5 GB, free: 42.5 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002661/14.96, allocations: 0.7357 MB / 4.501 GB, free: 42.2 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/14.96, allocations: 99.28 kB / 4.501 GB, free: 42.13 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/14.96, allocations: 51.47 kB / 4.501 GB, free: 42.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003346/14.96, allocations: 1.287 MB / 4.502 GB, free: 42.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003072/14.96, allocations: 1.29 MB / 4.503 GB, free: 41.89 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.285e-05/14.96, allocations: 3.719 kB / 4.503 GB, free: 41.89 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/14.96, allocations: 0 / 4.503 GB, free: 41.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000132/14.96, allocations: 67.38 kB / 4.504 GB, free: 41.89 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.01346/14.98, allocations: 6.362 MB / 4.51 GB, free: 38.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002268/14.98, allocations: 0.7954 MB / 4.511 GB, free: 37.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009613/14.98, allocations: 431.4 kB / 4.511 GB, free: 37.77 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/14.98, allocations: 1.237 MB / 4.512 GB, free: 36.42 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.029e-05/14.98, allocations: 46.38 kB / 4.512 GB, free: 36.38 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008598/14.98, allocations: 76.5 kB / 4.512 GB, free: 36.34 MB / 426.7 MB Notification: Performance of pre-optimization done (n=76): time 4.118e-06/14.98, allocations: 0 / 4.512 GB, free: 36.34 MB / 426.7 MB Notification: Performance of matching and sorting (n=88): time 0.02551/15.01, allocations: 4.133 MB / 4.516 GB, free: 35.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.276e-05/15.01, allocations: 116.1 kB / 4.516 GB, free: 34.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009857/15.01, allocations: 0.559 MB / 4.517 GB, free: 34.7 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001791/15.01, allocations: 28.45 kB / 4.517 GB, free: 34.66 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003427/15.01, allocations: 493.5 kB / 4.517 GB, free: 34.27 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003254/15.01, allocations: 309.2 kB / 4.518 GB, free: 34.04 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/15.01, allocations: 0 / 4.518 GB, free: 34.04 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/15.01, allocations: 394.6 kB / 4.518 GB, free: 33.69 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0012/15.01, allocations: 0.5189 MB / 4.519 GB, free: 33.48 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/15.01, allocations: 0.8898 MB / 4.519 GB, free: 32.78 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008308/15.02, allocations: 1.342 MB / 4.521 GB, free: 32.45 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.487e-05/15.02, allocations: 5.969 kB / 4.521 GB, free: 32.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.0117/15.03, allocations: 2.272 MB / 4.523 GB, free: 31.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001487/15.03, allocations: 4.75 MB / 4.528 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.811e-05/15.03, allocations: 11.78 kB / 4.528 GB, free: 26.68 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/15.04, allocations: 249.2 kB / 4.528 GB, free: 26.58 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002376/15.04, allocations: 292.6 kB / 4.528 GB, free: 26.33 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001407/15.04, allocations: 0.8349 MB / 4.529 GB, free: 25.51 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002373/15.04, allocations: 96.47 kB / 4.529 GB, free: 25.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002711/15.04, allocations: 81.98 kB / 4.529 GB, free: 25.37 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/15.04, allocations: 4.625 kB / 4.529 GB, free: 25.37 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01078/15.05, allocations: 2.125 MB / 4.531 GB, free: 23.63 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.217e-05/15.05, allocations: 15.94 kB / 4.531 GB, free: 23.62 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001515/15.05, allocations: 244.1 kB / 4.532 GB, free: 23.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002116/15.06, allocations: 287.4 kB / 4.532 GB, free: 23.19 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/15.06, allocations: 0.8431 MB / 4.533 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/15.06, allocations: 81.91 kB / 4.533 GB, free: 22.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/15.06, allocations: 81.28 kB / 4.533 GB, free: 22.23 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.0005164/15.06, allocations: 151.3 kB / 4.533 GB, free: 22.08 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.009819/15.07, allocations: 1.724 MB / 4.535 GB, free: 20.69 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/15.07, allocations: 86.97 kB / 4.535 GB, free: 20.6 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005961/15.08, allocations: 1.691 MB / 4.536 GB, free: 19.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/15.08, allocations: 12 kB / 4.536 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/15.08, allocations: 0 / 4.536 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/15.08, allocations: 7.359 kB / 4.536 GB, free: 19.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008486/15.09, allocations: 3.251 MB / 4.54 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/15.09, allocations: 8.031 kB / 4.54 GB, free: 16.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/15.09, allocations: 174.3 kB / 4.54 GB, free: 16.24 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00214/15.09, allocations: 305.9 kB / 4.54 GB, free: 16.02 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001221/15.09, allocations: 31.12 kB / 4.54 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001221/15.09, allocations: 0.8088 MB / 4.541 GB, free: 15.2 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/15.09, allocations: 7.969 kB / 4.541 GB, free: 15.19 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006029/15.1, allocations: 2.335 MB / 4.543 GB, free: 12.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009642/15.1, allocations: 310.6 kB / 4.543 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000282/15.1, allocations: 12 kB / 4.543 GB, free: 12.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001564/15.1, allocations: 66.53 kB / 4.543 GB, free: 12.66 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001973/15.1, allocations: 71.33 kB / 4.544 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001777/15.1, allocations: 55.3 kB / 4.544 GB, free: 12.57 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008561/15.1, allocations: 427.5 kB / 4.544 GB, free: 12.19 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/15.1, allocations: 0 / 4.544 GB, free: 12.19 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006314/15.11, allocations: 1.254 MB / 4.545 GB, free: 10.98 MB / 426.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.01498/15.12, allocations: 5.808 MB / 4.551 GB, free: 5.82 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006397/15.13, allocations: 2.325 MB / 4.553 GB, free: 3.641 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/15.13, allocations: 0 / 4.553 GB, free: 3.641 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00176/15.13, allocations: 0.6009 MB / 4.554 GB, free: 3.098 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003543/15.13, allocations: 386.6 kB / 4.554 GB, free: 2.82 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01063/15.15, allocations: 2.545 MB / 4.557 GB, free: 368 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.351/15.5, allocations: 1.131 MB / 4.558 GB, free: 41.78 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004674/15.5, allocations: 0.5929 MB / 4.558 GB, free: 41.77 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/15.5, allocations: 397.3 kB / 4.559 GB, free: 41.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.433e-06/15.5, allocations: 1.25 kB / 4.559 GB, free: 41.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1489/15.65, allocations: 49.76 MB / 4.607 GB, free: 39.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/15.65, allocations: 163.6 kB / 4.607 GB, free: 39.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.198/20.85, allocations: 0 / 4.607 GB, free: 39.64 MB / 426.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