Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 249.5 MB / 261.6 MB, free: 2.148 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.65e-05/3.656e-05, allocations: 4 kB / 323.5 MB, free: 4.215 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3953/0.3954, allocations: 58.83 MB / 382.3 MB, free: 10.21 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8316/1.227, allocations: 335.6 MB / 0.7011 GB, free: 6.816 MB / 0.4949 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003214/1.227, allocations: 87.06 kB / 0.7012 GB, free: 6.77 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 0.8913/2.119, allocations: 143 MB / 0.8408 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.114e-06/2.119, allocations: 0 / 0.8408 GB, free: 90.38 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.891e-05/2.119, allocations: 20 kB / 0.8408 GB, free: 90.36 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 153 * Number of variables: 153 Notification: Performance of Generate backend data structure: time 0.004268/2.123, allocations: 1.194 MB / 0.842 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.913e-05/2.123, allocations: 8.031 kB / 0.842 GB, free: 89.11 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004533/2.124, allocations: 102.5 kB / 0.8421 GB, free: 89 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007142/2.124, allocations: 110.9 kB / 0.8422 GB, free: 88.89 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002358/2.127, allocations: 0.6752 MB / 0.8429 GB, free: 88.17 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/2.127, allocations: 112.7 kB / 0.843 GB, free: 88.05 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/2.127, allocations: 52 kB / 0.843 GB, free: 88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002613/2.13, allocations: 1.018 MB / 0.844 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.163e-05/2.13, allocations: 0 / 0.844 GB, free: 86.93 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001712/2.13, allocations: 24 kB / 0.8441 GB, free: 86.9 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001135/2.13, allocations: 53.22 kB / 0.8441 GB, free: 86.85 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00266/2.133, allocations: 0.8887 MB / 0.845 GB, free: 85.96 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01102/2.144, allocations: 4.005 MB / 0.8489 GB, free: 81.77 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002651/2.147, allocations: 0.6324 MB / 0.8495 GB, free: 81.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001238/2.148, allocations: 410.2 kB / 0.8499 GB, free: 80.73 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005118/2.153, allocations: 2.424 MB / 0.8523 GB, free: 78.05 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001051/2.154, allocations: 0.4953 MB / 0.8527 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=48): time 3.356e-06/2.154, allocations: 0 / 0.8527 GB, free: 77.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=53): time 0.006569/2.161, allocations: 2.138 MB / 0.8548 GB, free: 75.31 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.345e-05/2.161, allocations: 243.8 kB / 0.8551 GB, free: 75.02 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/2.163, allocations: 0.7307 MB / 0.8558 GB, free: 74.28 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002394/2.163, allocations: 37.7 kB / 0.8558 GB, free: 74.23 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003878/2.163, allocations: 423.8 kB / 0.8562 GB, free: 73.81 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000303/2.164, allocations: 181.5 kB / 0.8564 GB, free: 73.63 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.707e-05/2.164, allocations: 16 kB / 0.8564 GB, free: 73.62 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.416e-05/2.164, allocations: 345.8 kB / 0.8567 GB, free: 73.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009108/2.165, allocations: 361.4 kB / 0.8571 GB, free: 72.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001052/2.166, allocations: 0.5982 MB / 0.8577 GB, free: 72.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000986/2.167, allocations: 460.6 kB / 0.8581 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/2.167, allocations: 0 / 0.8581 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003326/2.17, allocations: 1.263 MB / 0.8593 GB, free: 70.47 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.000532/2.171, allocations: 2.47 MB / 0.8617 GB, free: 67.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.702e-05/2.171, allocations: 11.98 kB / 0.8618 GB, free: 67.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/2.172, allocations: 337.4 kB / 0.8621 GB, free: 67.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/2.173, allocations: 147.8 kB / 0.8622 GB, free: 67.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001723/2.175, allocations: 1.44 MB / 0.8636 GB, free: 65.82 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001616/2.177, allocations: 55.97 kB / 0.8637 GB, free: 65.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002333/2.177, allocations: 43.98 kB / 0.8637 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/2.177, allocations: 4 kB / 0.8637 GB, free: 65.72 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003295/2.181, allocations: 1.172 MB / 0.8649 GB, free: 64.54 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.455e-05/2.181, allocations: 7.984 kB / 0.8649 GB, free: 64.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001197/2.182, allocations: 321.6 kB / 0.8652 GB, free: 64.21 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/2.183, allocations: 155.7 kB / 0.8653 GB, free: 64.06 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/2.185, allocations: 1.409 MB / 0.8667 GB, free: 62.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/2.186, allocations: 48.02 kB / 0.8668 GB, free: 62.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001931/2.186, allocations: 43.98 kB / 0.8668 GB, free: 62.51 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (84): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,2 4} Notification: Performance of prepare postOptimizeDAE: time 0.0003827/2.187, allocations: 194.4 kB / 0.867 GB, free: 62.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002392/2.187, allocations: 90.97 kB / 0.8671 GB, free: 62.21 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003383/2.191, allocations: 1.125 MB / 0.8682 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.266e-05/2.191, allocations: 4 kB / 0.8682 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.956e-06/2.191, allocations: 4 kB / 0.8682 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/2.191, allocations: 3.984 kB / 0.8682 GB, free: 61.06 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004801/2.195, allocations: 1.977 MB / 0.8701 GB, free: 59.01 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.674e-06/2.195, allocations: 7.984 kB / 0.8701 GB, free: 59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008149/2.196, allocations: 71.91 kB / 0.8702 GB, free: 58.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001344/2.198, allocations: 341.4 kB / 0.8705 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001729/2.198, allocations: 16 kB / 0.8705 GB, free: 58.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0017/2.2, allocations: 1.432 MB / 0.8719 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/2.2, allocations: 0 / 0.8719 GB, free: 57.09 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003975/2.204, allocations: 1.599 MB / 0.8735 GB, free: 55.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008897/2.205, allocations: 271.9 kB / 0.8737 GB, free: 55.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/2.205, allocations: 12 kB / 0.8738 GB, free: 55.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001187/2.206, allocations: 48.03 kB / 0.8738 GB, free: 55.12 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002151/2.206, allocations: 52.36 kB / 0.8739 GB, free: 55.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001198/2.207, allocations: 27.98 kB / 0.8739 GB, free: 55.04 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001134/2.208, allocations: 0.5733 MB / 0.8744 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of sort global known variables: time 5.31e-07/2.208, allocations: 0 / 0.8744 GB, free: 54.47 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003169/2.211, allocations: 0.683 MB / 0.8751 GB, free: 53.79 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (tank.medium.T,tank.level) * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent,timeTable.nextEventScaled) * Number of discrete states: 6 (timeTable.nextEvent,timeTable.last,timeTable.nextEventScaled,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,3 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.006397/2.217, allocations: 2.631 MB / 0.8777 GB, free: 51.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.005138/2.223, allocations: 1.515 MB / 0.8792 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/2.223, allocations: 1.125 kB / 0.8792 GB, free: 49.59 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001689/2.224, allocations: 496.9 kB / 0.8796 GB, free: 49.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003378/2.228, allocations: 322.9 kB / 0.8799 GB, free: 48.79 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009594/2.237, allocations: 1.664 MB / 0.8816 GB, free: 47.08 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001031/2.238, allocations: 1.023 MB / 0.8826 GB, free: 46.03 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003005/2.242, allocations: 386.4 kB / 0.8829 GB, free: 45.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006239/2.242, allocations: 291.3 kB / 0.8832 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of SimCode: time 1.783e-06/2.242, allocations: 0 / 0.8832 GB, free: 45.36 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08655/2.329, allocations: 31.62 MB / 0.9141 GB, free: 13.78 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002338/2.329, allocations: 228.5 kB / 0.9143 GB, free: 13.47 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.33/6.659, allocations: 0 / 0.9143 GB, free: 13.47 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat