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.881/1.881, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.978e-05/3.971e-05, allocations: 4 kB / 225.1 MB, free: 2.246 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3072/0.3073, allocations: 38.77 MB / 263.9 MB, free: 9.707 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1513/0.4586, allocations: 70.91 MB / 334.8 MB, free: 2.691 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003357/0.459, allocations: 67.97 kB / 334.8 MB, free: 2.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04687/0.5059, allocations: 9.431 MB / 344.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.506, allocations: 0 / 344.3 MB, free: 9.133 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.116e-05/0.506, allocations: 8 kB / 344.3 MB, free: 9.125 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.001862/0.5079, allocations: 0.722 MB / 345 MB, free: 8.348 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.508, allocations: 8.031 kB / 345 MB, free: 8.34 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/0.5082, allocations: 79.23 kB / 345.1 MB, free: 8.254 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001828/0.5084, allocations: 63.25 kB / 345.2 MB, free: 8.191 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008444/0.5092, allocations: 377.9 kB / 345.5 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001469/0.5094, allocations: 62.81 kB / 345.6 MB, free: 7.719 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.557e-05/0.5095, allocations: 39.94 kB / 345.6 MB, free: 7.68 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.5106, allocations: 449.3 kB / 346.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.213e-05/0.5107, allocations: 0 / 346.1 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.374e-05/0.5107, allocations: 16 kB / 346.1 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.5108, allocations: 8 kB / 346.1 MB, free: 7.16 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008135/0.5116, allocations: 261.5 kB / 346.3 MB, free: 6.906 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.5152, allocations: 1.288 MB / 347.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000871/0.5161, allocations: 363.8 kB / 348 MB, free: 5.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003991/0.5165, allocations: 148.9 kB / 348.1 MB, free: 5.012 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.805e-05/0.5166, allocations: 15.97 kB / 348.1 MB, free: 4.996 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.275e-05/0.5167, allocations: 38.56 kB / 348.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of pre-optimization done (n=36): time 3.316e-06/0.5167, allocations: 0 / 348.2 MB, free: 4.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=36): time 0.001177/0.5179, allocations: 359.2 kB / 348.5 MB, free: 4.586 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003034/0.5182, allocations: 444.9 kB / 349 MB, free: 4.047 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007887/0.519, allocations: 379.2 kB / 349.3 MB, free: 3.676 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.512e-05/0.5191, allocations: 33.7 kB / 349.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002692/0.5194, allocations: 244.3 kB / 349.6 MB, free: 3.395 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001717/0.5196, allocations: 122.1 kB / 349.7 MB, free: 3.273 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.675e-05/0.5196, allocations: 12 kB / 349.7 MB, free: 3.262 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001987/0.5198, allocations: 354.8 kB / 350.1 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003414/0.5202, allocations: 111.8 kB / 350.2 MB, free: 2.797 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000518/0.5207, allocations: 246.3 kB / 350.4 MB, free: 2.504 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004027/0.5211, allocations: 153 kB / 350.6 MB, free: 2.352 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.645e-06/0.5212, allocations: 3.953 kB / 350.6 MB, free: 2.348 MB / 298.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001228/0.5224, allocations: 424.5 kB / 351 MB, free: 1.914 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.858e-05/0.5225, allocations: 29.7 kB / 351 MB, free: 1.879 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.5225, allocations: 4.031 kB / 351 MB, free: 1.875 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002433/0.5227, allocations: 53.7 kB / 351.1 MB, free: 1.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008278/0.5236, allocations: 91.88 kB / 351.2 MB, free: 1.727 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003374/0.527, allocations: 2.725 MB / 353.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007718/0.5278, allocations: 63.7 kB / 354 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/0.5279, allocations: 12 kB / 354 MB, free: 14.65 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.0001908/0.5281, allocations: 138.2 kB / 354.1 MB, free: 14.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001331/0.5282, allocations: 51.42 kB / 354.2 MB, free: 14.46 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001584/0.5284, allocations: 48.75 kB / 354.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.743e-06/0.5284, allocations: 4 kB / 354.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5284, allocations: 0 / 354.2 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001009/0.5294, allocations: 0.6764 MB / 354.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002194/0.5316, allocations: 0.9583 MB / 355.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5317, allocations: 0 / 355.9 MB, free: 12.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/0.5326, allocations: 95.88 kB / 355.9 MB, free: 12.51 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-05/0.5326, allocations: 8 kB / 356 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.828e-05/0.5327, allocations: 4 kB / 356 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.785e-06/0.5327, allocations: 4 kB / 356 MB, free: 12.5 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.5327, allocations: 4 kB / 356 MB, free: 12.49 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001376/0.5341, allocations: 0.5539 MB / 356.5 MB, free: 11.92 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.5343, allocations: 132.5 kB / 356.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001098/0.5345, allocations: 8 kB / 356.7 MB, free: 11.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/0.5351, allocations: 36.05 kB / 356.7 MB, free: 11.73 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.5352, allocations: 27.95 kB / 356.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.388e-05/0.5352, allocations: 4 kB / 356.7 MB, free: 11.7 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00058/0.5358, allocations: 309.2 kB / 357 MB, free: 11.4 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.61e-07/0.5358, allocations: 0 / 357 MB, free: 11.4 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000725/0.5366, allocations: 139.8 kB / 357.2 MB, free: 11.26 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.001884/0.5385, allocations: 1.141 MB / 358.3 MB, free: 10.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001417/0.5399, allocations: 0.5456 MB / 358.8 MB, free: 9.516 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.54, allocations: 4 kB / 358.9 MB, free: 9.512 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004249/0.5404, allocations: 143.9 kB / 359 MB, free: 9.371 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001061/0.5415, allocations: 127.2 kB / 359.1 MB, free: 9.246 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002574/0.5441, allocations: 0.7519 MB / 359.9 MB, free: 8.457 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005505/0.5447, allocations: 0.8315 MB / 360.7 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0004091/0.5451, allocations: 60.25 kB / 360.8 MB, free: 7.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003712/0.5455, allocations: 159.4 kB / 360.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5455, allocations: 0 / 360.9 MB, free: 7.383 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2874/0.8329, allocations: 11.67 MB / 372.6 MB, free: 90.55 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002314/0.8332, allocations: 178.5 kB / 372.8 MB, free: 90.33 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.015/3.848, allocations: 7.938 kB / 372.8 MB, free: 90.32 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