Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.677/2.677, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.202e-05, allocations: 4 kB / 305 MB, free: 5.559 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4079, allocations: 54.86 MB / 359.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.822/8.23, allocations: 2.596 GB / 2.947 GB, free: 109.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003081/8.23, allocations: 90.36 kB / 2.947 GB, free: 109.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.601/9.832, allocations: 355.4 MB / 3.295 GB, free: 16.1 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/9.832, allocations: 0 / 3.295 GB, free: 16.1 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.351e-05/9.832, allocations: 16 kB / 3.295 GB, free: 16.08 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: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.008385/9.84, allocations: 1.645 MB / 3.296 GB, free: 14.39 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.684e-05/9.84, allocations: 8.031 kB / 3.296 GB, free: 14.39 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004223/9.841, allocations: 106.5 kB / 3.296 GB, free: 14.27 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005435/9.846, allocations: 445.1 kB / 3.297 GB, free: 13.84 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002089/9.848, allocations: 0.5911 MB / 3.297 GB, free: 13.22 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/9.848, allocations: 112.7 kB / 3.297 GB, free: 13.1 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002413/9.849, allocations: 55.98 kB / 3.297 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003827/9.853, allocations: 1.136 MB / 3.299 GB, free: 11.86 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/9.853, allocations: 4 kB / 3.299 GB, free: 11.85 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001276/9.853, allocations: 28 kB / 3.299 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-05/9.853, allocations: 29.3 kB / 3.299 GB, free: 11.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003251/9.856, allocations: 1.006 MB / 3.3 GB, free: 10.79 MB / 490.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.009164/9.865, allocations: 4.926 MB / 3.304 GB, free: 5.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002915/9.868, allocations: 0.7931 MB / 3.305 GB, free: 4.695 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006827/9.869, allocations: 281.5 kB / 3.305 GB, free: 4.418 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4826/10.35, allocations: 32.9 MB / 3.338 GB, free: 42.64 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.911e-05/10.35, allocations: 49.66 kB / 3.338 GB, free: 42.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=46): time 3.747e-06/10.35, allocations: 0.5 kB / 3.338 GB, free: 42.6 MB / 490.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.03406/10.39, allocations: 4.077 MB / 3.342 GB, free: 42.38 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.678e-05/10.39, allocations: 115.2 kB / 3.342 GB, free: 42.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008389/10.39, allocations: 494.6 kB / 3.342 GB, free: 42.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001615/10.39, allocations: 32.77 kB / 3.342 GB, free: 42.09 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/10.39, allocations: 385.6 kB / 3.343 GB, free: 41.86 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000247/10.39, allocations: 200 kB / 3.343 GB, free: 41.77 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.201e-05/10.39, allocations: 17.44 kB / 3.343 GB, free: 41.77 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.03e-05/10.39, allocations: 342.4 kB / 3.343 GB, free: 41.45 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001029/10.39, allocations: 410.9 kB / 3.343 GB, free: 41.45 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001115/10.39, allocations: 0.6273 MB / 3.344 GB, free: 41.18 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/10.39, allocations: 459.2 kB / 3.345 GB, free: 41.18 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.277e-06/10.39, allocations: 0 / 3.345 GB, free: 41.18 MB / 490.7 MB Notification: Performance of matching and sorting (n=95) (initialization): time 0.0037/10.39, allocations: 1.394 MB / 3.346 GB, free: 41.09 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006013/10.4, allocations: 2.698 MB / 3.349 GB, free: 38.29 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.777e-05/10.4, allocations: 9.844 kB / 3.349 GB, free: 38.29 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003162/10.4, allocations: 1.098 MB / 3.35 GB, free: 38.26 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/10.4, allocations: 151.6 kB / 3.35 GB, free: 38.26 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004343/10.4, allocations: 2.662 MB / 3.352 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/10.41, allocations: 93.69 kB / 3.352 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/10.41, allocations: 45.88 kB / 3.352 GB, free: 36.7 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/10.41, allocations: 7.031 kB / 3.352 GB, free: 36.7 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003457/10.41, allocations: 1.254 MB / 3.354 GB, free: 36.64 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.584e-05/10.41, allocations: 7.75 kB / 3.354 GB, free: 36.64 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002426/10.41, allocations: 0.9655 MB / 3.355 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001214/10.41, allocations: 171.8 kB / 3.355 GB, free: 36.61 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005957/10.42, allocations: 4.935 MB / 3.36 GB, free: 32.92 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/10.42, allocations: 93.22 kB / 3.36 GB, free: 32.92 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001353/10.42, allocations: 43.22 kB / 3.36 GB, free: 32.92 MB / 490.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.0003907/10.42, allocations: 155 kB / 3.36 GB, free: 32.81 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/10.42, allocations: 60.34 kB / 3.36 GB, free: 32.78 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008831/10.43, allocations: 4.689 MB / 3.365 GB, free: 32.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-05/10.43, allocations: 52.41 kB / 3.365 GB, free: 32.4 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/10.43, allocations: 0 / 3.365 GB, free: 32.4 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.129e-05/10.43, allocations: 3.75 kB / 3.365 GB, free: 32.4 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01213/10.44, allocations: 6.417 MB / 3.371 GB, free: 31.86 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.501e-05/10.44, allocations: 3.875 kB / 3.371 GB, free: 31.86 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006951/10.44, allocations: 91.89 kB / 3.371 GB, free: 31.86 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005728/10.45, allocations: 2.502 MB / 3.373 GB, free: 31.74 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002187/10.45, allocations: 20.52 kB / 3.373 GB, free: 31.74 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006123/10.46, allocations: 4.023 MB / 3.377 GB, free: 30.14 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/10.46, allocations: 0 / 3.377 GB, free: 30.14 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00599/10.46, allocations: 3.301 MB / 3.381 GB, free: 29.75 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001001/10.46, allocations: 374.2 kB / 3.381 GB, free: 29.59 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001914/10.46, allocations: 14.03 kB / 3.381 GB, free: 29.59 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001481/10.46, allocations: 90.22 kB / 3.381 GB, free: 29.59 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002385/10.46, allocations: 76.08 kB / 3.381 GB, free: 29.58 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/10.47, allocations: 27.91 kB / 3.381 GB, free: 29.58 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.000802/10.47, allocations: 468.2 kB / 3.382 GB, free: 29.48 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.42e-07/10.47, allocations: 0 / 3.382 GB, free: 29.48 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.007627/10.47, allocations: 1.43 MB / 3.383 GB, free: 29.48 MB / 490.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.01667/10.49, allocations: 4.93 MB / 3.388 GB, free: 28.48 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009636/10.5, allocations: 2.447 MB / 3.39 GB, free: 28.24 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/10.5, allocations: 1.781 kB / 3.39 GB, free: 28.24 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00458/10.5, allocations: 1.246 MB / 3.391 GB, free: 28.21 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/10.51, allocations: 292.9 kB / 3.392 GB, free: 28.21 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2444/10.75, allocations: 78.04 MB / 3.468 GB, free: 6.973 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007513/10.75, allocations: 1.224 MB / 3.469 GB, free: 5.91 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006336/10.75, allocations: 429 kB / 3.47 GB, free: 5.527 MB / 490.7 MB Notification: Performance of SimCode: time 1.162e-06/10.75, allocations: 4 kB / 3.47 GB, free: 5.523 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.853/15.61, allocations: 53.78 MB / 3.522 GB, free: 67.29 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat