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.871/1.871, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 2.846e-05/2.86e-05, allocations: 0 / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2827/0.2828, allocations: 38.77 MB / 263.9 MB, free: 9.809 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.22/11.5, allocations: 3.66 GB / 3.918 GB, free: 40.94 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/11.5, allocations: 81.95 kB / 3.918 GB, free: 40.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.331/14.83, allocations: 0.5462 GB / 4.464 GB, free: 28.9 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.234e-06/14.83, allocations: 0 / 4.464 GB, free: 28.9 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001068/14.83, allocations: 28.64 kB / 4.464 GB, free: 28.9 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.0132/14.85, allocations: 2.988 MB / 4.467 GB, free: 27.12 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.597e-05/14.85, allocations: 15.81 kB / 4.467 GB, free: 27.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006052/14.85, allocations: 149.3 kB / 4.467 GB, free: 27.07 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008274/14.85, allocations: 128.3 kB / 4.467 GB, free: 27.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002676/14.85, allocations: 0.7281 MB / 4.468 GB, free: 26.73 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002048/14.85, allocations: 136.4 kB / 4.468 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004207/14.85, allocations: 90.81 kB / 4.468 GB, free: 26.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003823/14.85, allocations: 1.408 MB / 4.469 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/14.85, allocations: 3.594 kB / 4.469 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/14.86, allocations: 39.72 kB / 4.469 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/14.86, allocations: 63.58 kB / 4.47 GB, free: 26.43 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003654/14.86, allocations: 1.396 MB / 4.471 GB, free: 26.41 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.01443/14.87, allocations: 5.781 MB / 4.477 GB, free: 23.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002905/14.88, allocations: 0.8801 MB / 4.477 GB, free: 23.64 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/14.88, allocations: 485.4 kB / 4.478 GB, free: 23.63 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001766/14.88, allocations: 1.754 MB / 4.48 GB, free: 21.75 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.905e-05/14.88, allocations: 43.59 kB / 4.48 GB, free: 21.71 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000959/14.88, allocations: 102 kB / 4.48 GB, free: 21.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 3.777e-06/14.88, allocations: 0 / 4.48 GB, free: 21.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.02627/14.91, allocations: 4.309 MB / 4.484 GB, free: 21.16 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.217e-05/14.91, allocations: 115.2 kB / 4.484 GB, free: 21.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001272/14.91, allocations: 0.6518 MB / 4.485 GB, free: 20.89 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000336/14.91, allocations: 43.33 kB / 4.485 GB, free: 20.86 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/14.91, allocations: 468.2 kB / 4.485 GB, free: 20.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00045/14.91, allocations: 338.3 kB / 4.485 GB, free: 20.35 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001358/14.91, allocations: 26.56 kB / 4.486 GB, free: 20.33 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001843/14.91, allocations: 402.1 kB / 4.486 GB, free: 19.98 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001533/14.91, allocations: 0.5323 MB / 4.486 GB, free: 19.79 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/14.91, allocations: 0.9167 MB / 4.487 GB, free: 19.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001825/14.92, allocations: 0.7361 MB / 4.488 GB, free: 18.78 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.088e-05/14.92, allocations: 6.594 kB / 4.488 GB, free: 18.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.005044/14.92, allocations: 1.747 MB / 4.49 GB, free: 18.08 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001171/14.92, allocations: 4.756 MB / 4.494 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.903e-05/14.92, allocations: 14.47 kB / 4.494 GB, free: 12.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/14.92, allocations: 249.6 kB / 4.495 GB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002363/14.93, allocations: 282.5 kB / 4.495 GB, free: 12.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001315/14.93, allocations: 0.8184 MB / 4.496 GB, free: 12.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002442/14.93, allocations: 128.7 kB / 4.496 GB, free: 12.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004153/14.93, allocations: 76.05 kB / 4.496 GB, free: 12.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/14.93, allocations: 3.969 kB / 4.496 GB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004696/14.93, allocations: 1.634 MB / 4.497 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.95e-05/14.94, allocations: 11.72 kB / 4.498 GB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00164/14.94, allocations: 246.4 kB / 4.498 GB, free: 11.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002283/14.94, allocations: 282.9 kB / 4.498 GB, free: 11.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/14.94, allocations: 0.8118 MB / 4.499 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00225/14.94, allocations: 111 kB / 4.499 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004076/14.94, allocations: 82.2 kB / 4.499 GB, free: 10.77 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.0005833/14.94, allocations: 192.2 kB / 4.499 GB, free: 10.58 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003487/14.94, allocations: 102.7 kB / 4.499 GB, free: 10.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005018/14.95, allocations: 1.732 MB / 4.501 GB, free: 9.008 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.288e-05/14.95, allocations: 12 kB / 4.501 GB, free: 8.996 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/14.95, allocations: 4 kB / 4.501 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/14.95, allocations: 7.125 kB / 4.501 GB, free: 8.992 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007149/14.96, allocations: 2.775 MB / 4.504 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.245e-05/14.96, allocations: 0 / 4.504 GB, free: 6.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001643/14.96, allocations: 180.6 kB / 4.504 GB, free: 6.516 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002359/14.96, allocations: 308 kB / 4.504 GB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002883/14.96, allocations: 39.22 kB / 4.504 GB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001115/14.96, allocations: 0.7872 MB / 4.505 GB, free: 5.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.232e-06/14.96, allocations: 4.031 kB / 4.505 GB, free: 5.477 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005062/14.97, allocations: 2.176 MB / 4.507 GB, free: 3.441 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/14.97, allocations: 324.8 kB / 4.507 GB, free: 3.148 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003844/14.97, allocations: 27.56 kB / 4.507 GB, free: 3.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001882/14.97, allocations: 78.23 kB / 4.508 GB, free: 3.062 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002375/14.97, allocations: 74.17 kB / 4.508 GB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/14.97, allocations: 65.03 kB / 4.508 GB, free: 2.957 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001048/14.97, allocations: 0.5108 MB / 4.508 GB, free: 2.496 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/14.97, allocations: 0 / 4.508 GB, free: 2.496 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.007346/14.98, allocations: 1.342 MB / 4.509 GB, free: 1.191 MB / 378.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.01315/14.99, allocations: 5.096 MB / 4.514 GB, free: 12.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007128/15, allocations: 2.4 MB / 4.517 GB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/15, allocations: 1 kB / 4.517 GB, free: 10.5 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002017/15, allocations: 0.6532 MB / 4.517 GB, free: 9.902 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004125/15.01, allocations: 460.3 kB / 4.518 GB, free: 9.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/15.02, allocations: 2.638 MB / 4.52 GB, free: 7.242 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009616/15.02, allocations: 1.138 MB / 4.522 GB, free: 6.234 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004058/15.02, allocations: 0.6624 MB / 4.522 GB, free: 5.777 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001163/15.02, allocations: 408.8 kB / 4.523 GB, free: 5.418 MB / 394.7 MB Notification: Performance of SimCode: time 1.172e-06/15.02, allocations: 0 / 4.523 GB, free: 5.418 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5561/15.58, allocations: 64.7 MB / 4.586 GB, free: 36.83 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002311/15.58, allocations: 217.9 kB / 4.586 GB, free: 36.61 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.562/21.14, allocations: 0 / 4.586 GB, free: 36.61 MB / 394.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