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.195/2.195, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.362e-05/3.388e-05, allocations: 6.531 kB / 267.6 MB, free: 4.957 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1198/0.1199, allocations: 48.69 MB / 316.3 MB, free: 4.164 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.18, allocations: 323.3 MB / 0.6247 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/1.181, allocations: 83.45 kB / 0.6248 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.789/1.97, allocations: 140.3 MB / 0.7618 GB, free: 53.3 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.97, allocations: 0 / 0.7618 GB, free: 53.3 MB / 426.7 MB Notification: Performance of Transformations before backend: time 8.601e-05/1.97, allocations: 26.83 kB / 0.7618 GB, free: 53.27 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.00343/1.973, allocations: 1.168 MB / 0.7629 GB, free: 52.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.973, allocations: 12.03 kB / 0.763 GB, free: 52.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005252/1.974, allocations: 106.9 kB / 0.7631 GB, free: 51.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001878/1.976, allocations: 0.7009 MB / 0.7637 GB, free: 51.21 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001076/1.976, allocations: 88.7 kB / 0.7638 GB, free: 51.11 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/1.976, allocations: 36 kB / 0.7639 GB, free: 51.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001819/1.978, allocations: 0.8068 MB / 0.7646 GB, free: 50.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001855/1.98, allocations: 0.923 MB / 0.7655 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/1.98, allocations: 0 / 0.7655 GB, free: 49.3 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/1.98, allocations: 7.984 kB / 0.7656 GB, free: 49.29 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001012/1.98, allocations: 53.28 kB / 0.7656 GB, free: 49.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008176/1.988, allocations: 3.857 MB / 0.7694 GB, free: 45.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001231/1.99, allocations: 0.6013 MB / 0.77 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006957/1.99, allocations: 362 kB / 0.7703 GB, free: 44.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004163/1.995, allocations: 2.323 MB / 0.7726 GB, free: 41.66 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007823/1.995, allocations: 417.6 kB / 0.773 GB, free: 41.23 MB / 426.7 MB Notification: Performance of pre-optimization done (n=45): time 3.166e-06/1.995, allocations: 0 / 0.773 GB, free: 41.23 MB / 426.7 MB Notification: Performance of matching and sorting (n=50): time 0.009986/2.005, allocations: 2.445 MB / 0.7754 GB, free: 38.73 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/2.005, allocations: 162.2 kB / 0.7755 GB, free: 38.53 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008579/2.006, allocations: 0.558 MB / 0.7761 GB, free: 37.96 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 7.372e-05/2.006, allocations: 25.7 kB / 0.7761 GB, free: 37.93 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003589/2.007, allocations: 454.7 kB / 0.7765 GB, free: 37.48 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001747/2.007, allocations: 157.8 kB / 0.7767 GB, free: 37.33 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.813e-05/2.007, allocations: 0 / 0.7767 GB, free: 37.33 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001378/2.007, allocations: 382.8 kB / 0.777 GB, free: 36.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007337/2.008, allocations: 333.9 kB / 0.7773 GB, free: 36.62 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008657/2.009, allocations: 0.6109 MB / 0.7779 GB, free: 35.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006978/2.016, allocations: 1.04 MB / 0.779 GB, free: 34.84 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/2.016, allocations: 4 kB / 0.779 GB, free: 34.83 MB / 426.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.009105/2.025, allocations: 1.8 MB / 0.7807 GB, free: 33.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007282/2.026, allocations: 3.429 MB / 0.7841 GB, free: 29.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/2.026, allocations: 8 kB / 0.7841 GB, free: 29.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001158/2.027, allocations: 333.4 kB / 0.7844 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/2.028, allocations: 159.7 kB / 0.7845 GB, free: 28.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002934/2.031, allocations: 1.632 MB / 0.7861 GB, free: 27.14 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001196/2.032, allocations: 35.88 kB / 0.7862 GB, free: 27.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/2.032, allocations: 43.98 kB / 0.7862 GB, free: 27.06 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.166e-05/2.032, allocations: 4 kB / 0.7862 GB, free: 27.05 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007312/2.04, allocations: 1.471 MB / 0.7877 GB, free: 25.58 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/2.04, allocations: 11.98 kB / 0.7877 GB, free: 25.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008936/2.041, allocations: 249.9 kB / 0.7879 GB, free: 25.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/2.042, allocations: 163.7 kB / 0.7881 GB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002201/2.044, allocations: 2.28 MB / 0.7903 GB, free: 22.74 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009948/2.045, allocations: 27.97 kB / 0.7903 GB, free: 22.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001035/2.045, allocations: 48.09 kB / 0.7904 GB, free: 22.66 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.0003558/2.046, allocations: 174.3 kB / 0.7905 GB, free: 22.48 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004061/2.05, allocations: 1.064 MB / 0.7916 GB, free: 21.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001437/2.05, allocations: 79.06 kB / 0.7916 GB, free: 21.32 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004406/2.054, allocations: 1.182 MB / 0.7928 GB, free: 20.12 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/2.054, allocations: 11.98 kB / 0.7928 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/2.054, allocations: 0 / 0.7928 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.006e-05/2.054, allocations: 3.984 kB / 0.7928 GB, free: 20.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00536/2.06, allocations: 1.92 MB / 0.7947 GB, free: 18.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/2.06, allocations: 4 kB / 0.7947 GB, free: 18.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007182/2.06, allocations: 75.89 kB / 0.7948 GB, free: 18.06 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001013/2.061, allocations: 309.4 kB / 0.7951 GB, free: 17.75 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.875e-05/2.062, allocations: 11.98 kB / 0.7951 GB, free: 17.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002742/2.064, allocations: 1.596 MB / 0.7966 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/2.064, allocations: 3.938 kB / 0.7966 GB, free: 16.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004679/2.069, allocations: 1.631 MB / 0.7982 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000535/2.07, allocations: 228.1 kB / 0.7984 GB, free: 14.19 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000207/2.07, allocations: 7.984 kB / 0.7985 GB, free: 14.18 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008658/2.071, allocations: 32.05 kB / 0.7985 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/2.071, allocations: 52.36 kB / 0.7985 GB, free: 14.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.03e-05/2.071, allocations: 23.98 kB / 0.7986 GB, free: 14.08 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006543/2.072, allocations: 415.1 kB / 0.799 GB, free: 13.68 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.31e-07/2.072, allocations: 0 / 0.799 GB, free: 13.68 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002678/2.074, allocations: 0.6166 MB / 0.7996 GB, free: 13.06 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.00652/2.081, allocations: 2.619 MB / 0.8021 GB, free: 10.41 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003556/2.084, allocations: 1.49 MB / 0.8036 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/2.084, allocations: 0 / 0.8036 GB, free: 8.895 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001214/2.086, allocations: 432.9 kB / 0.804 GB, free: 8.461 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00207/2.088, allocations: 247.2 kB / 0.8042 GB, free: 8.219 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005242/2.093, allocations: 1.615 MB / 0.8058 GB, free: 6.555 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000583/2.094, allocations: 1.029 MB / 0.8068 GB, free: 5.496 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001952/2.096, allocations: 333.7 kB / 0.8071 GB, free: 5.168 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005148/2.096, allocations: 279.3 kB / 0.8074 GB, free: 4.895 MB / 426.7 MB Notification: Performance of SimCode: time 1.092e-06/2.096, allocations: 0 / 0.8074 GB, free: 4.895 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3879/2.484, allocations: 25.45 MB / 0.8322 GB, free: 92.17 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/2.484, allocations: 191.9 kB / 0.8324 GB, free: 91.96 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.414/5.898, allocations: 0 / 0.8324 GB, free: 91.96 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