Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_3_2_2_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.925/1.925, allocations: 194.9 MB / 208 MB, free: 3.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.252e-05/3.274e-05, allocations: 0 / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 44.51 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.032/1.145, allocations: 316.4 MB / 0.6019 GB, free: 69.96 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003454/1.145, allocations: 77.45 kB / 0.602 GB, free: 69.92 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7838/1.929, allocations: 130.2 MB / 0.7292 GB, free: 110.9 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.315e-06/1.929, allocations: 0 / 0.7292 GB, free: 110.9 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001018/1.929, allocations: 23.72 kB / 0.7292 GB, free: 110.9 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.004359/1.934, allocations: 1.084 MB / 0.7303 GB, free: 110.2 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.304e-05/1.934, allocations: 10.91 kB / 0.7303 GB, free: 110.2 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004105/1.934, allocations: 98.45 kB / 0.7304 GB, free: 110.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006399/1.935, allocations: 102.1 kB / 0.7305 GB, free: 110 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002389/1.937, allocations: 0.6499 MB / 0.7311 GB, free: 109.6 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001558/1.937, allocations: 105.4 kB / 0.7312 GB, free: 109.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002442/1.938, allocations: 54.44 kB / 0.7313 GB, free: 109.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/1.94, allocations: 0.879 MB / 0.7321 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.806e-05/1.94, allocations: 4 kB / 0.7321 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001557/1.94, allocations: 26.3 kB / 0.7322 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001343/1.941, allocations: 50.61 kB / 0.7322 GB, free: 109.2 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002467/1.943, allocations: 0.8064 MB / 0.733 GB, free: 108.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0104/1.953, allocations: 3.316 MB / 0.7362 GB, free: 106.2 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001682/1.955, allocations: 0.6302 MB / 0.7368 GB, free: 105.6 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/1.956, allocations: 358.4 kB / 0.7372 GB, free: 105.2 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004797/1.961, allocations: 2.07 MB / 0.7392 GB, free: 103 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.984e-05/1.961, allocations: 41.75 kB / 0.7393 GB, free: 102.9 MB / 410.7 MB Notification: Performance of pre-optimization done (n=56): time 4.208e-06/1.961, allocations: 4 kB / 0.7393 GB, free: 102.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=66): time 0.008512/1.97, allocations: 2.217 MB / 0.7414 GB, free: 100.7 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.902e-05/1.97, allocations: 81.67 kB / 0.7415 GB, free: 100.6 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/1.971, allocations: 0.5933 MB / 0.7421 GB, free: 99.98 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000266/1.971, allocations: 37.7 kB / 0.7421 GB, free: 99.94 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/1.972, allocations: 343.7 kB / 0.7424 GB, free: 99.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003045/1.972, allocations: 226.9 kB / 0.7427 GB, free: 99.38 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.291e-05/1.972, allocations: 16 kB / 0.7427 GB, free: 99.36 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001464/1.972, allocations: 387.2 kB / 0.743 GB, free: 98.98 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009513/1.973, allocations: 345.4 kB / 0.7434 GB, free: 98.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/1.974, allocations: 499.1 kB / 0.7438 GB, free: 98.09 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001058/1.975, allocations: 405.9 kB / 0.7442 GB, free: 97.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/1.975, allocations: 4 kB / 0.7442 GB, free: 97.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003314/1.979, allocations: 1.117 MB / 0.7453 GB, free: 96.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005734/1.979, allocations: 1.567 MB / 0.7469 GB, free: 94.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/1.979, allocations: 8 kB / 0.7469 GB, free: 94.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002223/1.982, allocations: 432.5 kB / 0.7473 GB, free: 94.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00145/1.983, allocations: 167.7 kB / 0.7474 GB, free: 94.28 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/1.985, allocations: 1.021 MB / 0.7484 GB, free: 93.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/1.987, allocations: 47.86 kB / 0.7485 GB, free: 93.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001818/1.987, allocations: 35.92 kB / 0.7485 GB, free: 93.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/1.987, allocations: 4 kB / 0.7485 GB, free: 93.15 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002548/1.989, allocations: 0.9094 MB / 0.7494 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.749e-05/1.989, allocations: 4 kB / 0.7494 GB, free: 92.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001009/1.991, allocations: 248.8 kB / 0.7496 GB, free: 91.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001399/1.992, allocations: 167.7 kB / 0.7498 GB, free: 91.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001098/1.993, allocations: 0.8058 MB / 0.7506 GB, free: 90.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/1.994, allocations: 40.03 kB / 0.7506 GB, free: 90.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001537/1.995, allocations: 35.98 kB / 0.7507 GB, free: 90.91 MB / 410.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.0003691/1.995, allocations: 148.7 kB / 0.7508 GB, free: 90.76 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/1.995, allocations: 87.05 kB / 0.7509 GB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003085/1.998, allocations: 1.071 MB / 0.7519 GB, free: 89.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-05/1.999, allocations: 12 kB / 0.752 GB, free: 89.58 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.109e-05/1.999, allocations: 3.953 kB / 0.752 GB, free: 89.57 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.691e-05/1.999, allocations: 3.984 kB / 0.752 GB, free: 89.57 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005429/2.004, allocations: 1.989 MB / 0.7539 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/2.004, allocations: 0 / 0.7539 GB, free: 87.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001186/2.005, allocations: 123.8 kB / 0.754 GB, free: 87.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00213/2.007, allocations: 440.5 kB / 0.7544 GB, free: 86.98 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002144/2.008, allocations: 19.98 kB / 0.7545 GB, free: 86.96 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/2.009, allocations: 1.026 MB / 0.7555 GB, free: 85.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/2.01, allocations: 0 / 0.7555 GB, free: 85.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00379/2.013, allocations: 1.58 MB / 0.757 GB, free: 84.31 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000861/2.014, allocations: 252 kB / 0.7572 GB, free: 84.05 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/2.015, allocations: 12 kB / 0.7573 GB, free: 84.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/2.016, allocations: 51.92 kB / 0.7573 GB, free: 83.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002439/2.016, allocations: 56.31 kB / 0.7574 GB, free: 83.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001274/2.016, allocations: 35.97 kB / 0.7574 GB, free: 83.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0008797/2.017, allocations: 467.1 kB / 0.7578 GB, free: 83.45 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.11e-07/2.017, allocations: 0 / 0.7578 GB, free: 83.45 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003173/2.02, allocations: 0.6361 MB / 0.7585 GB, free: 82.81 MB / 410.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.006235/2.027, allocations: 2.615 MB / 0.761 GB, free: 80.2 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004437/2.031, allocations: 1.333 MB / 0.7623 GB, free: 78.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.031, allocations: 3.938 kB / 0.7623 GB, free: 78.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001609/2.033, allocations: 462.5 kB / 0.7628 GB, free: 78.41 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003161/2.036, allocations: 349.2 kB / 0.7631 GB, free: 78.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006579/2.043, allocations: 1.699 MB / 0.7648 GB, free: 76.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000536/2.043, allocations: 1.012 MB / 0.7657 GB, free: 75.3 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002277/2.046, allocations: 358.4 kB / 0.7661 GB, free: 74.95 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000669/2.046, allocations: 275.3 kB / 0.7663 GB, free: 74.68 MB / 410.7 MB Notification: Performance of SimCode: time 2.275e-06/2.046, allocations: 0 / 0.7663 GB, free: 74.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08483/2.131, allocations: 30.25 MB / 0.7959 GB, free: 44.45 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002249/2.131, allocations: 179.6 kB / 0.7961 GB, free: 44.21 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.964/6.096, allocations: 0 / 0.7961 GB, free: 44.21 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat does not exist to compare? outputFormat=mat