Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestInitialization",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.755e-05/2.765e-05, allocations: 3.938 kB / 267.6 MB, free: 4.93 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1049, allocations: 48.69 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.419/1.524, allocations: 394.8 MB / 0.6944 GB, free: 106.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002849/1.525, allocations: 94.42 kB / 0.6945 GB, free: 106.3 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.043/2.568, allocations: 189.4 MB / 0.8795 GB, free: 87.34 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.024e-06/2.568, allocations: 0 / 0.8795 GB, free: 87.34 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001159/2.568, allocations: 29.25 kB / 0.8796 GB, free: 87.34 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: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.004995/2.573, allocations: 1.34 MB / 0.8809 GB, free: 86.32 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/2.573, allocations: 9.875 kB / 0.8809 GB, free: 86.32 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008686/2.574, allocations: 122.6 kB / 0.881 GB, free: 86.26 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002576/2.576, allocations: 0.7905 MB / 0.8818 GB, free: 85.67 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001228/2.576, allocations: 93.73 kB / 0.8819 GB, free: 85.61 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001746/2.577, allocations: 37 kB / 0.8819 GB, free: 85.61 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002448/2.579, allocations: 1.066 MB / 0.8829 GB, free: 85.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00236/2.582, allocations: 1.091 MB / 0.884 GB, free: 84.46 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.533e-05/2.582, allocations: 11.61 kB / 0.884 GB, free: 84.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/2.582, allocations: 0 / 0.884 GB, free: 84.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/2.582, allocations: 74.23 kB / 0.8841 GB, free: 84.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0121/2.594, allocations: 4.622 MB / 0.8886 GB, free: 80.86 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001648/2.596, allocations: 0.6295 MB / 0.8892 GB, free: 80.54 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008095/2.597, allocations: 396.8 kB / 0.8896 GB, free: 80.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005201/2.602, allocations: 2.541 MB / 0.8921 GB, free: 77.73 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.384e-05/2.602, allocations: 42.98 kB / 0.8921 GB, free: 77.68 MB / 426.7 MB Notification: Performance of pre-optimization done (n=50): time 3.897e-06/2.602, allocations: 0 / 0.8921 GB, free: 77.68 MB / 426.7 MB Notification: Performance of matching and sorting (n=55): time 0.01542/2.617, allocations: 3.005 MB / 0.895 GB, free: 74.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/2.617, allocations: 162.8 kB / 0.8952 GB, free: 74.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001121/2.619, allocations: 0.6169 MB / 0.8958 GB, free: 73.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002067/2.619, allocations: 29.7 kB / 0.8958 GB, free: 73.74 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003602/2.619, allocations: 498 kB / 0.8963 GB, free: 73.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000224/2.619, allocations: 189.2 kB / 0.8965 GB, free: 73.07 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/2.619, allocations: 0 / 0.8965 GB, free: 73.07 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001422/2.62, allocations: 390.7 kB / 0.8969 GB, free: 72.68 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009168/2.621, allocations: 406.5 kB / 0.8972 GB, free: 72.28 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/2.622, allocations: 0.7028 MB / 0.8979 GB, free: 71.43 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01259/2.634, allocations: 1.605 MB / 0.8995 GB, free: 69.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.608e-05/2.634, allocations: 7.938 kB / 0.8995 GB, free: 69.82 MB / 426.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01513/2.65, allocations: 2.525 MB / 0.902 GB, free: 67.26 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007578/2.65, allocations: 3.665 MB / 0.9055 GB, free: 63.31 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.887e-05/2.65, allocations: 11.98 kB / 0.9056 GB, free: 63.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/2.652, allocations: 428.9 kB / 0.906 GB, free: 62.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001526/2.654, allocations: 191.7 kB / 0.9062 GB, free: 62.69 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00471/2.658, allocations: 3.121 MB / 0.9092 GB, free: 59.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/2.66, allocations: 44.03 kB / 0.9092 GB, free: 59.36 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/2.66, allocations: 51.92 kB / 0.9093 GB, free: 59.31 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/2.66, allocations: 4 kB / 0.9093 GB, free: 59.31 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0131/2.674, allocations: 2.106 MB / 0.9114 GB, free: 57.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.172e-05/2.674, allocations: 12 kB / 0.9114 GB, free: 57.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001201/2.675, allocations: 294.7 kB / 0.9116 GB, free: 56.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001541/2.676, allocations: 199.6 kB / 0.9118 GB, free: 56.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00226/2.679, allocations: 2.662 MB / 0.9144 GB, free: 53.85 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00147/2.68, allocations: 39.86 kB / 0.9145 GB, free: 53.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/2.68, allocations: 56.06 kB / 0.9145 GB, free: 53.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (vol1.inFlow[1],vol1.inFlow[2],vol1.regularFlow[2],vol1.regularFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 5,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003856/2.681, allocations: 132.7 kB / 0.9147 GB, free: 53.62 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004666/2.686, allocations: 1.204 MB / 0.9158 GB, free: 52.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/2.686, allocations: 86.91 kB / 0.9159 GB, free: 52.29 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005478/2.691, allocations: 1.443 MB / 0.9173 GB, free: 50.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-05/2.691, allocations: 11.98 kB / 0.9173 GB, free: 50.79 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/2.691, allocations: 0 / 0.9173 GB, free: 50.79 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.38e-05/2.692, allocations: 0 / 0.9173 GB, free: 50.79 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007447/2.699, allocations: 2.353 MB / 0.9196 GB, free: 48.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.978e-06/2.699, allocations: 0 / 0.9196 GB, free: 48.37 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009263/2.7, allocations: 87.89 kB / 0.9197 GB, free: 48.29 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00161/2.702, allocations: 430.1 kB / 0.9201 GB, free: 47.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001905/2.702, allocations: 7.984 kB / 0.9201 GB, free: 47.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/2.707, allocations: 3.075 MB / 0.9231 GB, free: 44.61 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.652e-06/2.707, allocations: 7.984 kB / 0.9231 GB, free: 44.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005617/2.712, allocations: 1.882 MB / 0.925 GB, free: 42.66 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007331/2.713, allocations: 267.9 kB / 0.9252 GB, free: 42.38 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002407/2.713, allocations: 4 kB / 0.9252 GB, free: 42.38 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/2.714, allocations: 27.91 kB / 0.9253 GB, free: 42.35 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002277/2.715, allocations: 68.47 kB / 0.9253 GB, free: 42.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.822e-05/2.715, allocations: 23.98 kB / 0.9254 GB, free: 42.25 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0008111/2.716, allocations: 463.1 kB / 0.9258 GB, free: 41.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.91e-07/2.716, allocations: 0 / 0.9258 GB, free: 41.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003671/2.719, allocations: 0.8156 MB / 0.9266 GB, free: 40.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vol1.medium.p,vol1.medium.T) * Number of discrete variables: 2 (vol1.inFlow[1],vol1.inFlow[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 2 {2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.008519/2.728, allocations: 3.286 MB / 0.9298 GB, free: 37.7 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004661/2.733, allocations: 1.73 MB / 0.9315 GB, free: 35.95 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/2.733, allocations: 0 / 0.9315 GB, free: 35.95 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001664/2.734, allocations: 0.5472 MB / 0.932 GB, free: 35.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002816/2.737, allocations: 305.9 kB / 0.9323 GB, free: 35.09 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01099/2.748, allocations: 1.918 MB / 0.9342 GB, free: 33.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001137/2.749, allocations: 1.082 MB / 0.9352 GB, free: 32.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003178/2.753, allocations: 430.8 kB / 0.9357 GB, free: 31.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006847/2.753, allocations: 335.2 kB / 0.936 GB, free: 31.26 MB / 426.7 MB Notification: Performance of SimCode: time 1.152e-06/2.753, allocations: 0 / 0.936 GB, free: 31.26 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3909/3.144, allocations: 32.62 MB / 0.9678 GB, free: 82.12 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002669/3.145, allocations: 186 kB / 0.968 GB, free: 81.93 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.308/7.452, allocations: 3.156 kB / 0.968 GB, free: 81.93 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestInitialization_res.mat does not exist to compare? outputFormat=mat