Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.994/1.994, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 6.789e-05/6.807e-05, allocations: 5.547 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1093/0.1094, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.963/8.072, allocations: 2.485 GB / 2.8 GB, free: 79.37 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/8.072, allocations: 82.64 kB / 2.8 GB, free: 79.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.839/9.911, allocations: 347.2 MB / 3.139 GB, free: 36.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.385e-06/9.911, allocations: 0 / 3.139 GB, free: 36.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.272e-05/9.911, allocations: 18.52 kB / 3.139 GB, free: 36.33 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.00801/9.919, allocations: 1.62 MB / 3.14 GB, free: 35.38 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.493e-05/9.919, allocations: 10.12 kB / 3.14 GB, free: 35.38 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00027/9.92, allocations: 105.1 kB / 3.14 GB, free: 35.3 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005066/9.925, allocations: 406.5 kB / 3.141 GB, free: 35.25 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/9.927, allocations: 0.5754 MB / 3.141 GB, free: 34.88 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/9.927, allocations: 121.4 kB / 3.141 GB, free: 34.79 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001422/9.927, allocations: 56.31 kB / 3.142 GB, free: 34.78 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/9.931, allocations: 1.138 MB / 3.143 GB, free: 34.29 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.098e-05/9.931, allocations: 352 / 3.143 GB, free: 34.29 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/9.931, allocations: 31.03 kB / 3.143 GB, free: 34.27 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.148e-05/9.931, allocations: 39.3 kB / 3.143 GB, free: 34.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/9.935, allocations: 0.9961 MB / 3.144 GB, free: 33.98 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.009539/9.944, allocations: 4.937 MB / 3.148 GB, free: 30.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002872/9.947, allocations: 0.7944 MB / 3.149 GB, free: 29.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/9.948, allocations: 279.5 kB / 3.15 GB, free: 29.85 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1069/10.05, allocations: 32.89 MB / 3.182 GB, free: 6.484 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.78e-05/10.05, allocations: 38.94 kB / 3.182 GB, free: 6.438 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 4.148e-06/10.05, allocations: 0 / 3.182 GB, free: 6.438 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.03395/10.09, allocations: 4.083 MB / 3.186 GB, free: 3.246 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/10.09, allocations: 111.3 kB / 3.186 GB, free: 3.109 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008656/10.09, allocations: 494.3 kB / 3.186 GB, free: 2.664 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001839/10.09, allocations: 33.7 kB / 3.186 GB, free: 2.625 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002502/10.09, allocations: 358.2 kB / 3.187 GB, free: 2.305 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000237/10.09, allocations: 196.9 kB / 3.187 GB, free: 2.133 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.887e-05/10.09, allocations: 16 kB / 3.187 GB, free: 2.117 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/10.09, allocations: 369.7 kB / 3.187 GB, free: 1.766 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001001/10.09, allocations: 410 kB / 3.188 GB, free: 1.406 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/10.09, allocations: 0.6341 MB / 3.188 GB, free: 0.7305 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001119/10.09, allocations: 462.9 kB / 3.189 GB, free: 296 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-06/10.09, allocations: 4 kB / 3.189 GB, free: 292 kB / 426.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.004351/10.1, allocations: 1.407 MB / 3.19 GB, free: 14.86 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001244/10.1, allocations: 2.714 MB / 3.193 GB, free: 11.94 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.616e-05/10.1, allocations: 8 kB / 3.193 GB, free: 11.93 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003708/10.1, allocations: 1.099 MB / 3.194 GB, free: 10.86 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/10.1, allocations: 147.7 kB / 3.194 GB, free: 10.72 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/10.11, allocations: 2.664 MB / 3.196 GB, free: 7.977 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001899/10.11, allocations: 95.95 kB / 3.197 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002083/10.11, allocations: 43.98 kB / 3.197 GB, free: 7.84 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/10.11, allocations: 4 kB / 3.197 GB, free: 7.836 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00404/10.12, allocations: 1.25 MB / 3.198 GB, free: 6.574 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.454e-05/10.12, allocations: 8 kB / 3.198 GB, free: 6.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/10.12, allocations: 0.966 MB / 3.199 GB, free: 5.625 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001355/10.12, allocations: 171.7 kB / 3.199 GB, free: 5.457 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007521/10.13, allocations: 4.922 MB / 3.204 GB, free: 224 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/10.13, allocations: 87.94 kB / 3.204 GB, free: 136 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001696/10.13, allocations: 47.98 kB / 3.204 GB, free: 88 kB / 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.3367/10.47, allocations: 142.9 kB / 3.204 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002979/10.47, allocations: 66.53 kB / 3.204 GB, free: 56.89 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01141/10.48, allocations: 4.686 MB / 3.209 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.971e-05/10.48, allocations: 46.39 kB / 3.209 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/10.48, allocations: 1.906 kB / 3.209 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.889e-05/10.48, allocations: 3.469 kB / 3.209 GB, free: 56.6 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01431/10.49, allocations: 6.404 MB / 3.215 GB, free: 56.13 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.639e-05/10.49, allocations: 0 / 3.215 GB, free: 56.13 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007551/10.49, allocations: 94.66 kB / 3.215 GB, free: 56.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006978/10.5, allocations: 2.497 MB / 3.218 GB, free: 56.02 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002156/10.5, allocations: 25.95 kB / 3.218 GB, free: 56.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006889/10.51, allocations: 4.025 MB / 3.221 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/10.51, allocations: 3.781 kB / 3.221 GB, free: 54.42 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006651/10.52, allocations: 3.295 MB / 3.225 GB, free: 54.04 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001053/10.52, allocations: 373.7 kB / 3.225 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002085/10.52, allocations: 16.86 kB / 3.225 GB, free: 53.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/10.52, allocations: 92.38 kB / 3.225 GB, free: 53.87 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002517/10.52, allocations: 68.42 kB / 3.225 GB, free: 53.87 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/10.52, allocations: 29.31 kB / 3.225 GB, free: 53.87 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0009071/10.52, allocations: 464.3 kB / 3.226 GB, free: 53.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.21e-07/10.52, allocations: 0 / 3.226 GB, free: 53.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008034/10.53, allocations: 1.43 MB / 3.227 GB, free: 53.77 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.0169/10.54, allocations: 4.928 MB / 3.232 GB, free: 52.75 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.009836/10.55, allocations: 2.464 MB / 3.234 GB, free: 52.52 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.847e-06/10.55, allocations: 0 / 3.234 GB, free: 52.52 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004709/10.56, allocations: 1.249 MB / 3.236 GB, free: 52.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003134/10.56, allocations: 283.3 kB / 3.236 GB, free: 52.49 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2543/10.82, allocations: 76.74 MB / 3.311 GB, free: 45.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007571/10.82, allocations: 1.225 MB / 3.312 GB, free: 44.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.00223/10.82, allocations: 0.7787 MB / 3.313 GB, free: 43.67 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006362/10.82, allocations: 420.8 kB / 3.313 GB, free: 43.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.323e-06/10.82, allocations: 0 / 3.313 GB, free: 43.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4908/11.31, allocations: 64.1 MB / 3.376 GB, free: 67.64 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/11.31, allocations: 227 kB / 3.376 GB, free: 67.42 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.386/16.7, allocations: 0 / 3.376 GB, free: 67.42 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat