Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.034/2.034, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.152e-05, allocations: 4 kB / 273.2 MB, free: 144 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1103, allocations: 48.7 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.154, allocations: 323.8 MB / 0.6305 GB, free: 24.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/1.154, allocations: 83.95 kB / 0.6306 GB, free: 24.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8165/1.971, allocations: 141.4 MB / 0.7687 GB, free: 53.96 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.971, allocations: 0 / 0.7687 GB, free: 53.96 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001103/1.971, allocations: 23.98 kB / 0.7688 GB, free: 53.93 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.004267/1.975, allocations: 1.171 MB / 0.7699 GB, free: 52.71 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.975, allocations: 8.031 kB / 0.7699 GB, free: 52.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004255/1.976, allocations: 114.4 kB / 0.77 GB, free: 52.58 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000671/1.977, allocations: 102.9 kB / 0.7701 GB, free: 52.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002472/1.979, allocations: 0.7062 MB / 0.7708 GB, free: 51.73 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001652/1.979, allocations: 104.7 kB / 0.7709 GB, free: 51.62 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002887/1.98, allocations: 55.98 kB / 0.771 GB, free: 51.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002652/1.982, allocations: 0.9855 MB / 0.7719 GB, free: 50.53 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.773e-05/1.982, allocations: 7.984 kB / 0.7719 GB, free: 50.52 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/1.983, allocations: 31.92 kB / 0.772 GB, free: 50.49 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001163/1.983, allocations: 49.28 kB / 0.772 GB, free: 50.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003781/1.986, allocations: 0.8654 MB / 0.7729 GB, free: 49.58 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/1.997, allocations: 4.006 MB / 0.7768 GB, free: 45.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/1.998, allocations: 0.613 MB / 0.7774 GB, free: 44.75 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008862/1.999, allocations: 378 kB / 0.7777 GB, free: 44.38 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004933/2.004, allocations: 2.365 MB / 0.78 GB, free: 41.76 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009182/2.005, allocations: 429.7 kB / 0.7805 GB, free: 41.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.687e-06/2.005, allocations: 0 / 0.7805 GB, free: 41.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.00622/2.012, allocations: 2.004 MB / 0.7824 GB, free: 39.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.853e-05/2.012, allocations: 166.2 kB / 0.7826 GB, free: 39.04 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/2.013, allocations: 0.6796 MB / 0.7832 GB, free: 38.35 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002291/2.013, allocations: 33.7 kB / 0.7833 GB, free: 38.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000362/2.014, allocations: 447.1 kB / 0.7837 GB, free: 37.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/2.014, allocations: 169.7 kB / 0.7839 GB, free: 37.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.354e-05/2.014, allocations: 16 kB / 0.7839 GB, free: 37.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001376/2.014, allocations: 390.7 kB / 0.7842 GB, free: 37.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008612/2.015, allocations: 349.6 kB / 0.7846 GB, free: 36.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/2.016, allocations: 0.6215 MB / 0.7852 GB, free: 36.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009784/2.017, allocations: 452.8 kB / 0.7856 GB, free: 35.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/2.017, allocations: 0 / 0.7856 GB, free: 35.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003424/2.02, allocations: 1.24 MB / 0.7868 GB, free: 34.5 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009129/2.021, allocations: 3.425 MB / 0.7902 GB, free: 30.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.078e-05/2.022, allocations: 12 kB / 0.7902 GB, free: 30.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001594/2.023, allocations: 341.5 kB / 0.7905 GB, free: 30.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001325/2.025, allocations: 159.7 kB / 0.7907 GB, free: 30.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001816/2.026, allocations: 1.432 MB / 0.7921 GB, free: 28.81 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001409/2.028, allocations: 52.05 kB / 0.7921 GB, free: 28.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001636/2.028, allocations: 47.98 kB / 0.7922 GB, free: 28.71 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.455e-05/2.028, allocations: 4 kB / 0.7922 GB, free: 28.71 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002839/2.031, allocations: 1.086 MB / 0.7932 GB, free: 27.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.907e-05/2.031, allocations: 11.98 kB / 0.7932 GB, free: 27.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/2.032, allocations: 253.9 kB / 0.7935 GB, free: 27.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/2.033, allocations: 163.8 kB / 0.7936 GB, free: 27.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/2.036, allocations: 2.335 MB / 0.7959 GB, free: 24.69 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001243/2.037, allocations: 48.06 kB / 0.796 GB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/2.037, allocations: 44 kB / 0.796 GB, free: 24.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,$PRE.timeTable.nextEvent,timeTable.nextEvent) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 86 * 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.0003639/2.038, allocations: 186.4 kB / 0.7962 GB, free: 24.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001924/2.038, allocations: 82.97 kB / 0.7963 GB, free: 24.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003198/2.041, allocations: 1.079 MB / 0.7973 GB, free: 23.22 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/2.041, allocations: 4 kB / 0.7973 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/2.041, allocations: 3.938 kB / 0.7973 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.034e-05/2.041, allocations: 3.984 kB / 0.7973 GB, free: 23.21 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004284/2.045, allocations: 1.866 MB / 0.7991 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.045, allocations: 0 / 0.7991 GB, free: 21.27 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007582/2.046, allocations: 79.89 kB / 0.7992 GB, free: 21.19 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001286/2.048, allocations: 325.4 kB / 0.7995 GB, free: 20.87 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/2.048, allocations: 23.92 kB / 0.7996 GB, free: 20.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001593/2.049, allocations: 1.429 MB / 0.8009 GB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/2.049, allocations: 0 / 0.8009 GB, free: 19.36 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003385/2.053, allocations: 1.519 MB / 0.8024 GB, free: 17.82 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006383/2.053, allocations: 247.9 kB / 0.8027 GB, free: 17.55 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000196/2.054, allocations: 16 kB / 0.8027 GB, free: 17.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009525/2.055, allocations: 40.16 kB / 0.8027 GB, free: 17.5 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000187/2.055, allocations: 48.36 kB / 0.8028 GB, free: 17.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.925e-05/2.055, allocations: 23.98 kB / 0.8028 GB, free: 17.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0009704/2.056, allocations: 0.5186 MB / 0.8033 GB, free: 16.92 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.753e-06/2.056, allocations: 4 kB / 0.8033 GB, free: 16.91 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002914/2.059, allocations: 0.6556 MB / 0.8039 GB, free: 16.26 MB / 426.7 MB 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: 9 ($whenCondition1,tank.regularFlow[1],tank.regularFlow[2],tank.inFlow[1],tank.inFlow[2],timeTable.a,timeTable.b,timeTable.last,timeTable.nextEvent) * Number of discrete states: 5 (timeTable.last,timeTable.nextEvent,timeTable.b,timeTable.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.005316/2.064, allocations: 2.519 MB / 0.8064 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004115/2.068, allocations: 1.522 MB / 0.8079 GB, free: 12.15 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/2.068, allocations: 8.062 kB / 0.8079 GB, free: 12.14 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001376/2.07, allocations: 448.9 kB / 0.8083 GB, free: 11.69 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002283/2.072, allocations: 268.7 kB / 0.8086 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005875/2.078, allocations: 1.689 MB / 0.8102 GB, free: 9.703 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005832/2.079, allocations: 1.03 MB / 0.8112 GB, free: 8.645 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002165/2.081, allocations: 370.2 kB / 0.8116 GB, free: 8.277 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005241/2.081, allocations: 287.3 kB / 0.8119 GB, free: 7.996 MB / 426.7 MB Notification: Performance of SimCode: time 1.383e-06/2.081, allocations: 0 / 0.8119 GB, free: 7.996 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4042/2.486, allocations: 28.7 MB / 0.8399 GB, free: 90.36 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002878/2.486, allocations: 236.8 kB / 0.8401 GB, free: 90.05 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.853/6.339, allocations: 3.812 kB / 0.8401 GB, free: 90.05 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat