Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_4_0_0_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.227/2.227, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.568e-05/3.567e-05, allocations: 6.031 kB / 292.2 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1189/0.119, allocations: 50.41 MB / 342.6 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.142/1.261, allocations: 321.7 MB / 0.6488 GB, free: 34.41 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003015/1.262, allocations: 85.94 kB / 0.6489 GB, free: 34.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8017/2.064, allocations: 134.3 MB / 0.78 GB, free: 108.4 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.264e-06/2.064, allocations: 0 / 0.78 GB, free: 108.4 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.595e-05/2.064, allocations: 23.94 kB / 0.7801 GB, free: 108.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003381/2.067, allocations: 1.087 MB / 0.7811 GB, free: 107.2 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.279e-05/2.067, allocations: 8.031 kB / 0.7811 GB, free: 107.2 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001953/2.067, allocations: 98.27 kB / 0.7812 GB, free: 107.1 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004713/2.068, allocations: 95.05 kB / 0.7813 GB, free: 107 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001862/2.07, allocations: 0.6591 MB / 0.782 GB, free: 106.3 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/2.07, allocations: 108.3 kB / 0.7821 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/2.07, allocations: 59.03 kB / 0.7821 GB, free: 106.2 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002034/2.072, allocations: 0.8691 MB / 0.783 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.821e-05/2.072, allocations: 4 kB / 0.783 GB, free: 105.3 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001182/2.072, allocations: 22.75 kB / 0.783 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/2.072, allocations: 57.27 kB / 0.783 GB, free: 105.2 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001955/2.074, allocations: 0.8029 MB / 0.7838 GB, free: 104.4 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00838/2.083, allocations: 3.294 MB / 0.787 GB, free: 101 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/2.084, allocations: 0.6466 MB / 0.7877 GB, free: 100.3 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007944/2.085, allocations: 358.4 kB / 0.788 GB, free: 99.96 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004092/2.089, allocations: 2.061 MB / 0.79 GB, free: 97.72 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/2.089, allocations: 43.12 kB / 0.7901 GB, free: 97.67 MB / 458.7 MB Notification: Performance of pre-optimization done (n=56): time 2.595e-06/2.089, allocations: 0 / 0.7901 GB, free: 97.67 MB / 458.7 MB Notification: Performance of matching and sorting (n=66): time 0.006833/2.096, allocations: 2.214 MB / 0.7922 GB, free: 95.41 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/2.096, allocations: 85.67 kB / 0.7923 GB, free: 95.3 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/2.097, allocations: 0.5933 MB / 0.7929 GB, free: 94.7 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-05/2.097, allocations: 41.7 kB / 0.7929 GB, free: 94.66 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002784/2.098, allocations: 339.7 kB / 0.7933 GB, free: 94.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/2.098, allocations: 225.6 kB / 0.7935 GB, free: 94.11 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/2.098, allocations: 12 kB / 0.7935 GB, free: 94.09 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001349/2.098, allocations: 386.8 kB / 0.7939 GB, free: 93.71 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008577/2.099, allocations: 357.4 kB / 0.7942 GB, free: 93.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009377/2.1, allocations: 495.1 kB / 0.7947 GB, free: 92.82 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009094/2.101, allocations: 401.9 kB / 0.795 GB, free: 92.43 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.169e-06/2.101, allocations: 4 kB / 0.7951 GB, free: 92.42 MB / 458.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0028/2.104, allocations: 1.113 MB / 0.7961 GB, free: 91.3 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003621/2.104, allocations: 1.572 MB / 0.7977 GB, free: 89.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.364e-05/2.104, allocations: 4 kB / 0.7977 GB, free: 89.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002007/2.106, allocations: 436.5 kB / 0.7981 GB, free: 89.17 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/2.107, allocations: 159.7 kB / 0.7982 GB, free: 89.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001748/2.109, allocations: 1.013 MB / 0.7992 GB, free: 87.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001349/2.111, allocations: 43.95 kB / 0.7993 GB, free: 87.93 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/2.111, allocations: 31.98 kB / 0.7993 GB, free: 87.9 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/2.111, allocations: 11.55 kB / 0.7993 GB, free: 87.89 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002613/2.113, allocations: 0.9797 MB / 0.8003 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.11e-05/2.114, allocations: 4 kB / 0.8003 GB, free: 86.91 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001917/2.115, allocations: 320.6 kB / 0.8006 GB, free: 86.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002255/2.118, allocations: 167.7 kB / 0.8007 GB, free: 86.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/2.12, allocations: 0.8957 MB / 0.8016 GB, free: 85.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001707/2.122, allocations: 47.92 kB / 0.8017 GB, free: 85.46 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/2.122, allocations: 35.98 kB / 0.8017 GB, free: 85.42 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 82 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.0004302/2.122, allocations: 152.7 kB / 0.8018 GB, free: 85.27 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002873/2.123, allocations: 75.06 kB / 0.8019 GB, free: 85.19 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004191/2.127, allocations: 1.083 MB / 0.803 GB, free: 84.09 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/2.127, allocations: 12 kB / 0.803 GB, free: 84.08 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/2.127, allocations: 0 / 0.803 GB, free: 84.08 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/2.127, allocations: 3.984 kB / 0.803 GB, free: 84.08 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004703/2.132, allocations: 1.995 MB / 0.8049 GB, free: 82.04 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.655e-06/2.132, allocations: 0 / 0.8049 GB, free: 82.04 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001147/2.133, allocations: 115.8 kB / 0.805 GB, free: 81.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001956/2.135, allocations: 448.5 kB / 0.8055 GB, free: 81.49 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/2.135, allocations: 20 kB / 0.8055 GB, free: 81.47 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00163/2.137, allocations: 1.025 MB / 0.8065 GB, free: 80.42 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/2.137, allocations: 3.938 kB / 0.8065 GB, free: 80.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003578/2.14, allocations: 1.58 MB / 0.808 GB, free: 78.82 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006663/2.141, allocations: 252 kB / 0.8083 GB, free: 78.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001815/2.141, allocations: 15.98 kB / 0.8083 GB, free: 78.54 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/2.142, allocations: 47.88 kB / 0.8083 GB, free: 78.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001984/2.142, allocations: 56.69 kB / 0.8084 GB, free: 78.43 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/2.143, allocations: 31.98 kB / 0.8084 GB, free: 78.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0008604/2.143, allocations: 467.1 kB / 0.8089 GB, free: 77.95 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.91e-07/2.143, allocations: 0 / 0.8089 GB, free: 77.95 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002776/2.146, allocations: 0.6362 MB / 0.8095 GB, free: 77.31 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level) * Number of discrete variables: 4 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (58): * Single equations (assignments): 57 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.005702/2.152, allocations: 2.624 MB / 0.8121 GB, free: 74.7 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004355/2.156, allocations: 1.36 MB / 0.8134 GB, free: 73.34 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/2.156, allocations: 3.938 kB / 0.8134 GB, free: 73.34 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00149/2.158, allocations: 454.8 kB / 0.8138 GB, free: 72.89 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/2.161, allocations: 349.2 kB / 0.8142 GB, free: 72.55 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005852/2.167, allocations: 1.705 MB / 0.8158 GB, free: 70.8 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005187/2.167, allocations: 1.008 MB / 0.8168 GB, free: 69.76 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002004/2.169, allocations: 370.5 kB / 0.8172 GB, free: 69.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/2.17, allocations: 275.3 kB / 0.8174 GB, free: 69.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.243e-06/2.17, allocations: 0 / 0.8174 GB, free: 69.12 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07979/2.25, allocations: 30.47 MB / 0.8472 GB, free: 38.89 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003094/2.25, allocations: 179.7 kB / 0.8473 GB, free: 38.65 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.936/6.186, allocations: 0 / 0.8473 GB, free: 38.65 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat does not exist to compare? outputFormat=mat