Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoMass,fileNamePrefix="Modelica_3_2_2_Modelica_Thermal_FluidHeatFlow_Examples_TwoMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.366/2.366, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.876e-05/3.883e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3886/0.3887, allocations: 44.49 MB / 294.2 MB, free: 14.34 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1643/0.5531, allocations: 76.5 MB / 370.7 MB, free: 5.348 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002772/0.5534, allocations: 71.97 kB / 370.8 MB, free: 5.277 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07917/0.6326, allocations: 15.48 MB / 386.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.006e-06/0.6327, allocations: 0 / 386.3 MB, free: 5.695 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.51e-05/0.6328, allocations: 12 kB / 386.3 MB, free: 5.684 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.004107/0.6369, allocations: 1.049 MB / 387.3 MB, free: 4.57 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.343e-05/0.637, allocations: 12.03 kB / 387.3 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005254/0.6375, allocations: 98.97 kB / 387.4 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001852/0.6394, allocations: 0.5197 MB / 388 MB, free: 3.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003746/0.6398, allocations: 122.4 kB / 388.1 MB, free: 3.762 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001958/0.64, allocations: 36 kB / 388.1 MB, free: 3.727 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00199/0.642, allocations: 474.5 kB / 388.6 MB, free: 3.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002144/0.6442, allocations: 0.6813 MB / 389.3 MB, free: 2.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.6443, allocations: 4 kB / 389.3 MB, free: 2.477 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001203/0.6444, allocations: 3.938 kB / 389.3 MB, free: 2.473 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.69e-05/0.6444, allocations: 12 kB / 389.3 MB, free: 2.461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007508/0.652, allocations: 1.95 MB / 391.2 MB, free: 436 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002384/0.6544, allocations: 0.8787 MB / 392.1 MB, free: 15.46 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.6556, allocations: 303.2 kB / 392.4 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.6558, allocations: 16.77 kB / 392.4 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.102e-05/0.6559, allocations: 47.28 kB / 392.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of pre-optimization done (n=74): time 5.821e-06/0.6559, allocations: 4 kB / 392.5 MB, free: 15.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=74): time 0.004974/0.6609, allocations: 0.8343 MB / 393.3 MB, free: 14.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0005814/0.6615, allocations: 0.8235 MB / 394.1 MB, free: 13.21 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001446/0.663, allocations: 468.3 kB / 394.6 MB, free: 12.75 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002937/0.6633, allocations: 29.7 kB / 394.6 MB, free: 12.71 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004875/0.6638, allocations: 317 kB / 394.9 MB, free: 12.4 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004837/0.6643, allocations: 256.2 kB / 395.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.215e-05/0.6644, allocations: 0 / 395.2 MB, free: 12.14 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003043/0.6647, allocations: 378.8 kB / 395.5 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008851/0.6656, allocations: 205.5 kB / 395.7 MB, free: 11.57 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.6671, allocations: 467.2 kB / 396.2 MB, free: 11.01 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001008/0.6681, allocations: 247.7 kB / 396.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6682, allocations: 0 / 396.4 MB, free: 10.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.005012/0.6732, allocations: 0.8891 MB / 397.3 MB, free: 9.863 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001311/0.6734, allocations: 85.11 kB / 397.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.6734, allocations: 0 / 397.4 MB, free: 9.762 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001402/0.6748, allocations: 211.3 kB / 397.6 MB, free: 9.543 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.6765, allocations: 143.8 kB / 397.8 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01315/0.6897, allocations: 6.024 MB / 403.8 MB, free: 2.918 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/0.6915, allocations: 95.44 kB / 403.9 MB, free: 2.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001311/0.6917, allocations: 28.22 kB / 403.9 MB, free: 2.797 MB / 346.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: ambient2.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_b.h:VARIABLE(flow=false unit = "J/kg" ) type: Real Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: pipe1.flowPort_a.h:VARIABLE(flow=false unit = "J/kg" ) type: Real ambient1.flowPort.h:VARIABLE(flow=false unit = "J/kg" ) type: Real 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 (69): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {3 3,1 3,1 7,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0004944/0.6922, allocations: 140.6 kB / 404 MB, free: 2.652 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005468/0.6977, allocations: 0.8305 MB / 404.9 MB, free: 1.805 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.6983, allocations: 87 kB / 405 MB, free: 1.719 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004403/0.6987, allocations: 79.67 kB / 405 MB, free: 1.633 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.6988, allocations: 11.94 kB / 405 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.6988, allocations: 0 / 405 MB, free: 1.621 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004722/0.7035, allocations: 1.134 MB / 406.2 MB, free: 380 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007549/0.7111, allocations: 1.723 MB / 407.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-05/0.7112, allocations: 4 kB / 407.9 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.7126, allocations: 147.8 kB / 408.1 MB, free: 14.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007164/0.7133, allocations: 162.5 kB / 408.2 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.808e-05/0.7134, allocations: 3.984 kB / 408.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008212/0.7216, allocations: 4.639 MB / 412.9 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.7217, allocations: 0 / 412.9 MB, free: 9.289 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004212/0.7259, allocations: 1.219 MB / 414.1 MB, free: 8.043 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000372/0.7264, allocations: 168 kB / 414.2 MB, free: 7.859 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002266/0.7266, allocations: 4 kB / 414.2 MB, free: 7.855 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009369/0.7276, allocations: 43.95 kB / 414.3 MB, free: 7.812 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/0.7279, allocations: 64.69 kB / 414.3 MB, free: 7.75 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.039e-05/0.728, allocations: 19.98 kB / 414.4 MB, free: 7.73 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0007555/0.7287, allocations: 366.9 kB / 414.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.11e-07/0.7287, allocations: 0 / 414.7 MB, free: 7.375 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001466/0.7302, allocations: 251.7 kB / 415 MB, free: 7.129 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (pipe1.T,pipe2.T,pipe3.T,heatCapacitor1.T,heatCapacitor2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 59 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {1 3,1 3,1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.004864/0.7351, allocations: 1.799 MB / 416.8 MB, free: 5.293 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002689/0.7379, allocations: 1.174 MB / 417.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.302e-06/0.7379, allocations: 0 / 417.9 MB, free: 4.043 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001957/0.7399, allocations: 0.6954 MB / 418.6 MB, free: 3.32 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.7415, allocations: 182.8 kB / 418.8 MB, free: 3.145 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004757/0.7463, allocations: 1.318 MB / 420.1 MB, free: 1.781 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007608/0.7471, allocations: 0.9403 MB / 421.1 MB, free: 0.8164 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007621/0.7479, allocations: 89.92 kB / 421.2 MB, free: 0.7266 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006488/0.7486, allocations: 275.3 kB / 421.4 MB, free: 468 kB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.7486, allocations: 0 / 421.4 MB, free: 468 kB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3781/1.127, allocations: 20.13 MB / 441.6 MB, free: 100.3 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/1.127, allocations: 130.9 kB / 441.7 MB, free: 100.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.821/4.947, allocations: 4 kB / 441.7 MB, free: 100.1 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Thermal.FluidHeatFlow.Examples.TwoMass_res.mat does not exist to compare? outputFormat=mat