Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.OneMass,fileNamePrefix="Modelica_3_2_1_Modelica_Thermal_FluidHeatFlow_Examples_OneMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.124e-05/4.153e-05, allocations: 4 kB / 225.1 MB, free: 2.262 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2656, allocations: 38.77 MB / 263.8 MB, free: 9.719 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.421, allocations: 70.89 MB / 334.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002771/0.4213, allocations: 67.95 kB / 334.8 MB, free: 2.652 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.042/0.4634, allocations: 9.439 MB / 344.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.4634, allocations: 0 / 344.2 MB, free: 9.152 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.089e-05/0.4635, allocations: 8 kB / 344.3 MB, free: 9.145 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.001776/0.4653, allocations: 0.722 MB / 345 MB, free: 8.367 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.4653, allocations: 15.97 kB / 345 MB, free: 8.352 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001602/0.4655, allocations: 79.25 kB / 345.1 MB, free: 8.266 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.4657, allocations: 63.25 kB / 345.1 MB, free: 8.203 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008217/0.4665, allocations: 373.9 kB / 345.5 MB, free: 7.801 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001397/0.4667, allocations: 58.81 kB / 345.6 MB, free: 7.738 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.987e-05/0.4668, allocations: 39.95 kB / 345.6 MB, free: 7.699 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.4678, allocations: 447 kB / 346 MB, free: 7.203 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.859e-05/0.4679, allocations: 3.938 kB / 346 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.304e-05/0.4679, allocations: 16 kB / 346.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.328e-05/0.4679, allocations: 8 kB / 346.1 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008815/0.4688, allocations: 275.1 kB / 346.3 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003408/0.4723, allocations: 1.28 MB / 347.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008751/0.4732, allocations: 375.7 kB / 348 MB, free: 5.156 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004109/0.4736, allocations: 148.8 kB / 348.1 MB, free: 5.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.4737, allocations: 4 kB / 348.1 MB, free: 5.004 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.366e-05/0.4737, allocations: 42.56 kB / 348.2 MB, free: 4.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 5.31e-06/0.4738, allocations: 3.984 kB / 348.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001257/0.475, allocations: 379.1 kB / 348.5 MB, free: 4.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002513/0.4753, allocations: 441 kB / 349 MB, free: 4.031 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007569/0.4761, allocations: 383.2 kB / 349.3 MB, free: 3.656 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.361e-05/0.4762, allocations: 33.7 kB / 349.4 MB, free: 3.617 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.4764, allocations: 244.3 kB / 349.6 MB, free: 3.375 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000167/0.4766, allocations: 126.2 kB / 349.7 MB, free: 3.25 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.391e-05/0.4767, allocations: 8 kB / 349.7 MB, free: 3.242 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0002153/0.4769, allocations: 362.7 kB / 350.1 MB, free: 2.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/0.4773, allocations: 111.8 kB / 350.2 MB, free: 2.77 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005219/0.4778, allocations: 238.4 kB / 350.4 MB, free: 2.484 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004074/0.4782, allocations: 156.8 kB / 350.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.518e-06/0.4782, allocations: 0 / 350.6 MB, free: 2.328 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001313/0.4796, allocations: 440.4 kB / 351 MB, free: 1.879 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.302e-05/0.4796, allocations: 38.8 kB / 351.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.126e-06/0.4797, allocations: 0 / 351.1 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003956/0.4801, allocations: 65.61 kB / 351.1 MB, free: 1.766 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008225/0.4809, allocations: 87.89 kB / 351.2 MB, free: 1.68 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003318/0.4842, allocations: 2.729 MB / 353.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007341/0.485, allocations: 71.55 kB / 354 MB, free: 14.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.684e-05/0.4851, allocations: 12 kB / 354 MB, free: 14.59 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {3 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002007/0.4853, allocations: 129.6 kB / 354.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001275/0.4854, allocations: 51.44 kB / 354.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001689/0.4856, allocations: 53.41 kB / 354.3 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/0.4856, allocations: 7.984 kB / 354.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.4856, allocations: 0 / 354.3 MB, free: 14.35 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001284/0.4869, allocations: 0.6686 MB / 354.9 MB, free: 13.58 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.4896, allocations: 0.9621 MB / 355.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.4897, allocations: 4 kB / 355.9 MB, free: 12.55 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000878/0.4906, allocations: 95.88 kB / 356 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/0.4906, allocations: 8 kB / 356 MB, free: 12.45 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.102e-05/0.4907, allocations: 7.984 kB / 356 MB, free: 12.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4907, allocations: 4 kB / 356 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.4907, allocations: 3.953 kB / 356 MB, free: 12.43 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.492, allocations: 0.5577 MB / 356.6 MB, free: 11.86 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000228/0.4923, allocations: 124.5 kB / 356.7 MB, free: 11.71 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/0.4924, allocations: 12 kB / 356.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005504/0.493, allocations: 36.03 kB / 356.7 MB, free: 11.67 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4931, allocations: 23.97 kB / 356.8 MB, free: 11.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.611e-05/0.4931, allocations: 11.95 kB / 356.8 MB, free: 11.63 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005881/0.4937, allocations: 309.2 kB / 357.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.4938, allocations: 0 / 357.1 MB, free: 11.33 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006756/0.4944, allocations: 139.8 kB / 357.2 MB, free: 11.2 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (pipe.T,heatCapacitor.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001807/0.4963, allocations: 1.125 MB / 358.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001397/0.4977, allocations: 0.5668 MB / 358.9 MB, free: 9.438 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.4977, allocations: 4.125 kB / 358.9 MB, free: 9.434 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004801/0.4982, allocations: 148.5 kB / 359.1 MB, free: 9.289 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001106/0.4993, allocations: 122 kB / 359.2 MB, free: 9.172 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002706/0.5021, allocations: 0.755 MB / 359.9 MB, free: 8.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005719/0.5027, allocations: 0.8354 MB / 360.8 MB, free: 7.512 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004589/0.5032, allocations: 60.23 kB / 360.8 MB, free: 7.453 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003759/0.5036, allocations: 159.4 kB / 361 MB, free: 7.301 MB / 314.7 MB Notification: Performance of SimCode: time 1.052e-06/0.5036, allocations: 0 / 361 MB, free: 7.301 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3225/0.8261, allocations: 11.71 MB / 372.7 MB, free: 90.62 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002615/0.8264, allocations: 192.8 kB / 372.9 MB, free: 90.39 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.172/3.999, allocations: 0 / 372.9 MB, free: 90.39 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Thermal.FluidHeatFlow.Examples.OneMass_res.mat does not exist to compare? outputFormat=mat