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.699/1.699, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.758e-05/3.772e-05, allocations: 7.984 kB / 225.1 MB, free: 2.141 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2682, allocations: 38.76 MB / 263.8 MB, free: 9.801 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.83/11.1, allocations: 3.66 GB / 3.918 GB, free: 40.19 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/11.1, allocations: 80.77 kB / 3.918 GB, free: 40.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.153/14.26, allocations: 0.5462 GB / 4.464 GB, free: 28.34 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.684e-06/14.26, allocations: 0 / 4.464 GB, free: 28.34 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.775e-05/14.26, allocations: 23.88 kB / 4.464 GB, free: 28.33 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.01186/14.27, allocations: 2.985 MB / 4.467 GB, free: 26.54 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.024e-05/14.27, allocations: 13.59 kB / 4.467 GB, free: 26.53 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004979/14.27, allocations: 144.9 kB / 4.467 GB, free: 26.49 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007213/14.27, allocations: 126.2 kB / 4.467 GB, free: 26.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002467/14.27, allocations: 0.7366 MB / 4.468 GB, free: 26.14 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001575/14.27, allocations: 134 kB / 4.468 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003069/14.27, allocations: 91.41 kB / 4.468 GB, free: 26.07 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003614/14.28, allocations: 1.427 MB / 4.469 GB, free: 25.83 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.582e-05/14.28, allocations: 3.516 kB / 4.469 GB, free: 25.83 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002338/14.28, allocations: 42.88 kB / 4.469 GB, free: 25.83 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000124/14.28, allocations: 66.03 kB / 4.47 GB, free: 25.83 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003691/14.28, allocations: 1.413 MB / 4.471 GB, free: 25.81 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.01278/14.29, allocations: 5.775 MB / 4.477 GB, free: 23.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002624/14.3, allocations: 0.8834 MB / 4.477 GB, free: 23.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001115/14.3, allocations: 494.3 kB / 4.478 GB, free: 23.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001638/14.3, allocations: 1.754 MB / 4.48 GB, free: 21.14 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.114e-05/14.3, allocations: 49.41 kB / 4.48 GB, free: 21.1 MB / 378.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009187/14.3, allocations: 107.3 kB / 4.48 GB, free: 21.05 MB / 378.7 MB Notification: Performance of pre-optimization done (n=82): time 4.068e-06/14.3, allocations: 0 / 4.48 GB, free: 21.05 MB / 378.7 MB Notification: Performance of matching and sorting (n=94): time 0.02547/14.33, allocations: 4.295 MB / 4.484 GB, free: 20.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/14.33, allocations: 117.1 kB / 4.484 GB, free: 20.43 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001225/14.33, allocations: 0.6566 MB / 4.485 GB, free: 20.25 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002832/14.33, allocations: 44.11 kB / 4.485 GB, free: 20.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003377/14.33, allocations: 464.4 kB / 4.485 GB, free: 19.84 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003797/14.33, allocations: 335.6 kB / 4.485 GB, free: 19.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001307/14.33, allocations: 26 kB / 4.486 GB, free: 19.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001609/14.33, allocations: 403.5 kB / 4.486 GB, free: 19.22 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00142/14.33, allocations: 0.5369 MB / 4.486 GB, free: 19.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00162/14.33, allocations: 0.9248 MB / 4.487 GB, free: 18.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001695/14.33, allocations: 0.7447 MB / 4.488 GB, free: 18.01 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/14.33, allocations: 0 / 4.488 GB, free: 18.01 MB / 378.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004558/14.34, allocations: 1.779 MB / 4.49 GB, free: 17.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001025/14.34, allocations: 4.759 MB / 4.494 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.21e-05/14.34, allocations: 11.28 kB / 4.494 GB, free: 12.19 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001763/14.34, allocations: 242.6 kB / 4.495 GB, free: 12.13 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002288/14.34, allocations: 288.8 kB / 4.495 GB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/14.34, allocations: 0.8161 MB / 4.496 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002237/14.35, allocations: 121.3 kB / 4.496 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002668/14.35, allocations: 78.64 kB / 4.496 GB, free: 11.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/14.35, allocations: 3.188 kB / 4.496 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004223/14.35, allocations: 1.663 MB / 4.498 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.505e-05/14.35, allocations: 11.59 kB / 4.498 GB, free: 10.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/14.35, allocations: 248.8 kB / 4.498 GB, free: 10.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002168/14.35, allocations: 288.6 kB / 4.498 GB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/14.36, allocations: 0.8175 MB / 4.499 GB, free: 10 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002045/14.36, allocations: 111.2 kB / 4.499 GB, free: 9.965 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002239/14.36, allocations: 85.75 kB / 4.499 GB, free: 9.895 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.000498/14.36, allocations: 188.5 kB / 4.499 GB, free: 9.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000293/14.36, allocations: 98.88 kB / 4.499 GB, free: 9.605 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/14.36, allocations: 1.738 MB / 4.501 GB, free: 8.125 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.869e-05/14.36, allocations: 16 kB / 4.501 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/14.36, allocations: 0 / 4.501 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.578e-05/14.36, allocations: 7.078 kB / 4.501 GB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00636/14.37, allocations: 2.775 MB / 4.504 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.985e-06/14.37, allocations: 0 / 4.504 GB, free: 5.777 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001558/14.37, allocations: 176.7 kB / 4.504 GB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002238/14.37, allocations: 321.4 kB / 4.504 GB, free: 5.395 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001867/14.37, allocations: 41.44 kB / 4.504 GB, free: 5.359 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001099/14.38, allocations: 0.785 MB / 4.505 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.227e-06/14.38, allocations: 0 / 4.505 GB, free: 4.586 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004878/14.38, allocations: 2.175 MB / 4.507 GB, free: 2.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/14.38, allocations: 324.5 kB / 4.508 GB, free: 2.25 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002894/14.38, allocations: 27.84 kB / 4.508 GB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/14.38, allocations: 72.92 kB / 4.508 GB, free: 2.172 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000198/14.38, allocations: 80.23 kB / 4.508 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001779/14.38, allocations: 59.36 kB / 4.508 GB, free: 2.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0009791/14.38, allocations: 0.5055 MB / 4.508 GB, free: 1.613 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.8e-07/14.38, allocations: 4 kB / 4.508 GB, free: 1.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00586/14.39, allocations: 1.341 MB / 4.51 GB, free: 316 kB / 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.01306/14.4, allocations: 5.072 MB / 4.514 GB, free: 11.87 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.007147/14.41, allocations: 2.451 MB / 4.517 GB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.01e-05/14.41, allocations: 0 / 4.517 GB, free: 9.566 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001982/14.41, allocations: 0.6545 MB / 4.518 GB, free: 8.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004021/14.42, allocations: 453.9 kB / 4.518 GB, free: 8.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/14.43, allocations: 2.635 MB / 4.521 GB, free: 6.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001064/14.43, allocations: 1.14 MB / 4.522 GB, free: 5.312 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.00408/14.43, allocations: 0.6635 MB / 4.522 GB, free: 4.852 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/14.43, allocations: 406.3 kB / 4.523 GB, free: 4.492 MB / 394.7 MB Notification: Performance of SimCode: time 1.322e-06/14.43, allocations: 0 / 4.523 GB, free: 4.492 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4503/14.88, allocations: 64.65 MB / 4.586 GB, free: 37.28 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/14.89, allocations: 212.8 kB / 4.586 GB, free: 37.05 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.609/20.49, allocations: 1.422 kB / 4.586 GB, free: 37.05 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