Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.156e-05/4.175e-05, allocations: 7.375 kB / 273.1 MB, free: 0.6328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.813/7.926, allocations: 2.485 GB / 2.8 GB, free: 81.91 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003202/7.926, allocations: 82.95 kB / 2.8 GB, free: 81.87 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.832/9.758, allocations: 347.2 MB / 3.139 GB, free: 37.24 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.655e-06/9.759, allocations: 0 / 3.139 GB, free: 37.24 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.327e-05/9.759, allocations: 19.12 kB / 3.139 GB, free: 37.24 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.008211/9.767, allocations: 1.622 MB / 3.14 GB, free: 36.29 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.05e-05/9.767, allocations: 11.91 kB / 3.14 GB, free: 36.29 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003532/9.767, allocations: 101.1 kB / 3.14 GB, free: 36.22 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005123/9.772, allocations: 404.7 kB / 3.141 GB, free: 36.16 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001879/9.774, allocations: 0.5761 MB / 3.141 GB, free: 35.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001669/9.775, allocations: 117.4 kB / 3.141 GB, free: 35.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002362/9.775, allocations: 53.66 kB / 3.141 GB, free: 35.69 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003989/9.779, allocations: 1.144 MB / 3.143 GB, free: 35.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/9.779, allocations: 3.875 kB / 3.143 GB, free: 35.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001455/9.779, allocations: 31.08 kB / 3.143 GB, free: 35.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.846e-05/9.779, allocations: 34.89 kB / 3.143 GB, free: 35.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003769/9.783, allocations: 1.013 MB / 3.144 GB, free: 34.88 MB / 426.7 MB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009796/9.793, allocations: 4.942 MB / 3.148 GB, free: 31.12 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003029/9.796, allocations: 0.7979 MB / 3.149 GB, free: 30.87 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007174/9.797, allocations: 284 kB / 3.15 GB, free: 30.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1033/9.9, allocations: 32.88 MB / 3.182 GB, free: 7.777 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.553e-05/9.9, allocations: 42.94 kB / 3.182 GB, free: 7.727 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 6.462e-06/9.9, allocations: 0 / 3.182 GB, free: 7.727 MB / 426.7 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: Volume.medium.h Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=59): time 0.03322/9.933, allocations: 4.09 MB / 3.186 GB, free: 4.523 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/9.933, allocations: 111.4 kB / 3.186 GB, free: 4.387 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008435/9.934, allocations: 494.8 kB / 3.186 GB, free: 3.949 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001445/9.934, allocations: 37.7 kB / 3.186 GB, free: 3.906 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002414/9.935, allocations: 387.4 kB / 3.187 GB, free: 3.543 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/9.935, allocations: 204.1 kB / 3.187 GB, free: 3.363 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.237e-05/9.935, allocations: 19.94 kB / 3.187 GB, free: 3.344 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.219e-05/9.935, allocations: 338.4 kB / 3.187 GB, free: 3.012 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009902/9.936, allocations: 414.7 kB / 3.188 GB, free: 2.648 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001094/9.937, allocations: 0.6291 MB / 3.188 GB, free: 1.977 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001071/9.938, allocations: 461.5 kB / 3.189 GB, free: 1.598 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.801e-06/9.938, allocations: 0 / 3.189 GB, free: 1.598 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003681/9.942, allocations: 1.405 MB / 3.19 GB, free: 376 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001106/9.943, allocations: 2.702 MB / 3.193 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.796e-05/9.943, allocations: 12 kB / 3.193 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003508/9.947, allocations: 1.098 MB / 3.194 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001114/9.948, allocations: 154.7 kB / 3.194 GB, free: 12.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005092/9.953, allocations: 2.661 MB / 3.196 GB, free: 9.973 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/9.955, allocations: 94.69 kB / 3.197 GB, free: 9.898 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000161/9.955, allocations: 40.03 kB / 3.197 GB, free: 9.863 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/9.955, allocations: 11.94 kB / 3.197 GB, free: 9.852 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003918/9.959, allocations: 1.269 MB / 3.198 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.177e-05/9.959, allocations: 8.531 kB / 3.198 GB, free: 8.742 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002881/9.962, allocations: 0.9672 MB / 3.199 GB, free: 7.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/9.963, allocations: 167.8 kB / 3.199 GB, free: 7.707 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007341/9.971, allocations: 4.949 MB / 3.204 GB, free: 2.445 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/9.972, allocations: 95.94 kB / 3.204 GB, free: 2.352 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001588/9.973, allocations: 43.97 kB / 3.204 GB, free: 2.309 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 9 (Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase,Volume.regularFlow[2],Volume.regularFlow[1],Valve.state_b.phase,Valve.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 71 * 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: 0 * Non-linear torn systems: 3 {2 7,2 1,3 9} Notification: Performance of prepare postOptimizeDAE: time 0.0003935/9.973, allocations: 152.7 kB / 3.204 GB, free: 2.152 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002753/9.973, allocations: 67.25 kB / 3.204 GB, free: 2.086 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3464/10.32, allocations: 4.673 MB / 3.209 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.913e-05/10.32, allocations: 52.23 kB / 3.209 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/10.32, allocations: 0 / 3.209 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-05/10.32, allocations: 4.781 kB / 3.209 GB, free: 56.96 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01347/10.33, allocations: 6.397 MB / 3.215 GB, free: 56.49 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/10.33, allocations: 1.062 kB / 3.215 GB, free: 56.49 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007323/10.33, allocations: 91.31 kB / 3.215 GB, free: 56.49 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006607/10.34, allocations: 2.504 MB / 3.218 GB, free: 56.38 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002057/10.34, allocations: 18.66 kB / 3.218 GB, free: 56.38 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006822/10.35, allocations: 4.027 MB / 3.221 GB, free: 54.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/10.35, allocations: 0.5625 kB / 3.221 GB, free: 54.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006578/10.35, allocations: 3.298 MB / 3.225 GB, free: 54.5 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009789/10.36, allocations: 377.2 kB / 3.225 GB, free: 54.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001902/10.36, allocations: 13.91 kB / 3.225 GB, free: 54.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/10.36, allocations: 87.86 kB / 3.225 GB, free: 54.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002627/10.36, allocations: 68.25 kB / 3.225 GB, free: 54.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/10.36, allocations: 32.09 kB / 3.225 GB, free: 54.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008899/10.36, allocations: 466.3 kB / 3.226 GB, free: 54.24 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/10.36, allocations: 0 / 3.226 GB, free: 54.24 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007745/10.37, allocations: 1.425 MB / 3.227 GB, free: 54.24 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 29 ($cse1.region3boundary,$cse2.region3boundary,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase,Sink.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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: 0 * Non-linear torn systems: 3 {2 8,2 1,3 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.01764/10.38, allocations: 4.92 MB / 3.232 GB, free: 53.26 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.00946/10.39, allocations: 2.479 MB / 3.234 GB, free: 53.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.705e-06/10.39, allocations: 3.906 kB / 3.234 GB, free: 53.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004418/10.4, allocations: 1.246 MB / 3.236 GB, free: 52.99 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002654/10.4, allocations: 288.7 kB / 3.236 GB, free: 52.99 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2442/10.64, allocations: 76.78 MB / 3.311 GB, free: 46.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007462/10.65, allocations: 1.216 MB / 3.312 GB, free: 45.86 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007384/10.65, allocations: 435.1 kB / 3.312 GB, free: 45.47 MB / 442.7 MB Notification: Performance of SimCode: time 3.146e-06/10.65, allocations: 0 / 3.312 GB, free: 45.47 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.938/14.58, allocations: 53.56 MB / 3.365 GB, free: 3.918 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat