Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.ThreeTanks,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_Tanks_ThreeTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.071/2.071, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.922e-05/2.936e-05, allocations: 4 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1017/0.1018, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9957/1.098, allocations: 316.6 MB / 0.6021 GB, free: 70.64 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/1.098, allocations: 75.69 kB / 0.6022 GB, free: 70.61 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.561/2.659, allocations: 266.8 MB / 0.8627 GB, free: 62.33 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.206e-06/2.659, allocations: 0 / 0.8627 GB, free: 62.33 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002161/2.659, allocations: 35.81 kB / 0.8628 GB, free: 62.33 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 261 * Number of variables: 261 Notification: Performance of Generate backend data structure: time 0.009149/2.668, allocations: 1.814 MB / 0.8645 GB, free: 61.54 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.332e-05/2.668, allocations: 7.312 kB / 0.8645 GB, free: 61.54 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009491/2.669, allocations: 164 kB / 0.8647 GB, free: 61.5 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/2.671, allocations: 177 kB / 0.8649 GB, free: 61.42 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004741/2.676, allocations: 1.105 MB / 0.866 GB, free: 61.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002418/2.676, allocations: 186.6 kB / 0.8661 GB, free: 61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005964/2.677, allocations: 96.22 kB / 0.8662 GB, free: 61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005283/2.682, allocations: 1.743 MB / 0.8679 GB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/2.682, allocations: 9.062 kB / 0.8679 GB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002799/2.682, allocations: 46.91 kB / 0.868 GB, free: 60.82 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002597/2.683, allocations: 109.1 kB / 0.8681 GB, free: 60.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005463/2.688, allocations: 1.739 MB / 0.8698 GB, free: 60.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02009/2.708, allocations: 6.408 MB / 0.876 GB, free: 58.8 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/2.711, allocations: 1.153 MB / 0.8772 GB, free: 58.76 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001726/2.713, allocations: 0.6987 MB / 0.8778 GB, free: 58.75 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008832/2.722, allocations: 4.287 MB / 0.882 GB, free: 56.39 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.797e-05/2.722, allocations: 47.88 kB / 0.8821 GB, free: 56.35 MB / 410.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001721/2.723, allocations: 216.1 kB / 0.8823 GB, free: 56.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=97): time 5.029e-06/2.724, allocations: 0 / 0.8823 GB, free: 56.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=112): time 0.01378/2.737, allocations: 3.785 MB / 0.886 GB, free: 55.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.33e-05/2.737, allocations: 148.4 kB / 0.8861 GB, free: 55.58 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/2.74, allocations: 1.084 MB / 0.8872 GB, free: 55.42 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004009/2.74, allocations: 49.8 kB / 0.8872 GB, free: 55.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005221/2.741, allocations: 0.5958 MB / 0.8878 GB, free: 55.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005045/2.741, allocations: 390.8 kB / 0.8882 GB, free: 54.91 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/2.741, allocations: 30.53 kB / 0.8882 GB, free: 54.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/2.741, allocations: 359.4 kB / 0.8886 GB, free: 54.6 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001668/2.743, allocations: 0.6231 MB / 0.8892 GB, free: 54.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001829/2.745, allocations: 0.9435 MB / 0.8901 GB, free: 54.24 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/2.747, allocations: 0.7466 MB / 0.8908 GB, free: 54.22 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/2.747, allocations: 6.469 kB / 0.8908 GB, free: 54.22 MB / 410.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.006363/2.753, allocations: 2.073 MB / 0.8928 GB, free: 54.08 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008108/2.754, allocations: 3.518 MB / 0.8963 GB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.869e-05/2.754, allocations: 17.31 kB / 0.8963 GB, free: 50.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01306/2.767, allocations: 1.214 MB / 0.8975 GB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/2.77, allocations: 296.2 kB / 0.8978 GB, free: 50.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/2.774, allocations: 1.524 MB / 0.8993 GB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00301/2.777, allocations: 92.72 kB / 0.8993 GB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006453/2.778, allocations: 73.39 kB / 0.8994 GB, free: 49.88 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/2.778, allocations: 5.219 kB / 0.8994 GB, free: 49.88 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005592/2.783, allocations: 1.759 MB / 0.9011 GB, free: 49.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.798e-05/2.783, allocations: 11.72 kB / 0.9011 GB, free: 49.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01147/2.795, allocations: 0.9666 MB / 0.9021 GB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002491/2.797, allocations: 295 kB / 0.9024 GB, free: 49.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0025/2.8, allocations: 1.223 MB / 0.9036 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00248/2.802, allocations: 84.28 kB / 0.9036 GB, free: 49.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002808/2.803, allocations: 68.41 kB / 0.9037 GB, free: 49.29 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (153): * Single equations (assignments): 152 * 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 {8 18} Notification: Performance of prepare postOptimizeDAE: time 0.0006104/2.803, allocations: 187.2 kB / 0.9039 GB, free: 49.17 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004476/2.804, allocations: 147.5 kB / 0.904 GB, free: 49.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006383/2.81, allocations: 2.003 MB / 0.906 GB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.056e-05/2.81, allocations: 11.88 kB / 0.906 GB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/2.81, allocations: 6.844 kB / 0.906 GB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.027e-05/2.81, allocations: 7.266 kB / 0.906 GB, free: 48.98 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008951/2.819, allocations: 3.406 MB / 0.9093 GB, free: 48.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/2.819, allocations: 1.344 kB / 0.9093 GB, free: 48.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001832/2.821, allocations: 192.9 kB / 0.9095 GB, free: 48.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006387/2.828, allocations: 0.9433 MB / 0.9104 GB, free: 48.59 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00035/2.828, allocations: 33.62 kB / 0.9105 GB, free: 48.59 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003217/2.831, allocations: 1.548 MB / 0.912 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.887e-06/2.831, allocations: 1.906 kB / 0.912 GB, free: 48.05 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006627/2.838, allocations: 2.724 MB / 0.9146 GB, free: 47.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/2.839, allocations: 398.7 kB / 0.915 GB, free: 47.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/2.84, allocations: 25.84 kB / 0.9151 GB, free: 47.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002043/2.842, allocations: 94.69 kB / 0.9151 GB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003397/2.842, allocations: 96.59 kB / 0.9152 GB, free: 47.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001876/2.842, allocations: 53.75 kB / 0.9153 GB, free: 47.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001648/2.844, allocations: 0.8205 MB / 0.9161 GB, free: 47.48 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.844, allocations: 0 / 0.9161 GB, free: 47.48 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005208/2.849, allocations: 1.243 MB / 0.9173 GB, free: 47.28 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (tank1.medium.T,tank1.level,tank2.medium.T,tank2.level,tank3.medium.T,tank3.level) * Number of discrete variables: 6 (tank1.regularFlow[1],tank1.inFlow[1],tank2.regularFlow[1],tank2.inFlow[1],tank3.regularFlow[1],tank3.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 95 * 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 {9 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.01024/2.86, allocations: 4.226 MB / 0.9214 GB, free: 46.26 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009097/2.869, allocations: 2.567 MB / 0.9239 GB, free: 46.2 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.273e-05/2.869, allocations: 7.203 kB / 0.9239 GB, free: 46.2 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002966/2.872, allocations: 0.8231 MB / 0.9247 GB, free: 46.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005071/2.877, allocations: 0.5919 MB / 0.9253 GB, free: 46.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01093/2.888, allocations: 3.102 MB / 0.9284 GB, free: 45.41 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009101/2.889, allocations: 1.324 MB / 0.9296 GB, free: 44.69 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004017/2.893, allocations: 0.6685 MB / 0.9303 GB, free: 44.66 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001111/2.894, allocations: 0.5261 MB / 0.9308 GB, free: 44.66 MB / 410.7 MB Notification: Performance of SimCode: time 1.463e-06/2.894, allocations: 0 / 0.9308 GB, free: 44.66 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1438/3.038, allocations: 56.37 MB / 0.9859 GB, free: 5.898 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002676/3.038, allocations: 169 kB / 0.986 GB, free: 5.676 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.663/8.701, allocations: 0 / 0.986 GB, free: 5.676 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.ThreeTanks_res.mat does not exist to compare? outputFormat=mat