Running command: "" <> buildModelFMU(Modelica.Fluid.Examples.Tanks.EmptyTanks,fileNamePrefix="Modelica_3_2_3_Modelica_Fluid_Examples_Tanks_EmptyTanks",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.111/2.111, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.219e-05/4.225e-05, allocations: 4 kB / 269.4 MB, free: 6.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1301, allocations: 47.57 MB / 317 MB, free: 6.668 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.028/1.158, allocations: 320.9 MB / 0.6229 GB, free: 42.54 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002914/1.158, allocations: 85.81 kB / 0.623 GB, free: 42.49 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7714/1.93, allocations: 131.5 MB / 0.7515 GB, free: 87.91 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.93, allocations: 0 / 0.7515 GB, free: 87.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.161e-05/1.93, allocations: 20 kB / 0.7515 GB, free: 87.89 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.003372/1.933, allocations: 1.09 MB / 0.7526 GB, free: 86.77 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/1.933, allocations: 12.03 kB / 0.7526 GB, free: 86.76 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001938/1.934, allocations: 98.27 kB / 0.7527 GB, free: 86.66 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004699/1.934, allocations: 99.66 kB / 0.7528 GB, free: 86.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001874/1.936, allocations: 0.6589 MB / 0.7534 GB, free: 85.87 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/1.936, allocations: 100.6 kB / 0.7535 GB, free: 85.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000148/1.936, allocations: 59.89 kB / 0.7536 GB, free: 85.7 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002057/1.938, allocations: 0.8748 MB / 0.7544 GB, free: 84.82 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.066e-05/1.938, allocations: 4 kB / 0.7544 GB, free: 84.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/1.939, allocations: 19.91 kB / 0.7544 GB, free: 84.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001181/1.939, allocations: 53.28 kB / 0.7545 GB, free: 84.74 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001941/1.941, allocations: 0.799 MB / 0.7553 GB, free: 83.95 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008194/1.949, allocations: 3.303 MB / 0.7585 GB, free: 80.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001432/1.95, allocations: 0.6326 MB / 0.7591 GB, free: 79.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007643/1.951, allocations: 362.4 kB / 0.7595 GB, free: 79.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004147/1.955, allocations: 2.054 MB / 0.7615 GB, free: 77.29 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.351e-05/1.955, allocations: 51 kB / 0.7615 GB, free: 77.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=56): time 2.976e-06/1.955, allocations: 0 / 0.7615 GB, free: 77.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=66): time 0.006928/1.962, allocations: 2.214 MB / 0.7637 GB, free: 74.96 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.99e-05/1.962, allocations: 85.67 kB / 0.7638 GB, free: 74.86 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/1.964, allocations: 0.5971 MB / 0.7643 GB, free: 74.26 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001136/1.964, allocations: 41.7 kB / 0.7644 GB, free: 74.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000256/1.964, allocations: 336.5 kB / 0.7647 GB, free: 73.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002374/1.964, allocations: 228.4 kB / 0.7649 GB, free: 73.66 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.2e-05/1.964, allocations: 12 kB / 0.7649 GB, free: 73.65 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001337/1.964, allocations: 386.8 kB / 0.7653 GB, free: 73.26 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008419/1.965, allocations: 353.4 kB / 0.7656 GB, free: 72.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009019/1.966, allocations: 491.2 kB / 0.7661 GB, free: 72.38 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009173/1.967, allocations: 401.9 kB / 0.7665 GB, free: 71.99 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/1.967, allocations: 4 kB / 0.7665 GB, free: 71.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.002836/1.97, allocations: 1.117 MB / 0.7676 GB, free: 70.86 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003431/1.97, allocations: 1.575 MB / 0.7691 GB, free: 69.16 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.97, allocations: 4 kB / 0.7691 GB, free: 69.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/1.972, allocations: 428.5 kB / 0.7695 GB, free: 68.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001277/1.974, allocations: 159.8 kB / 0.7697 GB, free: 68.58 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001656/1.975, allocations: 1.023 MB / 0.7707 GB, free: 67.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/1.977, allocations: 51.78 kB / 0.7707 GB, free: 67.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001084/1.977, allocations: 31.98 kB / 0.7708 GB, free: 67.45 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/1.977, allocations: 4 kB / 0.7708 GB, free: 67.45 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002511/1.979, allocations: 0.9754 MB / 0.7717 GB, free: 66.46 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/1.979, allocations: 4.094 kB / 0.7717 GB, free: 66.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/1.98, allocations: 309 kB / 0.772 GB, free: 66.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.982, allocations: 167.7 kB / 0.7722 GB, free: 65.99 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00143/1.983, allocations: 0.8997 MB / 0.7731 GB, free: 65.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/1.984, allocations: 47.88 kB / 0.7731 GB, free: 65.02 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001324/1.985, allocations: 39.92 kB / 0.7731 GB, free: 64.98 MB / 426.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.0003618/1.985, allocations: 148.8 kB / 0.7733 GB, free: 64.83 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002387/1.985, allocations: 75.06 kB / 0.7734 GB, free: 64.75 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/1.988, allocations: 1.09 MB / 0.7744 GB, free: 63.65 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.34e-05/1.988, allocations: 8 kB / 0.7744 GB, free: 63.64 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/1.988, allocations: 0 / 0.7744 GB, free: 63.64 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.369e-05/1.988, allocations: 7.938 kB / 0.7744 GB, free: 63.63 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004682/1.993, allocations: 1.981 MB / 0.7764 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/1.993, allocations: 4 kB / 0.7764 GB, free: 61.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001094/1.994, allocations: 115.9 kB / 0.7765 GB, free: 61.49 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0019/1.996, allocations: 448.9 kB / 0.7769 GB, free: 61.05 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.237e-05/1.996, allocations: 23.98 kB / 0.7769 GB, free: 61.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001609/1.998, allocations: 1.022 MB / 0.7779 GB, free: 59.98 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.998, allocations: 3.953 kB / 0.7779 GB, free: 59.97 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003507/2.001, allocations: 1.576 MB / 0.7795 GB, free: 58.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006102/2.002, allocations: 248 kB / 0.7797 GB, free: 58.11 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001849/2.002, allocations: 12 kB / 0.7797 GB, free: 58.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001095/2.003, allocations: 55.81 kB / 0.7798 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001891/2.004, allocations: 56.64 kB / 0.7798 GB, free: 57.99 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.988e-05/2.004, allocations: 31.98 kB / 0.7799 GB, free: 57.96 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0007965/2.005, allocations: 471.1 kB / 0.7803 GB, free: 57.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/2.005, allocations: 0 / 0.7803 GB, free: 57.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002345/2.007, allocations: 0.64 MB / 0.7809 GB, free: 56.86 MB / 426.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.00525/2.012, allocations: 2.624 MB / 0.7835 GB, free: 54.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00412/2.016, allocations: 1.36 MB / 0.7848 GB, free: 52.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/2.016, allocations: 0 / 0.7848 GB, free: 52.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001403/2.018, allocations: 454.7 kB / 0.7853 GB, free: 52.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/2.02, allocations: 362.5 kB / 0.7856 GB, free: 52.1 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005358/2.026, allocations: 1.695 MB / 0.7873 GB, free: 50.36 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000504/2.026, allocations: 1.012 MB / 0.7882 GB, free: 49.32 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001968/2.028, allocations: 366.4 kB / 0.7886 GB, free: 48.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005083/2.029, allocations: 275.3 kB / 0.7889 GB, free: 48.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.373e-06/2.029, allocations: 0 / 0.7889 GB, free: 48.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09538/2.124, allocations: 30.48 MB / 0.8186 GB, free: 18.25 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/2.125, allocations: 167.7 kB / 0.8188 GB, free: 18.02 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.066/6.191, allocations: 0 / 0.8188 GB, free: 18.02 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Fluid.Examples.Tanks.EmptyTanks_res.mat does not exist to compare? outputFormat=mat