Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Vessels_TestSimpleTank",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.411/2.411, allocations: 270 MB / 283.6 MB, free: 1.887 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.429e-05, allocations: 4 kB / 348.5 MB, free: 2.633 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4151, allocations: 61.87 MB / 410.4 MB, free: 10.58 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.321/1.737, allocations: 336.4 MB / 0.7292 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004905/1.737, allocations: 84.81 kB / 0.7293 GB, free: 142.1 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.5419/2.279, allocations: 146 MB / 0.8719 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.795e-06/2.279, allocations: 4 kB / 0.8719 GB, free: 50.84 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001295/2.279, allocations: 23.94 kB / 0.8719 GB, free: 50.82 MB / 0.5261 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.005905/2.285, allocations: 1.183 MB / 0.8731 GB, free: 49.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.095e-05/2.285, allocations: 12.03 kB / 0.8731 GB, free: 49.57 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004314/2.286, allocations: 110.5 kB / 0.8732 GB, free: 49.45 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009909/2.287, allocations: 114.8 kB / 0.8733 GB, free: 49.34 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003368/2.29, allocations: 0.6752 MB / 0.874 GB, free: 48.62 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/2.29, allocations: 100.7 kB / 0.8741 GB, free: 48.51 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003394/2.291, allocations: 56 kB / 0.8741 GB, free: 48.46 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003946/2.295, allocations: 1.01 MB / 0.8751 GB, free: 47.4 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.442e-05/2.295, allocations: 3.938 kB / 0.8751 GB, free: 47.39 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002415/2.295, allocations: 28 kB / 0.8751 GB, free: 47.37 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001669/2.295, allocations: 61.23 kB / 0.8752 GB, free: 47.3 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004033/2.299, allocations: 0.8848 MB / 0.8761 GB, free: 46.42 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01611/2.316, allocations: 4.017 MB / 0.88 GB, free: 42.22 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002609/2.318, allocations: 0.6454 MB / 0.8806 GB, free: 41.57 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001547/2.32, allocations: 406.2 kB / 0.881 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007693/2.328, allocations: 2.428 MB / 0.8834 GB, free: 38.49 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/2.329, allocations: 0.4914 MB / 0.8839 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=48): time 5.169e-06/2.329, allocations: 0 / 0.8839 GB, free: 37.96 MB / 0.5261 GB Notification: Performance of matching and sorting (n=53): time 0.008684/2.338, allocations: 2.123 MB / 0.8859 GB, free: 35.77 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.106e-05/2.338, allocations: 243.8 kB / 0.8862 GB, free: 35.47 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001371/2.34, allocations: 0.7424 MB / 0.8869 GB, free: 34.72 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001901/2.34, allocations: 37.7 kB / 0.8869 GB, free: 34.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003635/2.34, allocations: 419.8 kB / 0.8873 GB, free: 34.26 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002341/2.34, allocations: 177.5 kB / 0.8875 GB, free: 34.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.311e-05/2.34, allocations: 16 kB / 0.8875 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/2.341, allocations: 334 kB / 0.8878 GB, free: 33.74 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008809/2.341, allocations: 365.4 kB / 0.8882 GB, free: 33.38 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001017/2.342, allocations: 0.5982 MB / 0.8888 GB, free: 32.67 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/2.344, allocations: 456.6 kB / 0.8892 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/2.344, allocations: 4 kB / 0.8892 GB, free: 32.22 MB / 0.5261 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.003269/2.347, allocations: 1.251 MB / 0.8904 GB, free: 30.95 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005371/2.347, allocations: 2.473 MB / 0.8928 GB, free: 28.28 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.776e-05/2.347, allocations: 8 kB / 0.8928 GB, free: 28.27 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/2.349, allocations: 341.4 kB / 0.8932 GB, free: 27.93 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/2.35, allocations: 147.7 kB / 0.8933 GB, free: 27.79 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002381/2.353, allocations: 1.444 MB / 0.8947 GB, free: 26.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002623/2.355, allocations: 43.97 kB / 0.8948 GB, free: 26.25 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004867/2.356, allocations: 43.98 kB / 0.8948 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/2.356, allocations: 4 kB / 0.8948 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005738/2.362, allocations: 1.172 MB / 0.896 GB, free: 25.01 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.297e-05/2.362, allocations: 12 kB / 0.896 GB, free: 25 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/2.364, allocations: 329.7 kB / 0.8963 GB, free: 24.67 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001666/2.365, allocations: 151.7 kB / 0.8964 GB, free: 24.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002389/2.368, allocations: 1.413 MB / 0.8978 GB, free: 23.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/2.37, allocations: 55.81 kB / 0.8979 GB, free: 23 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002271/2.37, allocations: 43.98 kB / 0.8979 GB, free: 22.96 MB / 0.5261 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.0005207/2.371, allocations: 199.1 kB / 0.8981 GB, free: 22.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003665/2.371, allocations: 86.97 kB / 0.8982 GB, free: 22.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005084/2.376, allocations: 1.12 MB / 0.8993 GB, free: 21.52 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/2.376, allocations: 12 kB / 0.8993 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-05/2.376, allocations: 3.953 kB / 0.8993 GB, free: 21.51 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.685e-05/2.376, allocations: 3.984 kB / 0.8993 GB, free: 21.5 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007657/2.384, allocations: 1.973 MB / 0.9012 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/2.384, allocations: 0 / 0.9012 GB, free: 19.46 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/2.385, allocations: 75.89 kB / 0.9013 GB, free: 19.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002102/2.388, allocations: 333.5 kB / 0.9016 GB, free: 19.06 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002601/2.388, allocations: 19.98 kB / 0.9016 GB, free: 19.04 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00253/2.39, allocations: 1.421 MB / 0.903 GB, free: 17.57 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.354e-06/2.391, allocations: 4.094 kB / 0.903 GB, free: 17.56 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005896/2.396, allocations: 1.614 MB / 0.9046 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001245/2.398, allocations: 275.8 kB / 0.9048 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004841/2.398, allocations: 15.98 kB / 0.9049 GB, free: 15.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002049/2.4, allocations: 39.97 kB / 0.9049 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00037/2.401, allocations: 52.36 kB / 0.905 GB, free: 15.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002089/2.401, allocations: 32.05 kB / 0.905 GB, free: 15.49 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001789/2.403, allocations: 0.5655 MB / 0.9055 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.293e-06/2.403, allocations: 0 / 0.9055 GB, free: 14.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004709/2.408, allocations: 0.6986 MB / 0.9062 GB, free: 14.23 MB / 0.5261 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.005545/2.413, allocations: 2.619 MB / 0.9088 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.004506/2.418, allocations: 1.519 MB / 0.9103 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/2.418, allocations: 4 kB / 0.9103 GB, free: 10.04 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.001587/2.419, allocations: 488.9 kB / 0.9107 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002794/2.422, allocations: 327 kB / 0.911 GB, free: 9.242 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005728/2.428, allocations: 1.66 MB / 0.9127 GB, free: 7.543 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000562/2.429, allocations: 1.027 MB / 0.9137 GB, free: 6.488 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002179/2.431, allocations: 394.4 kB / 0.914 GB, free: 6.098 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005857/2.431, allocations: 291.3 kB / 0.9143 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of SimCode: time 1.302e-06/2.431, allocations: 0 / 0.9143 GB, free: 5.812 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4758/2.907, allocations: 31.6 MB / 0.9452 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000219/2.908, allocations: 239.6 kB / 0.9454 GB, free: 126.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.383/7.291, allocations: 3.938 kB / 0.9454 GB, free: 126.1 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Vessels.TestSimpleTank_res.mat does not exist to compare? outputFormat=mat