Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_3_2_1_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.793/1.793, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.213e-05/3.223e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2803/0.2803, allocations: 38.77 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9531/1.233, allocations: 311.1 MB / 0.5615 GB, free: 72.47 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002853/1.234, allocations: 79.33 kB / 0.5616 GB, free: 72.45 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7059/1.94, allocations: 130.2 MB / 0.6888 GB, free: 94.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.986e-06/1.94, allocations: 4 kB / 0.6888 GB, free: 94.08 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.219e-05/1.94, allocations: 23.66 kB / 0.6888 GB, free: 94.07 MB / 362.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.003334/1.943, allocations: 1.076 MB / 0.6898 GB, free: 93.24 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/1.943, allocations: 9.312 kB / 0.6898 GB, free: 93.24 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001875/1.943, allocations: 104.7 kB / 0.6899 GB, free: 93.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004397/1.944, allocations: 93.31 kB / 0.69 GB, free: 93.11 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001791/1.946, allocations: 0.6571 MB / 0.6907 GB, free: 92.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/1.946, allocations: 107.6 kB / 0.6908 GB, free: 92.53 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001577/1.946, allocations: 59.16 kB / 0.6908 GB, free: 92.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001987/1.948, allocations: 0.8763 MB / 0.6917 GB, free: 91.77 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.784e-05/1.948, allocations: 3.938 kB / 0.6917 GB, free: 91.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001187/1.948, allocations: 19.91 kB / 0.6917 GB, free: 91.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/1.948, allocations: 53.28 kB / 0.6918 GB, free: 91.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/1.95, allocations: 0.8146 MB / 0.6926 GB, free: 90.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008224/1.959, allocations: 3.314 MB / 0.6958 GB, free: 87.46 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/1.96, allocations: 0.6288 MB / 0.6964 GB, free: 86.82 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007826/1.961, allocations: 362.4 kB / 0.6968 GB, free: 86.46 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004184/1.965, allocations: 2.077 MB / 0.6988 GB, free: 84.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.934e-05/1.965, allocations: 39.12 kB / 0.6988 GB, free: 84.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 3.306e-06/1.965, allocations: 0 / 0.6988 GB, free: 84.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.006796/1.972, allocations: 2.214 MB / 0.701 GB, free: 81.9 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.455e-05/1.972, allocations: 85.67 kB / 0.7011 GB, free: 81.8 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001032/1.973, allocations: 0.5932 MB / 0.7016 GB, free: 81.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.567e-05/1.973, allocations: 41.7 kB / 0.7017 GB, free: 81.15 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/1.973, allocations: 340 kB / 0.702 GB, free: 80.82 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/1.974, allocations: 224.7 kB / 0.7022 GB, free: 80.6 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/1.974, allocations: 16 kB / 0.7022 GB, free: 80.58 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001342/1.974, allocations: 382.8 kB / 0.7026 GB, free: 80.2 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008425/1.975, allocations: 345.4 kB / 0.7029 GB, free: 79.86 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000915/1.976, allocations: 0.4913 MB / 0.7034 GB, free: 79.31 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000895/1.977, allocations: 397.9 kB / 0.7038 GB, free: 78.93 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.841e-06/1.977, allocations: 4 kB / 0.7038 GB, free: 78.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002783/1.979, allocations: 1.117 MB / 0.7049 GB, free: 77.8 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003553/1.98, allocations: 1.572 MB / 0.7064 GB, free: 76.1 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/1.98, allocations: 4 kB / 0.7064 GB, free: 76.1 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/1.982, allocations: 431.6 kB / 0.7068 GB, free: 75.68 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00122/1.983, allocations: 163.7 kB / 0.707 GB, free: 75.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/1.985, allocations: 1.025 MB / 0.708 GB, free: 74.47 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001134/1.986, allocations: 43.83 kB / 0.708 GB, free: 74.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001102/1.986, allocations: 35.55 kB / 0.7081 GB, free: 74.39 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.4e-05/1.986, allocations: 4.781 kB / 0.7081 GB, free: 74.39 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002269/1.988, allocations: 0.9128 MB / 0.709 GB, free: 73.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/1.988, allocations: 4.531 kB / 0.709 GB, free: 73.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009119/1.989, allocations: 244.5 kB / 0.7092 GB, free: 73.23 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/1.99, allocations: 171.7 kB / 0.7094 GB, free: 73.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009273/1.991, allocations: 0.81 MB / 0.7102 GB, free: 72.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009939/1.992, allocations: 39.94 kB / 0.7102 GB, free: 72.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.505e-05/1.992, allocations: 35.98 kB / 0.7102 GB, free: 72.16 MB / 362.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.0003043/1.993, allocations: 161.9 kB / 0.7104 GB, free: 71.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/1.993, allocations: 82.94 kB / 0.7105 GB, free: 71.91 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002771/1.996, allocations: 1.067 MB / 0.7115 GB, free: 70.83 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.079e-05/1.996, allocations: 8 kB / 0.7115 GB, free: 70.82 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/1.996, allocations: 0 / 0.7115 GB, free: 70.82 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/1.996, allocations: 7.922 kB / 0.7115 GB, free: 70.82 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004257/2, allocations: 1.979 MB / 0.7134 GB, free: 68.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/2, allocations: 3.938 kB / 0.7135 GB, free: 68.79 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/2.001, allocations: 115.9 kB / 0.7136 GB, free: 68.68 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00186/2.003, allocations: 439.4 kB / 0.714 GB, free: 68.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.447e-05/2.003, allocations: 27.98 kB / 0.714 GB, free: 68.22 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001587/2.005, allocations: 1.03 MB / 0.715 GB, free: 67.17 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/2.005, allocations: 0 / 0.715 GB, free: 67.17 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003389/2.008, allocations: 1.579 MB / 0.7166 GB, free: 65.57 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006051/2.009, allocations: 248.1 kB / 0.7168 GB, free: 65.31 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001821/2.009, allocations: 16 kB / 0.7168 GB, free: 65.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001089/2.01, allocations: 47.81 kB / 0.7169 GB, free: 65.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/2.01, allocations: 56.69 kB / 0.7169 GB, free: 65.19 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001005/2.01, allocations: 39.97 kB / 0.7169 GB, free: 65.15 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008075/2.011, allocations: 463.1 kB / 0.7174 GB, free: 64.71 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.21e-07/2.011, allocations: 0 / 0.7174 GB, free: 64.71 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002538/2.014, allocations: 0.6401 MB / 0.718 GB, free: 64.07 MB / 362.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.005308/2.019, allocations: 2.625 MB / 0.7206 GB, free: 61.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003824/2.023, allocations: 1.336 MB / 0.7219 GB, free: 60.12 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/2.023, allocations: 0 / 0.7219 GB, free: 60.12 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001429/2.024, allocations: 460.3 kB / 0.7223 GB, free: 59.68 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002771/2.027, allocations: 345.5 kB / 0.7227 GB, free: 59.35 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005512/2.033, allocations: 1.695 MB / 0.7243 GB, free: 57.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005264/2.033, allocations: 1.008 MB / 0.7253 GB, free: 56.58 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002011/2.035, allocations: 373.9 kB / 0.7256 GB, free: 56.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000532/2.036, allocations: 271.3 kB / 0.7259 GB, free: 55.95 MB / 362.7 MB Notification: Performance of SimCode: time 1.613e-06/2.036, allocations: 11.94 kB / 0.7259 GB, free: 55.94 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07548/2.111, allocations: 30.24 MB / 0.7555 GB, free: 25.71 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002135/2.112, allocations: 179.2 kB / 0.7556 GB, free: 25.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.874/5.986, allocations: 3.938 kB / 0.7556 GB, free: 25.48 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat does not exist to compare? outputFormat=mat