Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.997/1.997, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.14e-05, allocations: 8 kB / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1082/0.1083, allocations: 48.7 MB / 321.8 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.945/8.053, allocations: 2.514 GB / 2.829 GB, free: 47.86 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/8.054, allocations: 92.25 kB / 2.829 GB, free: 47.81 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.632/10.69, allocations: 487.7 MB / 3.305 GB, free: 40.66 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.954e-06/10.69, allocations: 0 / 3.305 GB, free: 40.66 MB / 442.7 MB Notification: Performance of Transformations before backend: time 8.246e-05/10.69, allocations: 17.22 kB / 3.305 GB, free: 40.66 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.007886/10.69, allocations: 1.66 MB / 3.307 GB, free: 39.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/10.69, allocations: 11.19 kB / 3.307 GB, free: 39.77 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002542/10.69, allocations: 107.5 kB / 3.307 GB, free: 39.69 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002212/10.7, allocations: 214.4 kB / 3.307 GB, free: 39.64 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001763/10.7, allocations: 0.5944 MB / 3.308 GB, free: 39.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001268/10.7, allocations: 112.6 kB / 3.308 GB, free: 39.17 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/10.7, allocations: 54.44 kB / 3.308 GB, free: 39.16 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002585/10.7, allocations: 1.087 MB / 3.309 GB, free: 38.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/10.7, allocations: 0.6875 kB / 3.309 GB, free: 38.56 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/10.7, allocations: 31.25 kB / 3.309 GB, free: 38.54 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.039e-05/10.7, allocations: 47.55 kB / 3.309 GB, free: 38.53 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/10.7, allocations: 0.8161 MB / 3.31 GB, free: 38.27 MB / 442.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.007895/10.71, allocations: 5.527 MB / 3.315 GB, free: 33.74 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/10.71, allocations: 0.5477 MB / 3.316 GB, free: 33.5 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/10.71, allocations: 202.8 kB / 3.316 GB, free: 33.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1663/10.88, allocations: 53.41 MB / 3.368 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.439e-05/10.88, allocations: 38.56 kB / 3.368 GB, free: 12.22 MB / 458.7 MB Notification: Performance of pre-optimization done (n=39): time 3.487e-06/10.88, allocations: 4 kB / 3.368 GB, free: 12.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.008613/10.89, allocations: 1.992 MB / 3.37 GB, free: 10.43 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/10.89, allocations: 183.9 kB / 3.37 GB, free: 10.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/10.89, allocations: 0.5425 MB / 3.371 GB, free: 9.707 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001165/10.89, allocations: 33.7 kB / 3.371 GB, free: 9.668 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003054/10.89, allocations: 441.3 kB / 3.371 GB, free: 9.262 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001798/10.89, allocations: 170 kB / 3.371 GB, free: 9.117 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/10.89, allocations: 12 kB / 3.371 GB, free: 9.105 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001496/10.89, allocations: 353.4 kB / 3.372 GB, free: 8.762 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005378/10.89, allocations: 215.9 kB / 3.372 GB, free: 8.562 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/10.89, allocations: 0.5977 MB / 3.372 GB, free: 7.812 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007258/10.89, allocations: 346.5 kB / 3.373 GB, free: 7.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/10.89, allocations: 7.938 kB / 3.373 GB, free: 7.512 MB / 458.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.002022/10.9, allocations: 0.8649 MB / 3.374 GB, free: 6.719 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/10.9, allocations: 9 kB / 3.374 GB, free: 6.711 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/10.9, allocations: 12 kB / 3.374 GB, free: 6.699 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006618/10.9, allocations: 277 kB / 3.374 GB, free: 6.508 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00234/10.9, allocations: 289.7 kB / 3.374 GB, free: 6.273 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002276/10.91, allocations: 2.027 MB / 3.376 GB, free: 4.156 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001221/10.91, allocations: 59.53 kB / 3.376 GB, free: 4.105 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/10.91, allocations: 52 kB / 3.376 GB, free: 4.055 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 10 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1],shortPipe.flowModel.states[2].phase,shortPipe.flowModel.states[1].phase,ambient.state.phase,ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002846/10.91, allocations: 156.7 kB / 3.376 GB, free: 3.895 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001985/10.91, allocations: 82.95 kB / 3.376 GB, free: 3.816 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/10.91, allocations: 2.005 MB / 3.378 GB, free: 1.996 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.773e-05/10.91, allocations: 19.31 kB / 3.378 GB, free: 1.984 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.323e-06/10.91, allocations: 4 kB / 3.378 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.151e-05/10.91, allocations: 3.703 kB / 3.378 GB, free: 1.98 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3349/11.25, allocations: 3.132 MB / 3.381 GB, free: 62.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/11.25, allocations: 1.891 kB / 3.381 GB, free: 62.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001982/11.25, allocations: 182.8 kB / 3.382 GB, free: 62.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003396/11.25, allocations: 297.1 kB / 3.382 GB, free: 62.72 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001455/11.25, allocations: 13.08 kB / 3.382 GB, free: 62.72 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00221/11.26, allocations: 2.073 MB / 3.384 GB, free: 60.91 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.264e-06/11.26, allocations: 4.797 kB / 3.384 GB, free: 60.91 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00365/11.26, allocations: 1.931 MB / 3.386 GB, free: 60.56 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007576/11.26, allocations: 295.1 kB / 3.386 GB, free: 60.47 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001771/11.26, allocations: 10.91 kB / 3.386 GB, free: 60.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009095/11.26, allocations: 38.5 kB / 3.386 GB, free: 60.47 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001331/11.26, allocations: 29.25 kB / 3.386 GB, free: 60.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.453e-05/11.26, allocations: 20.53 kB / 3.386 GB, free: 60.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001251/11.26, allocations: 0.5422 MB / 3.387 GB, free: 60.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.71e-07/11.26, allocations: 5.25 kB / 3.387 GB, free: 60.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006349/11.27, allocations: 1.128 MB / 3.388 GB, free: 60.37 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 12 ($cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01418/11.28, allocations: 4.077 MB / 3.392 GB, free: 59.3 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003083/11.29, allocations: 0.8881 MB / 3.393 GB, free: 59.29 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/11.29, allocations: 0 / 3.393 GB, free: 59.29 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001951/11.29, allocations: 0.6112 MB / 3.393 GB, free: 59.29 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003529/11.29, allocations: 350.6 kB / 3.394 GB, free: 59.28 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008645/11.3, allocations: 2.204 MB / 3.396 GB, free: 58.86 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009054/11.3, allocations: 1.112 MB / 3.397 GB, free: 58.16 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008092/11.3, allocations: 382.3 kB / 3.397 GB, free: 58.15 MB / 458.7 MB Notification: Performance of SimCode: time 1.673e-06/11.3, allocations: 4.594 kB / 3.397 GB, free: 58.15 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.073/15.37, allocations: 44.1 MB / 3.44 GB, free: 55.93 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat