Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.638/2.638, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.428e-05, allocations: 4 kB / 305 MB, free: 5.062 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4484/0.4485, allocations: 54.85 MB / 359.9 MB, free: 2.797 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.897/1.346, allocations: 330.2 MB / 0.674 GB, free: 2.863 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003021/1.346, allocations: 83.27 kB / 0.674 GB, free: 2.82 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8893/2.235, allocations: 141.5 MB / 0.8123 GB, free: 102.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.254e-06/2.235, allocations: 4 kB / 0.8123 GB, free: 102.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001083/2.235, allocations: 23.98 kB / 0.8123 GB, free: 102.1 MB / 490.7 MB 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.004418/2.24, allocations: 1.178 MB / 0.8134 GB, free: 100.9 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/2.24, allocations: 12.03 kB / 0.8134 GB, free: 100.8 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004334/2.24, allocations: 110.5 kB / 0.8135 GB, free: 100.7 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007886/2.241, allocations: 106.9 kB / 0.8136 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003009/2.244, allocations: 0.7062 MB / 0.8143 GB, free: 99.87 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002378/2.245, allocations: 112.7 kB / 0.8144 GB, free: 99.75 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004278/2.245, allocations: 55.98 kB / 0.8145 GB, free: 99.7 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003398/2.248, allocations: 0.9895 MB / 0.8155 GB, free: 98.66 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.243e-05/2.249, allocations: 3.938 kB / 0.8155 GB, free: 98.66 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002018/2.249, allocations: 31.92 kB / 0.8155 GB, free: 98.62 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001539/2.249, allocations: 53.28 kB / 0.8156 GB, free: 98.57 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003103/2.252, allocations: 0.8731 MB / 0.8164 GB, free: 97.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01363/2.266, allocations: 4.01 MB / 0.8203 GB, free: 93.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/2.268, allocations: 0.6167 MB / 0.8209 GB, free: 92.88 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/2.269, allocations: 386.2 kB / 0.8213 GB, free: 92.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006399/2.276, allocations: 2.377 MB / 0.8236 GB, free: 89.86 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/2.277, allocations: 443.3 kB / 0.824 GB, free: 89.41 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 4.248e-06/2.277, allocations: 0 / 0.824 GB, free: 89.41 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.007622/2.285, allocations: 1.961 MB / 0.826 GB, free: 87.37 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.138e-05/2.285, allocations: 166.6 kB / 0.8261 GB, free: 87.17 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001694/2.286, allocations: 0.6758 MB / 0.8268 GB, free: 86.49 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001303/2.287, allocations: 33.7 kB / 0.8268 GB, free: 86.45 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004957/2.287, allocations: 447.2 kB / 0.8272 GB, free: 86.01 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002984/2.287, allocations: 177.5 kB / 0.8274 GB, free: 85.83 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/2.287, allocations: 16 kB / 0.8274 GB, free: 85.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002037/2.288, allocations: 402.7 kB / 0.8278 GB, free: 85.41 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/2.289, allocations: 341.6 kB / 0.8281 GB, free: 85.08 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/2.29, allocations: 0.6249 MB / 0.8287 GB, free: 84.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/2.292, allocations: 452.6 kB / 0.8292 GB, free: 83.88 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.057e-05/2.292, allocations: 0 / 0.8292 GB, free: 83.88 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.004548/2.297, allocations: 1.204 MB / 0.8303 GB, free: 82.65 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009457/2.298, allocations: 3.429 MB / 0.8337 GB, free: 78.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/2.298, allocations: 8 kB / 0.8337 GB, free: 78.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001902/2.299, allocations: 341.5 kB / 0.834 GB, free: 78.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001582/2.301, allocations: 163.7 kB / 0.8342 GB, free: 78.45 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002264/2.303, allocations: 1.432 MB / 0.8356 GB, free: 76.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/2.305, allocations: 56 kB / 0.8356 GB, free: 76.91 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002106/2.306, allocations: 47.98 kB / 0.8357 GB, free: 76.86 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/2.306, allocations: 5.406 kB / 0.8357 GB, free: 76.86 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00395/2.31, allocations: 1.043 MB / 0.8367 GB, free: 75.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/2.31, allocations: 8 kB / 0.8367 GB, free: 75.79 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/2.311, allocations: 261.8 kB / 0.837 GB, free: 75.53 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/2.313, allocations: 159.7 kB / 0.8371 GB, free: 75.37 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003345/2.316, allocations: 2.32 MB / 0.8394 GB, free: 72.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00168/2.318, allocations: 59.75 kB / 0.8394 GB, free: 72.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001577/2.318, allocations: 56.02 kB / 0.8395 GB, free: 72.78 MB / 490.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: 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 (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.0004499/2.318, allocations: 190.4 kB / 0.8397 GB, free: 72.58 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002581/2.319, allocations: 79.06 kB / 0.8397 GB, free: 72.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/2.323, allocations: 1.03 MB / 0.8407 GB, free: 71.44 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/2.323, allocations: 4 kB / 0.8408 GB, free: 71.44 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.19e-05/2.323, allocations: 0 / 0.8408 GB, free: 71.44 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/2.323, allocations: 3.984 kB / 0.8408 GB, free: 71.43 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004972/2.328, allocations: 1.848 MB / 0.8426 GB, free: 69.52 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.625e-06/2.328, allocations: 4 kB / 0.8426 GB, free: 69.52 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007813/2.329, allocations: 71.91 kB / 0.8426 GB, free: 69.45 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/2.33, allocations: 337.3 kB / 0.843 GB, free: 69.11 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001329/2.331, allocations: 16 kB / 0.843 GB, free: 69.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001638/2.332, allocations: 1.421 MB / 0.8444 GB, free: 67.62 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/2.332, allocations: 0 / 0.8444 GB, free: 67.62 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003497/2.336, allocations: 1.497 MB / 0.8458 GB, free: 66.09 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007342/2.337, allocations: 252 kB / 0.8461 GB, free: 65.83 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002057/2.337, allocations: 16 kB / 0.8461 GB, free: 65.81 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/2.338, allocations: 36.03 kB / 0.8461 GB, free: 65.78 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001986/2.338, allocations: 52.36 kB / 0.8462 GB, free: 65.73 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/2.338, allocations: 27.98 kB / 0.8462 GB, free: 65.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00106/2.339, allocations: 0.5147 MB / 0.8467 GB, free: 65.19 MB / 490.7 MB Notification: Performance of sort global known variables: time 8.61e-07/2.339, allocations: 0 / 0.8467 GB, free: 65.19 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003335/2.343, allocations: 0.6635 MB / 0.8473 GB, free: 64.53 MB / 490.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: 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 (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.005641/2.348, allocations: 2.525 MB / 0.8498 GB, free: 61.98 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004475/2.353, allocations: 1.58 MB / 0.8513 GB, free: 60.37 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/2.353, allocations: 1.562 kB / 0.8513 GB, free: 60.37 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/2.354, allocations: 468.9 kB / 0.8518 GB, free: 59.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002485/2.357, allocations: 277.5 kB / 0.8521 GB, free: 59.63 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006828/2.364, allocations: 1.7 MB / 0.8537 GB, free: 57.88 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/2.364, allocations: 1.031 MB / 0.8547 GB, free: 56.82 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002202/2.367, allocations: 374.2 kB / 0.8551 GB, free: 56.45 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005909/2.367, allocations: 287.3 kB / 0.8554 GB, free: 56.17 MB / 490.7 MB Notification: Performance of SimCode: time 1.283e-06/2.367, allocations: 0 / 0.8554 GB, free: 56.17 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08268/2.45, allocations: 28.96 MB / 0.8836 GB, free: 27.24 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/2.45, allocations: 232.5 kB / 0.8839 GB, free: 26.93 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.739/6.189, allocations: 0 / 0.8839 GB, free: 26.93 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat