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 2.032/2.032, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.502e-05/2.512e-05, allocations: 0 / 267.6 MB, free: 5.312 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 48.7 MB / 316.3 MB, free: 4.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.604/7.708, allocations: 2.514 GB / 2.823 GB, free: 79.89 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002773/7.708, allocations: 96.67 kB / 2.823 GB, free: 79.83 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545/10.25, allocations: 482.8 MB / 3.294 GB, free: 42.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/10.25, allocations: 0 / 3.294 GB, free: 42.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 7.589e-05/10.25, allocations: 18.03 kB / 3.294 GB, free: 42.25 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.007335/10.26, allocations: 1.665 MB / 3.296 GB, free: 41.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/10.26, allocations: 11.09 kB / 3.296 GB, free: 41.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002315/10.26, allocations: 222.4 kB / 3.296 GB, free: 41.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/10.26, allocations: 0.5841 MB / 3.297 GB, free: 41.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001205/10.27, allocations: 95.72 kB / 3.297 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000137/10.27, allocations: 36.23 kB / 3.297 GB, free: 41.11 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001588/10.27, allocations: 0.6212 MB / 3.298 GB, free: 41.1 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/10.27, allocations: 0.8674 MB / 3.298 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.384e-05/10.27, allocations: 3.188 kB / 3.298 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001097/10.27, allocations: 11.22 kB / 3.298 GB, free: 40.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.993e-05/10.27, allocations: 44.47 kB / 3.299 GB, free: 40.78 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.2028/10.47, allocations: 67.63 MB / 3.365 GB, free: 30.34 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009421/10.47, allocations: 341.5 kB / 3.365 GB, free: 30.31 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003087/10.47, allocations: 140.2 kB / 3.365 GB, free: 30.3 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4886/10.96, allocations: 53.41 MB / 3.417 GB, free: 93.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.029e-05/10.96, allocations: 38.67 kB / 3.417 GB, free: 93.78 MB / 490.7 MB Notification: Performance of pre-optimization done (n=31): time 3.667e-06/10.96, allocations: 0 / 3.417 GB, free: 93.78 MB / 490.7 MB Notification: Performance of matching and sorting (n=36): time 0.008063/10.97, allocations: 1.59 MB / 3.419 GB, free: 93.46 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/10.97, allocations: 140 kB / 3.419 GB, free: 93.31 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009948/10.97, allocations: 0.4896 MB / 3.419 GB, free: 93.19 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 9.315e-05/10.97, allocations: 28.88 kB / 3.419 GB, free: 93.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003646/10.97, allocations: 482.2 kB / 3.42 GB, free: 92.88 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/10.97, allocations: 133.1 kB / 3.42 GB, free: 92.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.705e-05/10.97, allocations: 1 kB / 3.42 GB, free: 92.82 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001075/10.97, allocations: 340.1 kB / 3.42 GB, free: 92.5 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00058/10.97, allocations: 207.6 kB / 3.421 GB, free: 92.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000765/10.97, allocations: 0.5844 MB / 3.421 GB, free: 92.03 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/10.98, allocations: 423.5 kB / 3.422 GB, free: 92.03 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.69e-05/10.98, allocations: 3.281 kB / 3.422 GB, free: 92.03 MB / 490.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003374/10.98, allocations: 0.8725 MB / 3.422 GB, free: 91.96 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/10.98, allocations: 13.91 kB / 3.422 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.609e-05/10.98, allocations: 13.45 kB / 3.422 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000371/10.98, allocations: 76.27 kB / 3.422 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002405/10.98, allocations: 292.6 kB / 3.423 GB, free: 91.96 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002918/10.98, allocations: 2.068 MB / 3.425 GB, free: 90.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001319/10.99, allocations: 46.95 kB / 3.425 GB, free: 90.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001094/10.99, allocations: 45.05 kB / 3.425 GB, free: 90.18 MB / 490.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.0002649/10.99, allocations: 144.9 kB / 3.425 GB, free: 90.07 MB / 490.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002211/10.99, allocations: 0.508 MB / 3.425 GB, free: 89.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000149/10.99, allocations: 63.92 kB / 3.426 GB, free: 89.96 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002922/10.99, allocations: 1.501 MB / 3.427 GB, free: 89.8 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.164e-05/10.99, allocations: 30.44 kB / 3.427 GB, free: 89.8 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/10.99, allocations: 0.625 kB / 3.427 GB, free: 89.8 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.016e-05/10.99, allocations: 3.953 kB / 3.427 GB, free: 89.79 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004623/11, allocations: 2.329 MB / 3.429 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/11, allocations: 1.953 kB / 3.429 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001717/11, allocations: 171.9 kB / 3.429 GB, free: 89.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004776/11, allocations: 119.5 kB / 3.43 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.55e-05/11, allocations: 1.688 kB / 3.43 GB, free: 89.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00211/11, allocations: 2.08 MB / 3.432 GB, free: 87.61 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/11, allocations: 1.188 kB / 3.432 GB, free: 87.61 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002996/11, allocations: 1.508 MB / 3.433 GB, free: 87.39 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005421/11, allocations: 210.4 kB / 3.433 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000163/11, allocations: 1.922 kB / 3.433 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006719/11.01, allocations: 26.69 kB / 3.433 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/11.01, allocations: 23.72 kB / 3.433 GB, free: 87.25 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.442e-05/11.01, allocations: 16.56 kB / 3.433 GB, free: 87.25 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0006887/11.01, allocations: 360.7 kB / 3.434 GB, free: 87.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.41e-07/11.01, allocations: 0 / 3.434 GB, free: 87.16 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.006126/11.01, allocations: 1.077 MB / 3.435 GB, free: 87.11 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 10 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * 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.01382/11.03, allocations: 3.604 MB / 3.438 GB, free: 86.29 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.002793/11.03, allocations: 0.8042 MB / 3.439 GB, free: 86.28 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.99e-06/11.03, allocations: 0 / 3.439 GB, free: 86.28 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/11.03, allocations: 0.5219 MB / 3.44 GB, free: 86.28 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002463/11.03, allocations: 253.2 kB / 3.44 GB, free: 86.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007811/11.04, allocations: 1.927 MB / 3.442 GB, free: 85.86 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007346/11.04, allocations: 1.052 MB / 3.443 GB, free: 85.16 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006563/11.04, allocations: 324.2 kB / 3.443 GB, free: 85.15 MB / 490.7 MB Notification: Performance of SimCode: time 1.262e-06/11.04, allocations: 0 / 3.443 GB, free: 85.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.99/15.03, allocations: 41.82 MB / 3.484 GB, free: 82.98 MB / 490.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