Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.ThreeTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_Tanks_ThreeTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.092/2.092, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.526e-05, allocations: 7.984 kB / 269.4 MB, free: 6.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 47.58 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.182, allocations: 321.1 MB / 0.6231 GB, free: 42.24 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.182, allocations: 78.66 kB / 0.6232 GB, free: 42.2 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.537/2.719, allocations: 269.6 MB / 0.8865 GB, free: 68.15 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.573e-06/2.719, allocations: 0 / 0.8865 GB, free: 68.15 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001889/2.719, allocations: 37.38 kB / 0.8865 GB, free: 68.14 MB / 426.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.008615/2.728, allocations: 1.81 MB / 0.8883 GB, free: 67.27 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/2.728, allocations: 10.53 kB / 0.8883 GB, free: 67.27 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008487/2.729, allocations: 164.2 kB / 0.8884 GB, free: 67.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001202/2.73, allocations: 184.3 kB / 0.8886 GB, free: 67.14 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004479/2.735, allocations: 1.111 MB / 0.8897 GB, free: 66.81 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002652/2.735, allocations: 183.1 kB / 0.8899 GB, free: 66.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007607/2.736, allocations: 98.84 kB / 0.89 GB, free: 66.71 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005043/2.741, allocations: 1.728 MB / 0.8917 GB, free: 66.54 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.369e-05/2.741, allocations: 2.531 kB / 0.8917 GB, free: 66.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002662/2.741, allocations: 52.64 kB / 0.8917 GB, free: 66.53 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002471/2.742, allocations: 109 kB / 0.8918 GB, free: 66.53 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004976/2.747, allocations: 1.726 MB / 0.8935 GB, free: 66.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02007/2.767, allocations: 6.371 MB / 0.8997 GB, free: 64.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002836/2.77, allocations: 1.142 MB / 0.9008 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/2.771, allocations: 0.698 MB / 0.9015 GB, free: 64.46 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008953/2.78, allocations: 4.272 MB / 0.9057 GB, free: 62.11 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.13e-05/2.78, allocations: 42.31 kB / 0.9057 GB, free: 62.07 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001742/2.782, allocations: 207.6 kB / 0.9059 GB, free: 62.01 MB / 426.7 MB Notification: Performance of pre-optimization done (n=97): time 5.981e-06/2.782, allocations: 2.469 kB / 0.9059 GB, free: 62.01 MB / 426.7 MB Notification: Performance of matching and sorting (n=112): time 0.01391/2.796, allocations: 3.773 MB / 0.9096 GB, free: 61.46 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.808e-05/2.796, allocations: 142.3 kB / 0.9098 GB, free: 61.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/2.799, allocations: 1.089 MB / 0.9108 GB, free: 61.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003817/2.799, allocations: 51.05 kB / 0.9109 GB, free: 61.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005142/2.799, allocations: 0.6023 MB / 0.9115 GB, free: 60.86 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005803/2.8, allocations: 389.1 kB / 0.9118 GB, free: 60.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001633/2.8, allocations: 30.22 kB / 0.9119 GB, free: 60.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001214/2.8, allocations: 362.6 kB / 0.9122 GB, free: 60.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00166/2.802, allocations: 0.6255 MB / 0.9128 GB, free: 60.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001861/2.804, allocations: 0.9372 MB / 0.9137 GB, free: 59.96 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001968/2.806, allocations: 0.7496 MB / 0.9145 GB, free: 59.94 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.225e-05/2.806, allocations: 3.594 kB / 0.9145 GB, free: 59.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.005694/2.812, allocations: 2.04 MB / 0.9165 GB, free: 59.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008588/2.813, allocations: 3.52 MB / 0.9199 GB, free: 56.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.876e-05/2.813, allocations: 9.156 kB / 0.9199 GB, free: 56.17 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01264/2.825, allocations: 1.211 MB / 0.9211 GB, free: 56.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002427/2.828, allocations: 296.5 kB / 0.9214 GB, free: 56.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003581/2.831, allocations: 1.52 MB / 0.9228 GB, free: 55.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002882/2.834, allocations: 91.8 kB / 0.9229 GB, free: 55.11 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006039/2.835, allocations: 74.19 kB / 0.923 GB, free: 55.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/2.835, allocations: 3.969 kB / 0.923 GB, free: 55.1 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00603/2.841, allocations: 1.828 MB / 0.9248 GB, free: 54.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.32e-05/2.841, allocations: 10.91 kB / 0.9248 GB, free: 54.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/2.853, allocations: 1.058 MB / 0.9258 GB, free: 54.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002519/2.855, allocations: 300 kB / 0.9261 GB, free: 54.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003049/2.858, allocations: 1.373 MB / 0.9275 GB, free: 53.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002646/2.861, allocations: 85.84 kB / 0.9275 GB, free: 53.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002721/2.861, allocations: 66.19 kB / 0.9276 GB, free: 53.49 MB / 426.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.0006027/2.862, allocations: 191.7 kB / 0.9278 GB, free: 53.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004362/2.862, allocations: 155.6 kB / 0.9279 GB, free: 53.26 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006341/2.869, allocations: 1.995 MB / 0.9299 GB, free: 52.53 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-05/2.869, allocations: 15.19 kB / 0.9299 GB, free: 52.53 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/2.869, allocations: 0 / 0.9299 GB, free: 52.53 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.673e-05/2.869, allocations: 11.5 kB / 0.9299 GB, free: 52.52 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008519/2.877, allocations: 3.399 MB / 0.9332 GB, free: 51.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/2.877, allocations: 3.75 kB / 0.9332 GB, free: 51.12 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001727/2.879, allocations: 191.2 kB / 0.9334 GB, free: 51.12 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006258/2.885, allocations: 0.9367 MB / 0.9343 GB, free: 50.96 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003556/2.886, allocations: 39.12 kB / 0.9344 GB, free: 50.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003182/2.889, allocations: 1.566 MB / 0.9359 GB, free: 50.04 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/2.889, allocations: 0 / 0.9359 GB, free: 50.04 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008946/2.898, allocations: 2.704 MB / 0.9385 GB, free: 48.91 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002127/2.9, allocations: 406.5 kB / 0.9389 GB, free: 48.65 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008646/2.901, allocations: 23.7 kB / 0.939 GB, free: 48.63 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003702/2.905, allocations: 85.06 kB / 0.939 GB, free: 48.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007237/2.906, allocations: 99.41 kB / 0.9391 GB, free: 48.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003507/2.906, allocations: 51.03 kB / 0.9392 GB, free: 48.59 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002684/2.909, allocations: 0.825 MB / 0.94 GB, free: 47.87 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.81e-07/2.909, allocations: 3.938 kB / 0.94 GB, free: 47.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007198/2.916, allocations: 1.249 MB / 0.9412 GB, free: 46.64 MB / 426.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.01432/2.93, allocations: 4.257 MB / 0.9454 GB, free: 42.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01288/2.943, allocations: 2.566 MB / 0.9479 GB, free: 40.58 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.219e-05/2.943, allocations: 7.125 kB / 0.9479 GB, free: 40.57 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003945/2.947, allocations: 0.8118 MB / 0.9487 GB, free: 39.84 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00668/2.954, allocations: 0.5939 MB / 0.9492 GB, free: 39.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01413/2.968, allocations: 3.095 MB / 0.9523 GB, free: 36.86 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001396/2.97, allocations: 1.32 MB / 0.9536 GB, free: 35.74 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00656/2.976, allocations: 0.6768 MB / 0.9542 GB, free: 35.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001855/2.978, allocations: 0.5312 MB / 0.9547 GB, free: 34.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.474e-06/2.978, allocations: 0 / 0.9547 GB, free: 34.82 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4605/3.439, allocations: 56.7 MB / 1.01 GB, free: 61.89 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/3.439, allocations: 171.6 kB / 1.01 GB, free: 61.66 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.158/8.597, allocations: 4 kB / 1.01 GB, free: 61.66 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.ThreeTanks_res.mat does not exist to compare? outputFormat=mat