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.424/2.424, allocations: 235.1 MB / 242.2 MB, free: 15.83 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.656e-05/2.669e-05, allocations: 7.938 kB / 299.5 MB, free: 6.488 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4673/0.4674, allocations: 54.84 MB / 354.3 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9077/1.375, allocations: 329.6 MB / 0.6679 GB, free: 9.414 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003795/1.376, allocations: 88.12 kB / 0.668 GB, free: 9.367 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8535/2.229, allocations: 140.4 MB / 0.805 GB, free: 79.27 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.625e-06/2.229, allocations: 3.938 kB / 0.8051 GB, free: 79.26 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.000103/2.229, allocations: 23.94 kB / 0.8051 GB, free: 79.24 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.004478/2.234, allocations: 1.183 MB / 0.8062 GB, free: 78 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/2.234, allocations: 12.02 kB / 0.8062 GB, free: 77.99 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001025/2.235, allocations: 110.9 kB / 0.8063 GB, free: 77.88 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002794/2.238, allocations: 0.7063 MB / 0.807 GB, free: 77.13 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001473/2.238, allocations: 88.66 kB / 0.8071 GB, free: 77.03 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002322/2.238, allocations: 36 kB / 0.8072 GB, free: 77 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002091/2.24, allocations: 0.8186 MB / 0.808 GB, free: 76.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/2.243, allocations: 0.9153 MB / 0.8088 GB, free: 75.22 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.717e-05/2.243, allocations: 7.938 kB / 0.8089 GB, free: 75.21 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/2.243, allocations: 0 / 0.8089 GB, free: 75.21 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001187/2.243, allocations: 49.28 kB / 0.8089 GB, free: 75.16 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009204/2.252, allocations: 3.879 MB / 0.8127 GB, free: 71.1 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001354/2.254, allocations: 0.6127 MB / 0.8133 GB, free: 70.48 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007487/2.254, allocations: 378.2 kB / 0.8137 GB, free: 70.11 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004735/2.259, allocations: 2.331 MB / 0.8159 GB, free: 67.53 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008482/2.26, allocations: 427.3 kB / 0.8163 GB, free: 67.09 MB / 490.7 MB Notification: Performance of pre-optimization done (n=47): time 4.248e-06/2.26, allocations: 3.938 kB / 0.8163 GB, free: 67.09 MB / 490.7 MB Notification: Performance of matching and sorting (n=52): time 0.01127/2.271, allocations: 2.377 MB / 0.8187 GB, free: 64.65 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.28e-05/2.272, allocations: 162.6 kB / 0.8188 GB, free: 64.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009557/2.272, allocations: 0.5464 MB / 0.8193 GB, free: 63.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001628/2.273, allocations: 25.7 kB / 0.8194 GB, free: 63.87 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000389/2.273, allocations: 450.8 kB / 0.8198 GB, free: 63.42 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002035/2.273, allocations: 173.6 kB / 0.82 GB, free: 63.25 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.182e-05/2.273, allocations: 0 / 0.82 GB, free: 63.25 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/2.274, allocations: 394.6 kB / 0.8203 GB, free: 62.86 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007553/2.274, allocations: 338 kB / 0.8207 GB, free: 62.53 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008827/2.275, allocations: 0.6112 MB / 0.8213 GB, free: 61.79 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007254/2.282, allocations: 1.036 MB / 0.8223 GB, free: 60.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.65e-05/2.283, allocations: 4 kB / 0.8223 GB, free: 60.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.009538/2.292, allocations: 1.753 MB / 0.824 GB, free: 58.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008014/2.293, allocations: 3.436 MB / 0.8273 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/2.293, allocations: 8 kB / 0.8274 GB, free: 55.27 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001182/2.294, allocations: 325.5 kB / 0.8277 GB, free: 54.94 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/2.295, allocations: 159.7 kB / 0.8278 GB, free: 54.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003289/2.299, allocations: 1.635 MB / 0.8294 GB, free: 53.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/2.3, allocations: 40.03 kB / 0.8295 GB, free: 53.06 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/2.3, allocations: 43.98 kB / 0.8295 GB, free: 53.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/2.3, allocations: 4 kB / 0.8295 GB, free: 53.01 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008042/2.309, allocations: 1.42 MB / 0.8309 GB, free: 51.58 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.632e-05/2.309, allocations: 16.16 kB / 0.8309 GB, free: 51.57 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009626/2.31, allocations: 249.6 kB / 0.8311 GB, free: 51.32 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/2.311, allocations: 167.7 kB / 0.8313 GB, free: 51.15 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002507/2.313, allocations: 2.276 MB / 0.8335 GB, free: 48.73 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001237/2.315, allocations: 35.88 kB / 0.8336 GB, free: 48.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/2.315, allocations: 44 kB / 0.8336 GB, free: 48.66 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.0003942/2.315, allocations: 174.5 kB / 0.8338 GB, free: 48.47 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004476/2.32, allocations: 1.028 MB / 0.8348 GB, free: 47.43 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/2.32, allocations: 75.16 kB / 0.8348 GB, free: 47.35 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00488/2.325, allocations: 1.142 MB / 0.836 GB, free: 46.2 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.5e-05/2.325, allocations: 8 kB / 0.836 GB, free: 46.19 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/2.325, allocations: 0 / 0.836 GB, free: 46.19 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/2.325, allocations: 3.984 kB / 0.836 GB, free: 46.18 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/2.331, allocations: 1.886 MB / 0.8378 GB, free: 44.25 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.257e-06/2.331, allocations: 0 / 0.8378 GB, free: 44.25 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007488/2.332, allocations: 75.95 kB / 0.8379 GB, free: 44.17 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/2.333, allocations: 317.5 kB / 0.8382 GB, free: 43.86 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001146/2.333, allocations: 11.98 kB / 0.8382 GB, free: 43.84 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003067/2.337, allocations: 1.604 MB / 0.8398 GB, free: 42.19 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/2.337, allocations: 0 / 0.8398 GB, free: 42.19 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005216/2.342, allocations: 1.597 MB / 0.8413 GB, free: 40.57 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006995/2.343, allocations: 240 kB / 0.8415 GB, free: 40.31 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002106/2.343, allocations: 4 kB / 0.8416 GB, free: 40.31 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/2.344, allocations: 35.97 kB / 0.8416 GB, free: 40.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002211/2.344, allocations: 52.39 kB / 0.8416 GB, free: 40.22 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/2.344, allocations: 27.98 kB / 0.8417 GB, free: 40.19 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0007479/2.345, allocations: 419.1 kB / 0.8421 GB, free: 39.79 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.21e-07/2.345, allocations: 0 / 0.8421 GB, free: 39.79 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.003199/2.348, allocations: 0.6205 MB / 0.8427 GB, free: 39.17 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.00724/2.355, allocations: 2.593 MB / 0.8452 GB, free: 36.55 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004215/2.36, allocations: 1.545 MB / 0.8467 GB, free: 34.98 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/2.36, allocations: 4 kB / 0.8467 GB, free: 34.97 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001446/2.361, allocations: 456.9 kB / 0.8472 GB, free: 34.52 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002362/2.364, allocations: 253.6 kB / 0.8474 GB, free: 34.27 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006243/2.37, allocations: 1.639 MB / 0.849 GB, free: 32.59 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006158/2.371, allocations: 1.034 MB / 0.85 GB, free: 31.52 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002043/2.373, allocations: 341.7 kB / 0.8503 GB, free: 31.19 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005756/2.373, allocations: 283.3 kB / 0.8506 GB, free: 30.91 MB / 490.7 MB Notification: Performance of SimCode: time 1.132e-06/2.373, allocations: 0 / 0.8506 GB, free: 30.91 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/2.494, allocations: 25.69 MB / 0.8757 GB, free: 5.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002601/2.494, allocations: 187.8 kB / 0.8759 GB, free: 5.031 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.698/6.192, allocations: 3.938 kB / 0.8759 GB, free: 5.027 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