Running command: "" <> buildModelFMU(Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Thermal_FluidHeatFlow_Examples_TwoTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.208/2.208, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.259e-05/4.236e-05, allocations: 4 kB / 269.4 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.131/0.1311, allocations: 47.57 MB / 317 MB, free: 6.645 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4531/0.5843, allocations: 79.93 MB / 396.9 MB, free: 7.73 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.5846, allocations: 67.58 kB / 397 MB, free: 7.695 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02801/0.6126, allocations: 6.081 MB / 403.1 MB, free: 2.578 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6127, allocations: 0 / 403.1 MB, free: 2.578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.799e-05/0.6128, allocations: 15.98 kB / 403.1 MB, free: 2.562 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.001341/0.6141, allocations: 0.5729 MB / 403.7 MB, free: 1.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/0.6142, allocations: 8.031 kB / 403.7 MB, free: 1.953 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001364/0.6143, allocations: 68.56 kB / 403.8 MB, free: 1.895 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001447/0.6145, allocations: 39.62 kB / 403.8 MB, free: 1.855 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005816/0.6151, allocations: 285.9 kB / 404.1 MB, free: 1.562 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.6153, allocations: 65.83 kB / 404.1 MB, free: 1.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.526e-05/0.6154, allocations: 23.75 kB / 404.2 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007172/0.6161, allocations: 318.5 kB / 404.5 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.6161, allocations: 0 / 404.5 MB, free: 1.211 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.649e-05/0.6162, allocations: 10.56 kB / 404.5 MB, free: 1.207 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.197e-05/0.6162, allocations: 4 kB / 404.5 MB, free: 1.203 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005259/0.6167, allocations: 181.8 kB / 404.7 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002431/0.6192, allocations: 0.8336 MB / 405.5 MB, free: 404 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008581/0.6201, allocations: 260 kB / 405.7 MB, free: 212 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002695/0.6204, allocations: 107.2 kB / 405.9 MB, free: 144 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.6205, allocations: 8.016 kB / 405.9 MB, free: 140 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.223e-05/0.6205, allocations: 45.73 kB / 405.9 MB, free: 88 kB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.517e-06/0.6205, allocations: 0 / 405.9 MB, free: 88 kB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009221/0.6215, allocations: 266.8 kB / 406.2 MB, free: 15.88 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001671/0.6217, allocations: 312.4 kB / 406.5 MB, free: 15.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004262/0.6221, allocations: 251 kB / 406.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.715e-05/0.6222, allocations: 28.7 kB / 406.7 MB, free: 15.27 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.6223, allocations: 182.9 kB / 406.9 MB, free: 15.13 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001441/0.6225, allocations: 107 kB / 407 MB, free: 15.04 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.6225, allocations: 9.812 kB / 407 MB, free: 15.03 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.6227, allocations: 347.8 kB / 407.4 MB, free: 14.7 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/0.623, allocations: 78.62 kB / 407.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003788/0.6234, allocations: 193.3 kB / 407.6 MB, free: 14.46 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003265/0.6237, allocations: 134.5 kB / 407.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.6238, allocations: 0 / 407.8 MB, free: 14.36 MB / 330.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009196/0.6247, allocations: 334.9 kB / 408.1 MB, free: 14.09 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/0.6248, allocations: 37.73 kB / 408.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.6248, allocations: 0 / 408.1 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002086/0.625, allocations: 39.03 kB / 408.2 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002003/0.627, allocations: 203.8 kB / 408.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004853/0.6319, allocations: 2.935 MB / 411.3 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005305/0.6325, allocations: 42.89 kB / 411.4 MB, free: 10.76 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.6325, allocations: 11.31 kB / 411.4 MB, free: 10.75 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 2} Notification: Performance of prepare postOptimizeDAE: time 0.000178/0.6327, allocations: 129 kB / 411.5 MB, free: 10.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.829e-05/0.6328, allocations: 34.84 kB / 411.5 MB, free: 10.6 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.633, allocations: 42.31 kB / 411.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.727e-06/0.633, allocations: 4 kB / 411.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.633, allocations: 3.938 kB / 411.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009271/0.6339, allocations: 0.6345 MB / 412.2 MB, free: 9.887 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007265/0.6347, allocations: 398.5 kB / 412.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.6347, allocations: 0 / 412.6 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002597/0.6373, allocations: 247.7 kB / 412.8 MB, free: 9.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001355/0.6375, allocations: 27.41 kB / 412.9 MB, free: 9.262 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.095e-05/0.6376, allocations: 7.5 kB / 412.9 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004162/0.6417, allocations: 2.778 MB / 415.6 MB, free: 6.328 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.443e-06/0.6418, allocations: 8.109 kB / 415.7 MB, free: 6.32 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.6429, allocations: 475 kB / 416.1 MB, free: 5.957 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.6431, allocations: 137 kB / 416.3 MB, free: 5.82 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.595e-05/0.6432, allocations: 11.38 kB / 416.3 MB, free: 5.812 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003935/0.6436, allocations: 21.36 kB / 416.3 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6438, allocations: 35.17 kB / 416.3 MB, free: 5.766 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.157e-05/0.6438, allocations: 8 kB / 416.3 MB, free: 5.758 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003038/0.6441, allocations: 198.5 kB / 416.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6441, allocations: 0 / 416.5 MB, free: 5.602 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006617/0.6448, allocations: 113.4 kB / 416.6 MB, free: 5.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (openTank1.m,openTank1.H,openTank2.m,openTank2.H) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.002801/0.6476, allocations: 1.045 MB / 417.7 MB, free: 4.551 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002354/0.65, allocations: 0.5224 MB / 418.2 MB, free: 4.082 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.328e-05/0.65, allocations: 4 kB / 418.2 MB, free: 4.078 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002298/0.6524, allocations: 399 kB / 418.6 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007498/0.6531, allocations: 79.86 kB / 418.7 MB, free: 3.656 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002814/0.656, allocations: 0.754 MB / 419.4 MB, free: 2.926 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004554/0.6564, allocations: 0.7879 MB / 420.2 MB, free: 2.109 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002558/0.6567, allocations: 38.95 kB / 420.3 MB, free: 2.066 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.6569, allocations: 104.7 kB / 420.4 MB, free: 2.031 MB / 330.7 MB Notification: Performance of SimCode: time 1.432e-06/0.657, allocations: 0 / 420.4 MB, free: 2.031 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0426/0.6996, allocations: 8.447 MB / 428.8 MB, free: 9.676 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003473/0.7, allocations: 187.9 kB / 429 MB, free: 9.441 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/3.711, allocations: 0 / 429 MB, free: 9.441 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Thermal.FluidHeatFlow.Examples.TwoTanks_res.mat does not exist to compare? outputFormat=mat