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.807/1.807, allocations: 171.2 MB / 183.3 MB, free: 11.96 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.571e-05/3.581e-05, allocations: 4 kB / 225.1 MB, free: 2.141 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2952/0.2953, allocations: 38.77 MB / 263.8 MB, free: 9.82 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9172/1.213, allocations: 311.1 MB / 0.5615 GB, free: 72.66 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.213, allocations: 79.38 kB / 0.5615 GB, free: 72.63 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7172/1.93, allocations: 130.2 MB / 0.6887 GB, free: 94.21 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.956e-06/1.93, allocations: 3.984 kB / 0.6887 GB, free: 94.21 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.548e-05/1.93, allocations: 19.59 kB / 0.6888 GB, free: 94.2 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.00377/1.934, allocations: 1.079 MB / 0.6898 GB, free: 93.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/1.934, allocations: 7.812 kB / 0.6898 GB, free: 93.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002779/1.934, allocations: 101.8 kB / 0.6899 GB, free: 93.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005396/1.935, allocations: 97.28 kB / 0.69 GB, free: 93.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002105/1.937, allocations: 0.6561 MB / 0.6906 GB, free: 92.74 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/1.937, allocations: 109 kB / 0.6907 GB, free: 92.65 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.937, allocations: 49.98 kB / 0.6908 GB, free: 92.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00226/1.94, allocations: 0.8885 MB / 0.6917 GB, free: 92.12 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.751e-05/1.94, allocations: 1.594 kB / 0.6917 GB, free: 92.12 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001302/1.94, allocations: 25.41 kB / 0.6917 GB, free: 92.1 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001234/1.94, allocations: 50.44 kB / 0.6917 GB, free: 92.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00204/1.942, allocations: 0.8133 MB / 0.6925 GB, free: 91.24 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009647/1.952, allocations: 3.323 MB / 0.6958 GB, free: 87.81 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/1.954, allocations: 0.6299 MB / 0.6964 GB, free: 87.17 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/1.954, allocations: 366.3 kB / 0.6967 GB, free: 86.8 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004543/1.959, allocations: 2.071 MB / 0.6988 GB, free: 84.56 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.357e-05/1.959, allocations: 43.12 kB / 0.6988 GB, free: 84.51 MB / 362.7 MB Notification: Performance of pre-optimization done (n=56): time 4.228e-06/1.959, allocations: 0 / 0.6988 GB, free: 84.51 MB / 362.7 MB Notification: Performance of matching and sorting (n=66): time 0.007303/1.966, allocations: 2.22 MB / 0.701 GB, free: 82.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.876e-05/1.966, allocations: 85.66 kB / 0.7011 GB, free: 82.14 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001131/1.968, allocations: 0.5971 MB / 0.7016 GB, free: 81.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002246/1.968, allocations: 41.7 kB / 0.7017 GB, free: 81.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002714/1.968, allocations: 332.5 kB / 0.702 GB, free: 81.16 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002706/1.968, allocations: 228.6 kB / 0.7022 GB, free: 80.94 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.41e-05/1.968, allocations: 23.94 kB / 0.7022 GB, free: 80.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001397/1.969, allocations: 382.8 kB / 0.7026 GB, free: 80.53 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000877/1.97, allocations: 345.4 kB / 0.7029 GB, free: 80.2 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009173/1.97, allocations: 0.489 MB / 0.7034 GB, free: 79.65 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009471/1.971, allocations: 405.7 kB / 0.7038 GB, free: 79.26 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/1.971, allocations: 8 kB / 0.7038 GB, free: 79.25 MB / 362.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002899/1.974, allocations: 1.121 MB / 0.7049 GB, free: 78.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000372/1.975, allocations: 1.575 MB / 0.7064 GB, free: 76.42 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/1.975, allocations: 4 kB / 0.7064 GB, free: 76.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001986/1.977, allocations: 434.4 kB / 0.7069 GB, free: 76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001342/1.978, allocations: 163.8 kB / 0.707 GB, free: 75.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/1.98, allocations: 1.018 MB / 0.708 GB, free: 74.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/1.981, allocations: 55.86 kB / 0.7081 GB, free: 74.74 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001313/1.982, allocations: 31.98 kB / 0.7081 GB, free: 74.71 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.982, allocations: 4 kB / 0.7081 GB, free: 74.71 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00241/1.984, allocations: 0.921 MB / 0.709 GB, free: 73.78 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.13e-05/1.984, allocations: 4 kB / 0.709 GB, free: 73.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009559/1.985, allocations: 255.3 kB / 0.7092 GB, free: 73.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001264/1.986, allocations: 167.7 kB / 0.7094 GB, free: 73.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001003/1.987, allocations: 0.8021 MB / 0.7102 GB, free: 72.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001093/1.988, allocations: 43.94 kB / 0.7102 GB, free: 72.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/1.989, allocations: 35.97 kB / 0.7103 GB, free: 72.46 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.0003325/1.989, allocations: 152.7 kB / 0.7104 GB, free: 72.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002189/1.989, allocations: 79.06 kB / 0.7105 GB, free: 72.22 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002961/1.992, allocations: 1.082 MB / 0.7115 GB, free: 71.13 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.158e-05/1.992, allocations: 8 kB / 0.7115 GB, free: 71.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.418e-06/1.992, allocations: 0 / 0.7115 GB, free: 71.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/1.992, allocations: 3.984 kB / 0.7115 GB, free: 71.12 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005163/1.997, allocations: 1.976 MB / 0.7135 GB, free: 69.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/1.997, allocations: 0 / 0.7135 GB, free: 69.09 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001105/1.999, allocations: 127.9 kB / 0.7136 GB, free: 68.97 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001883/2, allocations: 444.1 kB / 0.714 GB, free: 68.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.971e-05/2.001, allocations: 15.98 kB / 0.714 GB, free: 68.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/2.002, allocations: 1.032 MB / 0.715 GB, free: 67.46 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/2.002, allocations: 0 / 0.715 GB, free: 67.46 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0034/2.006, allocations: 1.576 MB / 0.7166 GB, free: 65.87 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006614/2.006, allocations: 252 kB / 0.7168 GB, free: 65.61 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001767/2.007, allocations: 12 kB / 0.7168 GB, free: 65.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001123/2.008, allocations: 55.81 kB / 0.7169 GB, free: 65.54 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001945/2.008, allocations: 60.62 kB / 0.7169 GB, free: 65.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001042/2.008, allocations: 27.98 kB / 0.717 GB, free: 65.46 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000797/2.009, allocations: 471.1 kB / 0.7174 GB, free: 65 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/2.009, allocations: 0 / 0.7174 GB, free: 65 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00239/2.011, allocations: 0.6323 MB / 0.718 GB, free: 64.37 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.005496/2.017, allocations: 2.615 MB / 0.7206 GB, free: 61.76 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004218/2.021, allocations: 1.353 MB / 0.7219 GB, free: 60.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/2.021, allocations: 0.5625 kB / 0.7219 GB, free: 60.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001612/2.023, allocations: 469.3 kB / 0.7224 GB, free: 59.95 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002978/2.026, allocations: 353.9 kB / 0.7227 GB, free: 59.61 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006404/2.032, allocations: 1.698 MB / 0.7244 GB, free: 57.87 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005552/2.033, allocations: 1.012 MB / 0.7253 GB, free: 56.83 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002145/2.035, allocations: 362.1 kB / 0.7257 GB, free: 56.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005426/2.036, allocations: 279.3 kB / 0.726 GB, free: 56.2 MB / 362.7 MB Notification: Performance of SimCode: time 1.182e-06/2.036, allocations: 0 / 0.726 GB, free: 56.2 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1045/2.14, allocations: 30.29 MB / 0.7555 GB, free: 25.94 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/2.14, allocations: 172.6 kB / 0.7557 GB, free: 25.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.69/5.831, allocations: 0 / 0.7557 GB, free: 25.71 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