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.042/2.042, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.517e-05/4.525e-05, allocations: 11.38 kB / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1102/0.1102, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.642/7.752, allocations: 2.485 GB / 2.8 GB, free: 81.93 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002913/7.752, allocations: 80.89 kB / 2.8 GB, free: 81.89 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.786/9.538, allocations: 347.2 MB / 3.139 GB, free: 37.08 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.553e-06/9.538, allocations: 0 / 3.139 GB, free: 37.08 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.37e-05/9.538, allocations: 15.41 kB / 3.139 GB, free: 37.08 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.007459/9.546, allocations: 1.615 MB / 3.14 GB, free: 36.13 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/9.546, allocations: 10.94 kB / 3.14 GB, free: 36.13 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002564/9.546, allocations: 110.5 kB / 3.14 GB, free: 36.05 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004974/9.551, allocations: 404 kB / 3.141 GB, free: 36 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/9.553, allocations: 0.5745 MB / 3.141 GB, free: 35.63 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/9.553, allocations: 115.5 kB / 3.141 GB, free: 35.54 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001589/9.553, allocations: 51.66 kB / 3.141 GB, free: 35.53 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003765/9.557, allocations: 1.141 MB / 3.143 GB, free: 35.05 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/9.557, allocations: 4.312 kB / 3.143 GB, free: 35.05 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/9.557, allocations: 29.53 kB / 3.143 GB, free: 35.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.932e-05/9.557, allocations: 34.41 kB / 3.143 GB, free: 35.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003518/9.561, allocations: 1.002 MB / 3.144 GB, free: 34.73 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.009554/9.571, allocations: 4.941 MB / 3.148 GB, free: 30.96 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002974/9.574, allocations: 0.7861 MB / 3.149 GB, free: 30.71 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/9.574, allocations: 281.1 kB / 3.15 GB, free: 30.61 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1039/9.678, allocations: 32.89 MB / 3.182 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/9.678, allocations: 46.69 kB / 3.182 GB, free: 7.742 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 3.747e-06/9.678, allocations: 0 / 3.182 GB, free: 7.742 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.03349/9.712, allocations: 4.085 MB / 3.186 GB, free: 4.547 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/9.712, allocations: 107.4 kB / 3.186 GB, free: 4.414 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008826/9.713, allocations: 493 kB / 3.186 GB, free: 3.973 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001689/9.713, allocations: 33.7 kB / 3.186 GB, free: 3.934 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002292/9.713, allocations: 388.1 kB / 3.187 GB, free: 3.57 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002289/9.714, allocations: 200.1 kB / 3.187 GB, free: 3.395 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/9.714, allocations: 20 kB / 3.187 GB, free: 3.375 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.646e-05/9.714, allocations: 341 kB / 3.187 GB, free: 3.043 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009866/9.715, allocations: 413.3 kB / 3.188 GB, free: 2.684 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001113/9.716, allocations: 0.6278 MB / 3.188 GB, free: 2.012 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0011/9.717, allocations: 458.5 kB / 3.189 GB, free: 1.637 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/9.717, allocations: 3.938 kB / 3.189 GB, free: 1.633 MB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.003699/9.721, allocations: 1.387 MB / 3.19 GB, free: 432 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001153/9.722, allocations: 2.705 MB / 3.193 GB, free: 13.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.312e-05/9.722, allocations: 8 kB / 3.193 GB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00361/9.726, allocations: 1.091 MB / 3.194 GB, free: 12.68 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/9.727, allocations: 155.9 kB / 3.194 GB, free: 12.55 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00546/9.732, allocations: 2.666 MB / 3.196 GB, free: 10.02 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/9.734, allocations: 90.64 kB / 3.197 GB, free: 9.953 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002303/9.735, allocations: 47.5 kB / 3.197 GB, free: 9.914 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/9.735, allocations: 8 kB / 3.197 GB, free: 9.906 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004097/9.739, allocations: 1.246 MB / 3.198 GB, free: 8.824 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.711e-05/9.739, allocations: 11.95 kB / 3.198 GB, free: 8.816 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002958/9.742, allocations: 0.9568 MB / 3.199 GB, free: 7.934 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001323/9.743, allocations: 175.7 kB / 3.199 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007529/9.751, allocations: 4.936 MB / 3.204 GB, free: 2.512 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/9.752, allocations: 95.94 kB / 3.204 GB, free: 2.418 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001626/9.753, allocations: 39.98 kB / 3.204 GB, free: 2.379 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.0004348/9.753, allocations: 156.8 kB / 3.204 GB, free: 2.219 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/9.753, allocations: 63.25 kB / 3.204 GB, free: 2.156 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3303/10.08, allocations: 4.678 MB / 3.209 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.599e-05/10.08, allocations: 52.27 kB / 3.209 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/10.08, allocations: 0 / 3.209 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.512e-05/10.08, allocations: 4.703 kB / 3.209 GB, free: 56.81 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01337/10.1, allocations: 6.403 MB / 3.215 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.611e-05/10.1, allocations: 1.125 kB / 3.215 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007376/10.1, allocations: 92.86 kB / 3.215 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006494/10.1, allocations: 2.495 MB / 3.217 GB, free: 56.23 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002003/10.1, allocations: 23.92 kB / 3.217 GB, free: 56.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006697/10.11, allocations: 4.023 MB / 3.221 GB, free: 54.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.83e-06/10.11, allocations: 2.875 kB / 3.221 GB, free: 54.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006603/10.12, allocations: 3.3 MB / 3.225 GB, free: 54.35 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000941/10.12, allocations: 383.1 kB / 3.225 GB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/10.12, allocations: 10.62 kB / 3.225 GB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001428/10.12, allocations: 86.3 kB / 3.225 GB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002651/10.12, allocations: 71.73 kB / 3.225 GB, free: 54.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001082/10.12, allocations: 26.14 kB / 3.225 GB, free: 54.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008865/10.12, allocations: 468.5 kB / 3.226 GB, free: 54.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.31e-07/10.12, allocations: 3.75 kB / 3.226 GB, free: 54.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007864/10.13, allocations: 1.418 MB / 3.227 GB, free: 54.09 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.01697/10.15, allocations: 4.936 MB / 3.232 GB, free: 53.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009523/10.16, allocations: 2.442 MB / 3.234 GB, free: 52.89 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/10.16, allocations: 0 / 3.234 GB, free: 52.89 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004522/10.16, allocations: 1.242 MB / 3.235 GB, free: 52.86 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/10.16, allocations: 281 kB / 3.236 GB, free: 52.86 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.244/10.41, allocations: 76.78 MB / 3.311 GB, free: 47.09 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007131/10.41, allocations: 1.214 MB / 3.312 GB, free: 46.03 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000668/10.41, allocations: 427.4 kB / 3.312 GB, free: 45.65 MB / 442.7 MB Notification: Performance of SimCode: time 1.051e-06/10.41, allocations: 4 kB / 3.312 GB, free: 45.65 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.946/14.36, allocations: 53.6 MB / 3.365 GB, free: 3.984 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