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.023/2.023, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.573e-05/3.584e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1069/0.107, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.063/1.17, allocations: 323.8 MB / 0.6305 GB, free: 24.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/1.17, allocations: 79.95 kB / 0.6306 GB, free: 24.36 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8331/2.003, allocations: 141.4 MB / 0.7687 GB, free: 53.99 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.813e-06/2.003, allocations: 0 / 0.7687 GB, free: 53.99 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.895e-05/2.003, allocations: 23.98 kB / 0.7687 GB, free: 53.96 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.00412/2.008, allocations: 1.175 MB / 0.7699 GB, free: 52.74 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.136e-05/2.008, allocations: 8.031 kB / 0.7699 GB, free: 52.73 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000306/2.008, allocations: 110.5 kB / 0.77 GB, free: 52.61 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006453/2.009, allocations: 102.9 kB / 0.7701 GB, free: 52.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002266/2.011, allocations: 0.7023 MB / 0.7708 GB, free: 51.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001297/2.011, allocations: 108.7 kB / 0.7709 GB, free: 51.65 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001787/2.011, allocations: 55.98 kB / 0.7709 GB, free: 51.59 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/2.014, allocations: 0.9997 MB / 0.7719 GB, free: 50.55 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.06e-05/2.014, allocations: 0 / 0.7719 GB, free: 50.55 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/2.014, allocations: 31.97 kB / 0.7719 GB, free: 50.52 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001191/2.014, allocations: 49.28 kB / 0.772 GB, free: 50.47 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002235/2.016, allocations: 0.8757 MB / 0.7729 GB, free: 49.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009827/2.026, allocations: 4.006 MB / 0.7768 GB, free: 45.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/2.028, allocations: 0.6178 MB / 0.7774 GB, free: 44.76 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009208/2.029, allocations: 378 kB / 0.7777 GB, free: 44.39 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00492/2.034, allocations: 2.369 MB / 0.78 GB, free: 41.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009023/2.035, allocations: 433.7 kB / 0.7805 GB, free: 41.32 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 4.298e-06/2.035, allocations: 0 / 0.7805 GB, free: 41.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.005933/2.041, allocations: 2 MB / 0.7824 GB, free: 39.25 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/2.041, allocations: 166.2 kB / 0.7826 GB, free: 39.05 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/2.042, allocations: 0.6796 MB / 0.7832 GB, free: 38.36 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000124/2.042, allocations: 33.7 kB / 0.7833 GB, free: 38.32 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003441/2.042, allocations: 443.1 kB / 0.7837 GB, free: 37.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001934/2.043, allocations: 169.7 kB / 0.7838 GB, free: 37.71 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.686e-05/2.043, allocations: 16 kB / 0.7839 GB, free: 37.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/2.043, allocations: 394.7 kB / 0.7842 GB, free: 37.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008372/2.044, allocations: 353.6 kB / 0.7846 GB, free: 36.96 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000986/2.045, allocations: 0.6227 MB / 0.7852 GB, free: 36.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009434/2.046, allocations: 452.8 kB / 0.7856 GB, free: 35.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/2.046, allocations: 4 kB / 0.7856 GB, free: 35.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003261/2.049, allocations: 1.259 MB / 0.7868 GB, free: 34.48 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007734/2.05, allocations: 3.424 MB / 0.7902 GB, free: 30.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/2.05, allocations: 12 kB / 0.7902 GB, free: 30.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00147/2.051, allocations: 341.5 kB / 0.7905 GB, free: 30.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/2.052, allocations: 159.7 kB / 0.7907 GB, free: 30.27 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001653/2.054, allocations: 1.436 MB / 0.7921 GB, free: 28.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/2.056, allocations: 52.05 kB / 0.7921 GB, free: 28.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/2.056, allocations: 47.98 kB / 0.7922 GB, free: 28.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.301e-05/2.056, allocations: 4 kB / 0.7922 GB, free: 28.68 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002773/2.058, allocations: 1.114 MB / 0.7933 GB, free: 27.56 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/2.059, allocations: 8 kB / 0.7933 GB, free: 27.55 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001018/2.06, allocations: 265.8 kB / 0.7935 GB, free: 27.29 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001113/2.061, allocations: 159.7 kB / 0.7937 GB, free: 27.13 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/2.063, allocations: 2.332 MB / 0.796 GB, free: 24.64 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001228/2.064, allocations: 56.09 kB / 0.796 GB, free: 24.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001131/2.064, allocations: 44 kB / 0.7961 GB, free: 24.54 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.0003546/2.065, allocations: 197.6 kB / 0.7962 GB, free: 24.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001734/2.065, allocations: 82.97 kB / 0.7963 GB, free: 24.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003176/2.068, allocations: 1.072 MB / 0.7974 GB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.016e-05/2.068, allocations: 4 kB / 0.7974 GB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/2.068, allocations: 0 / 0.7974 GB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/2.068, allocations: 3.984 kB / 0.7974 GB, free: 23.15 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005621/2.074, allocations: 1.866 MB / 0.7992 GB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/2.074, allocations: 0 / 0.7992 GB, free: 21.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009383/2.075, allocations: 75.89 kB / 0.7993 GB, free: 21.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001628/2.077, allocations: 333.5 kB / 0.7996 GB, free: 20.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/2.077, allocations: 11.98 kB / 0.7996 GB, free: 20.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00203/2.079, allocations: 1.44 MB / 0.801 GB, free: 19.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.079, allocations: 0 / 0.801 GB, free: 19.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004781/2.084, allocations: 1.515 MB / 0.8025 GB, free: 17.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009522/2.085, allocations: 252 kB / 0.8027 GB, free: 17.49 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002809/2.085, allocations: 8 kB / 0.8027 GB, free: 17.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001462/2.086, allocations: 48.03 kB / 0.8028 GB, free: 17.44 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002578/2.087, allocations: 48.36 kB / 0.8028 GB, free: 17.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/2.087, allocations: 27.98 kB / 0.8029 GB, free: 17.36 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001395/2.088, allocations: 0.5147 MB / 0.8034 GB, free: 16.86 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.81e-07/2.088, allocations: 0 / 0.8034 GB, free: 16.86 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003841/2.092, allocations: 0.6518 MB / 0.804 GB, free: 16.2 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.006891/2.099, allocations: 2.514 MB / 0.8064 GB, free: 13.65 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005853/2.105, allocations: 1.565 MB / 0.808 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/2.105, allocations: 0 / 0.808 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001851/2.107, allocations: 453.8 kB / 0.8084 GB, free: 11.6 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002931/2.11, allocations: 265.9 kB / 0.8087 GB, free: 11.34 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007641/2.118, allocations: 1.686 MB / 0.8103 GB, free: 9.609 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008159/2.118, allocations: 1.026 MB / 0.8113 GB, free: 8.551 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002875/2.121, allocations: 374.2 kB / 0.8117 GB, free: 8.18 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007002/2.122, allocations: 283.3 kB / 0.8119 GB, free: 7.902 MB / 426.7 MB Notification: Performance of SimCode: time 1.653e-06/2.122, allocations: 4 kB / 0.8119 GB, free: 7.898 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4261/2.548, allocations: 28.76 MB / 0.84 GB, free: 90.57 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003003/2.549, allocations: 233.3 kB / 0.8403 GB, free: 90.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.946/6.495, allocations: 0.875 kB / 0.8403 GB, free: 90.26 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