Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.TraceSubstances.RoomCO2,fileNamePrefix="Modelica_trunk_Modelica_Fluid_Examples_TraceSubstances_RoomCO2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.23/2.23, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.476e-05/3.482e-05, allocations: 8 kB / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.1296, allocations: 50.41 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.79/10.92, allocations: 3.553 GB / 3.888 GB, free: 18.57 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002653/10.92, allocations: 88.39 kB / 3.888 GB, free: 18.52 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.091/14.01, allocations: 0.5349 GB / 4.423 GB, free: 4.648 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.953e-06/14.01, allocations: 4 kB / 4.423 GB, free: 4.645 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001317/14.01, allocations: 24 kB / 4.423 GB, free: 4.621 MB / 458.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.01306/14.02, allocations: 2.867 MB / 4.426 GB, free: 1.688 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/14.02, allocations: 16.88 kB / 4.426 GB, free: 1.672 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006424/14.02, allocations: 147.6 kB / 4.426 GB, free: 1.52 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000986/14.02, allocations: 126.7 kB / 4.426 GB, free: 1.395 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002776/14.03, allocations: 0.7207 MB / 4.427 GB, free: 0.6328 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001956/14.03, allocations: 137.3 kB / 4.427 GB, free: 496 kB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004596/14.03, allocations: 88 kB / 4.427 GB, free: 408 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/14.03, allocations: 1.42 MB / 4.428 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/14.03, allocations: 3.984 kB / 4.428 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002724/14.03, allocations: 36 kB / 4.428 GB, free: 14.86 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001622/14.03, allocations: 65.97 kB / 4.428 GB, free: 14.8 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004832/14.04, allocations: 1.394 MB / 4.43 GB, free: 13.41 MB / 474.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.01755/14.05, allocations: 6.05 MB / 4.436 GB, free: 7.004 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003397/14.06, allocations: 0.9466 MB / 4.436 GB, free: 6.051 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/14.06, allocations: 0.503 MB / 4.437 GB, free: 5.547 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002308/14.06, allocations: 1.805 MB / 4.439 GB, free: 3.352 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.12e-05/14.06, allocations: 51.33 kB / 4.439 GB, free: 3.293 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001128/14.06, allocations: 107 kB / 4.439 GB, free: 3.188 MB / 474.7 MB Notification: Performance of pre-optimization done (n=84): time 4.449e-06/14.06, allocations: 0 / 4.439 GB, free: 3.188 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.402/14.46, allocations: 4.388 MB / 4.443 GB, free: 47.58 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.554e-05/14.46, allocations: 114.6 kB / 4.443 GB, free: 47.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001755/14.47, allocations: 0.6785 MB / 4.444 GB, free: 47.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004062/14.47, allocations: 44.47 kB / 4.444 GB, free: 47.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004727/14.47, allocations: 451.4 kB / 4.444 GB, free: 47.1 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005013/14.47, allocations: 345.1 kB / 4.445 GB, free: 46.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001516/14.47, allocations: 26 kB / 4.445 GB, free: 46.93 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002068/14.47, allocations: 403.8 kB / 4.445 GB, free: 46.62 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001611/14.47, allocations: 0.5547 MB / 4.446 GB, free: 46.61 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/14.47, allocations: 0.8827 MB / 4.447 GB, free: 46.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002182/14.47, allocations: 0.7381 MB / 4.447 GB, free: 46.16 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/14.47, allocations: 2.844 kB / 4.447 GB, free: 46.16 MB / 474.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.005453/14.48, allocations: 1.742 MB / 4.449 GB, free: 45.99 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009948/14.48, allocations: 3.974 MB / 4.453 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.819e-05/14.48, allocations: 17.98 kB / 4.453 GB, free: 41.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001854/14.48, allocations: 247.7 kB / 4.453 GB, free: 41.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002492/14.48, allocations: 272.2 kB / 4.453 GB, free: 41.85 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001307/14.49, allocations: 0.8164 MB / 4.454 GB, free: 41.33 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002605/14.49, allocations: 112.5 kB / 4.454 GB, free: 41.33 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002857/14.49, allocations: 68.52 kB / 4.454 GB, free: 41.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/14.49, allocations: 3.406 kB / 4.454 GB, free: 41.33 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00496/14.49, allocations: 1.623 MB / 4.456 GB, free: 41.24 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.452e-05/14.49, allocations: 8.844 kB / 4.456 GB, free: 41.24 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001793/14.5, allocations: 245 kB / 4.456 GB, free: 41.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002451/14.5, allocations: 272 kB / 4.456 GB, free: 41.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001361/14.5, allocations: 0.818 MB / 4.457 GB, free: 40.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002317/14.5, allocations: 104.1 kB / 4.457 GB, free: 40.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003062/14.5, allocations: 72.39 kB / 4.457 GB, free: 40.71 MB / 474.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.000588/14.5, allocations: 186.7 kB / 4.458 GB, free: 40.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004025/14.5, allocations: 99.77 kB / 4.458 GB, free: 40.55 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005726/14.51, allocations: 1.835 MB / 4.459 GB, free: 40.42 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.549e-05/14.51, allocations: 15.08 kB / 4.459 GB, free: 40.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/14.51, allocations: 3.531 kB / 4.459 GB, free: 40.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.339e-05/14.51, allocations: 6.031 kB / 4.459 GB, free: 40.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008765/14.52, allocations: 2.965 MB / 4.462 GB, free: 39.93 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/14.52, allocations: 0 / 4.462 GB, free: 39.93 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001762/14.52, allocations: 186.1 kB / 4.463 GB, free: 39.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/14.52, allocations: 313.4 kB / 4.463 GB, free: 39.92 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002639/14.52, allocations: 41.84 kB / 4.463 GB, free: 39.92 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001152/14.52, allocations: 0.7861 MB / 4.464 GB, free: 39.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-06/14.52, allocations: 6.094 kB / 4.464 GB, free: 39.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/14.53, allocations: 2.274 MB / 4.466 GB, free: 38.99 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00109/14.53, allocations: 342.2 kB / 4.466 GB, free: 38.85 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002849/14.53, allocations: 28.52 kB / 4.466 GB, free: 38.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/14.53, allocations: 82.27 kB / 4.466 GB, free: 38.85 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/14.53, allocations: 76.36 kB / 4.466 GB, free: 38.84 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001933/14.53, allocations: 52.41 kB / 4.466 GB, free: 38.84 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001159/14.53, allocations: 0.5357 MB / 4.467 GB, free: 38.75 MB / 474.7 MB Notification: Performance of sort global known variables: time 5.01e-07/14.53, allocations: 0 / 4.467 GB, free: 38.75 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006466/14.54, allocations: 1.304 MB / 4.468 GB, free: 38.75 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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.01194/14.55, allocations: 5.127 MB / 4.473 GB, free: 37.23 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.009988/14.56, allocations: 2.447 MB / 4.476 GB, free: 36.96 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.585e-05/14.56, allocations: 448 / 4.476 GB, free: 36.96 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002513/14.57, allocations: 0.6726 MB / 4.476 GB, free: 36.96 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004651/14.57, allocations: 0.4925 MB / 4.477 GB, free: 36.94 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01108/14.58, allocations: 2.621 MB / 4.479 GB, free: 36.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007702/14.58, allocations: 1.143 MB / 4.48 GB, free: 35.89 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.003934/14.59, allocations: 0.7489 MB / 4.481 GB, free: 35.86 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009174/14.59, allocations: 398 kB / 4.482 GB, free: 35.86 MB / 474.7 MB Notification: Performance of SimCode: time 1.432e-06/14.59, allocations: 0 / 4.482 GB, free: 35.86 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1514/14.74, allocations: 64.76 MB / 4.545 GB, free: 33.48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/14.74, allocations: 222.2 kB / 4.545 GB, free: 33.25 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.996/20.73, allocations: 4 kB / 4.545 GB, free: 33.25 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Fluid.Examples.TraceSubstances.RoomCO2_res.mat does not exist to compare? outputFormat=mat