Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.117/2.117, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.476e-05, allocations: 4 kB / 255.5 MB, free: 3.066 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09843/0.0985, allocations: 44.51 MB / 300 MB, free: 6.5 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.062/8.161, allocations: 2.574 GB / 2.867 GB, free: 87.54 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003227/8.161, allocations: 91.84 kB / 2.867 GB, free: 87.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.3/9.461, allocations: 296.4 MB / 3.157 GB, free: 6.789 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.034e-06/9.462, allocations: 4 kB / 3.157 GB, free: 6.785 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.737e-05/9.462, allocations: 8 kB / 3.157 GB, free: 6.777 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 78 * Number of variables: 78 Notification: Performance of Generate backend data structure: time 0.003532/9.465, allocations: 0.9153 MB / 3.158 GB, free: 5.82 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/9.465, allocations: 12.03 kB / 3.158 GB, free: 5.809 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.768e-05/9.465, allocations: 66.53 kB / 3.158 GB, free: 5.734 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/9.466, allocations: 91.78 kB / 3.158 GB, free: 5.645 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005184/9.467, allocations: 301.2 kB / 3.158 GB, free: 5.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.079e-05/9.467, allocations: 24.78 kB / 3.158 GB, free: 5.285 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.983e-05/9.467, allocations: 32 kB / 3.158 GB, free: 5.254 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001048/9.468, allocations: 438.3 kB / 3.158 GB, free: 4.781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/9.468, allocations: 7.844 kB / 3.158 GB, free: 4.773 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.913e-05/9.468, allocations: 20 kB / 3.158 GB, free: 4.754 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/9.468, allocations: 15.94 kB / 3.158 GB, free: 4.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008811/9.469, allocations: 320.8 kB / 3.159 GB, free: 4.422 MB / 410.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.003456/9.473, allocations: 2.614 MB / 3.161 GB, free: 1.578 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007449/9.473, allocations: 254.6 kB / 3.162 GB, free: 1.32 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002309/9.474, allocations: 108.7 kB / 3.162 GB, free: 1.211 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3441/9.818, allocations: 15.37 MB / 3.177 GB, free: 46.58 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.569e-05/9.818, allocations: 36.41 kB / 3.177 GB, free: 46.54 MB / 410.7 MB Notification: Performance of pre-optimization done (n=25): time 3.576e-06/9.818, allocations: 0 / 3.177 GB, free: 46.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=30): time 0.005986/9.824, allocations: 1.165 MB / 3.178 GB, free: 46.25 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.107e-05/9.824, allocations: 54.72 kB / 3.178 GB, free: 46.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/9.824, allocations: 239 kB / 3.178 GB, free: 46.09 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 6.222e-05/9.824, allocations: 30.48 kB / 3.178 GB, free: 46.06 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/9.824, allocations: 252.7 kB / 3.178 GB, free: 45.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/9.825, allocations: 107.2 kB / 3.179 GB, free: 45.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/9.825, allocations: 10.25 kB / 3.179 GB, free: 45.82 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.897e-05/9.825, allocations: 327.5 kB / 3.179 GB, free: 45.51 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002747/9.825, allocations: 91.83 kB / 3.179 GB, free: 45.51 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003458/9.825, allocations: 213.4 kB / 3.179 GB, free: 45.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000354/9.826, allocations: 138.6 kB / 3.179 GB, free: 45.38 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/9.826, allocations: 1.375 kB / 3.179 GB, free: 45.38 MB / 410.7 MB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001143/9.827, allocations: 413 kB / 3.18 GB, free: 45.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/9.827, allocations: 8.938 kB / 3.18 GB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.245e-05/9.827, allocations: 3.844 kB / 3.18 GB, free: 45.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006746/9.834, allocations: 269.6 kB / 3.18 GB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006197/9.834, allocations: 84.89 kB / 3.18 GB, free: 45.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001647/9.836, allocations: 1.859 MB / 3.182 GB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006014/9.837, allocations: 35.94 kB / 3.182 GB, free: 43.52 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.454e-05/9.837, allocations: 17.59 kB / 3.182 GB, free: 43.52 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 3 (ambient.medium.phase,fixedMassFlowRate.medium.phase,volume.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (45): * Single equations (assignments): 43 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001599/9.837, allocations: 128.2 kB / 3.182 GB, free: 43.41 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.968e-05/9.837, allocations: 29.59 kB / 3.182 GB, free: 43.4 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001579/9.839, allocations: 0.9448 MB / 3.183 GB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.037e-05/9.839, allocations: 18.41 kB / 3.183 GB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/9.839, allocations: 0 / 3.183 GB, free: 43.3 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001254/9.84, allocations: 1.105 MB / 3.184 GB, free: 42.81 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/9.843, allocations: 1.591 MB / 3.186 GB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/9.843, allocations: 0 / 3.186 GB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003935/9.843, allocations: 48.2 kB / 3.186 GB, free: 42.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003074/9.846, allocations: 276.6 kB / 3.186 GB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.04e-05/9.846, allocations: 18.39 kB / 3.186 GB, free: 42.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006443/9.847, allocations: 0.6623 MB / 3.187 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/9.847, allocations: 3.938 kB / 3.187 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/9.849, allocations: 0.9537 MB / 3.188 GB, free: 41.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002323/9.849, allocations: 129.5 kB / 3.188 GB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.425e-05/9.849, allocations: 7.906 kB / 3.188 GB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004125/9.849, allocations: 19.38 kB / 3.188 GB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/9.85, allocations: 19.64 kB / 3.188 GB, free: 41.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.641e-05/9.85, allocations: 17.7 kB / 3.188 GB, free: 41.57 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003566/9.85, allocations: 236.8 kB / 3.188 GB, free: 41.49 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.51e-07/9.85, allocations: 0 / 3.188 GB, free: 41.49 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003405/9.853, allocations: 0.541 MB / 3.188 GB, free: 41.49 MB / 410.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: 4 ($cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 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.007614/9.861, allocations: 2.255 MB / 3.191 GB, free: 40.76 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001689/9.863, allocations: 0.4962 MB / 3.191 GB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.651e-06/9.863, allocations: 0 / 3.191 GB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007762/9.864, allocations: 283.8 kB / 3.191 GB, free: 40.65 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/9.866, allocations: 185.3 kB / 3.192 GB, free: 40.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004891/9.871, allocations: 1.005 MB / 3.193 GB, free: 40.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004493/9.871, allocations: 0.8305 MB / 3.193 GB, free: 39.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004006/9.872, allocations: 143.2 kB / 3.194 GB, free: 39.68 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/9.872, allocations: 0 / 3.194 GB, free: 39.68 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.299/13.17, allocations: 20.21 MB / 3.213 GB, free: 38.45 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97_pT_res.mat does not exist to compare? outputFormat=mat