Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Vessels.TestVolume,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_Fluid_TestComponents_Vessels_TestVolume",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 2.599/2.599, allocations: 235.2 MB / 242.3 MB, free: 9.574 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/2.995e-05, allocations: 4 kB / 299.6 MB, free: 192 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3809/0.381, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.19/8.571, allocations: 2.595 GB / 2.941 GB, free: 120.3 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002945/8.572, allocations: 88.12 kB / 2.941 GB, free: 120.3 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.711/10.28, allocations: 351.4 MB / 3.285 GB, free: 9.148 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.825e-06/10.28, allocations: 0 / 3.285 GB, free: 9.148 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.001e-05/10.28, allocations: 19.28 kB / 3.285 GB, free: 9.133 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.007796/10.29, allocations: 1.655 MB / 3.286 GB, free: 7.438 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.342e-05/10.29, allocations: 20.02 kB / 3.286 GB, free: 7.418 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005736/10.3, allocations: 435.2 kB / 3.287 GB, free: 6.992 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001795/10.3, allocations: 0.5754 MB / 3.287 GB, free: 6.379 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/10.3, allocations: 96.7 kB / 3.287 GB, free: 6.273 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001397/10.3, allocations: 36 kB / 3.287 GB, free: 6.238 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001989/10.3, allocations: 0.7249 MB / 3.288 GB, free: 5.512 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001967/10.3, allocations: 0.8293 MB / 3.289 GB, free: 4.625 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/10.3, allocations: 3.938 kB / 3.289 GB, free: 4.621 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/10.3, allocations: 4 kB / 3.289 GB, free: 4.617 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/10.3, allocations: 29.3 kB / 3.289 GB, free: 4.586 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.528/10.83, allocations: 36.86 MB / 3.325 GB, free: 45.33 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001397/10.83, allocations: 483.1 kB / 3.325 GB, free: 45.3 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005795/10.83, allocations: 257.1 kB / 3.326 GB, free: 45.3 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1115/10.94, allocations: 31.52 MB / 3.356 GB, free: 41.98 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/10.94, allocations: 41.19 kB / 3.357 GB, free: 41.94 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=42): time 4.178e-06/10.94, allocations: 1.594 kB / 3.357 GB, free: 41.94 MB / 0.4948 GB Notification: Performance of matching and sorting (n=54): time 0.03227/10.98, allocations: 3.262 MB / 3.36 GB, free: 41.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.079e-05/10.98, allocations: 114 kB / 3.36 GB, free: 41.53 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007211/10.98, allocations: 406.5 kB / 3.36 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001074/10.98, allocations: 28.94 kB / 3.36 GB, free: 41.39 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002827/10.98, allocations: 370 kB / 3.361 GB, free: 41.21 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002212/10.98, allocations: 173.9 kB / 3.361 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.96e-05/10.98, allocations: 0 / 3.361 GB, free: 41.12 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001961/10.98, allocations: 366.6 kB / 3.361 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009451/10.98, allocations: 394.4 kB / 3.361 GB, free: 40.8 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/10.98, allocations: 0.6155 MB / 3.362 GB, free: 40.53 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003763/10.98, allocations: 0.692 MB / 3.363 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.293e-06/10.98, allocations: 0 / 3.363 GB, free: 40.52 MB / 0.4948 GB Notification: Performance of matching and sorting (n=94) (initialization): time 0.006423/10.99, allocations: 1.604 MB / 3.364 GB, free: 40.41 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001164/10.99, allocations: 2.706 MB / 3.367 GB, free: 37.58 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.25e-05/10.99, allocations: 6.406 kB / 3.367 GB, free: 37.58 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003064/11, allocations: 1.075 MB / 3.368 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/11, allocations: 152.7 kB / 3.368 GB, free: 37.54 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006665/11, allocations: 2.888 MB / 3.371 GB, free: 35.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/11.01, allocations: 96.2 kB / 3.371 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/11.01, allocations: 42.88 kB / 3.371 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/11.01, allocations: 8.719 kB / 3.371 GB, free: 35.95 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003923/11.01, allocations: 0.9674 MB / 3.372 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.362e-05/11.01, allocations: 7.344 kB / 3.372 GB, free: 35.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008232/11.01, allocations: 251.8 kB / 3.372 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001599/11.01, allocations: 195.2 kB / 3.373 GB, free: 35.86 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004999/11.02, allocations: 4.263 MB / 3.377 GB, free: 32.27 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00136/11.02, allocations: 59.62 kB / 3.377 GB, free: 32.26 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/11.02, allocations: 41.83 kB / 3.377 GB, free: 32.26 MB / 0.4948 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: $DER.Volume.medium.h:DUMMY_DER(fixed = false ) "Specific enthalpy of medium" type: Real $DER.Volume.medium.p:DUMMY_DER(fixed = false ) "Absolute pressure of medium" type: Real 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 (73): * Single equations (assignments): 70 * 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.0004635/11.02, allocations: 136.3 kB / 3.377 GB, free: 32.15 MB / 0.4948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00558/11.02, allocations: 1.328 MB / 3.378 GB, free: 32.05 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002061/11.02, allocations: 57.27 kB / 3.378 GB, free: 32.02 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01006/11.03, allocations: 4.198 MB / 3.382 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.783e-05/11.03, allocations: 42.47 kB / 3.382 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/11.03, allocations: 4 kB / 3.382 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.487e-05/11.03, allocations: 2.906 kB / 3.382 GB, free: 31.71 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01304/11.05, allocations: 5.763 MB / 3.388 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/11.05, allocations: 0 / 3.388 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006175/11.05, allocations: 69.23 kB / 3.388 GB, free: 31.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005862/11.05, allocations: 2.498 MB / 3.391 GB, free: 31.12 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001242/11.05, allocations: 18.62 kB / 3.391 GB, free: 31.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008578/11.06, allocations: 4.576 MB / 3.395 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/11.06, allocations: 10.34 kB / 3.395 GB, free: 29.48 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007312/11.07, allocations: 3.225 MB / 3.398 GB, free: 29.16 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007805/11.07, allocations: 324.6 kB / 3.398 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002404/11.07, allocations: 7.328 kB / 3.398 GB, free: 29 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001516/11.07, allocations: 81.03 kB / 3.399 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002405/11.07, allocations: 68.14 kB / 3.399 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000131/11.07, allocations: 25.16 kB / 3.399 GB, free: 28.99 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0006347/11.07, allocations: 349 kB / 3.399 GB, free: 28.9 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.41e-07/11.07, allocations: 0 / 3.399 GB, free: 28.9 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.00699/11.08, allocations: 1.36 MB / 3.4 GB, free: 28.9 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 24 ($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,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,Volume.heatTransfer.states[1].phase,Volume.inFlow[1],Volume.inFlow[2],FlowSource.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.01779/11.1, allocations: 4.933 MB / 3.405 GB, free: 27.89 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.007367/11.11, allocations: 2.134 MB / 3.407 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/11.11, allocations: 3.844 kB / 3.407 GB, free: 27.66 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.004492/11.11, allocations: 1.127 MB / 3.408 GB, free: 27.63 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002662/11.11, allocations: 261.2 kB / 3.409 GB, free: 27.61 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008678/11.12, allocations: 2.534 MB / 3.411 GB, free: 27.12 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009224/11.12, allocations: 1.166 MB / 3.412 GB, free: 26.4 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00258/11.13, allocations: 0.8162 MB / 3.413 GB, free: 26.35 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005967/11.13, allocations: 373.6 kB / 3.413 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of SimCode: time 1.042e-06/11.13, allocations: 0 / 3.413 GB, free: 26.34 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1571/11.28, allocations: 53.6 MB / 3.466 GB, free: 6.902 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002593/11.28, allocations: 195.8 kB / 3.466 GB, free: 6.699 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.343/16.63, allocations: 2.062 kB / 3.466 GB, free: 6.699 MB / 0.4948 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cs_ModelicaTest.Fluid.TestComponents.Vessels.TestVolume_res.mat does not exist to compare? outputFormat=mat