Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Examples_Tests_MediaTestModels_Water_WaterIF97OnePhase_ph",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.16/2.16, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.569e-05, allocations: 4 kB / 255.4 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09597/0.09604, allocations: 44.51 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.13/8.226, allocations: 2.576 GB / 2.869 GB, free: 88.2 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003546/8.226, allocations: 86.91 kB / 2.869 GB, free: 88.2 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.237/10.46, allocations: 429.7 MB / 3.288 GB, free: 27.13 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.468e-06/10.46, allocations: 2.438 kB / 3.288 GB, free: 27.13 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.522e-05/10.46, allocations: 6.844 kB / 3.288 GB, free: 27.12 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.006618/10.47, allocations: 1.209 MB / 3.29 GB, free: 25.91 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.696e-05/10.47, allocations: 8.031 kB / 3.29 GB, free: 25.91 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/10.47, allocations: 73.91 kB / 3.29 GB, free: 25.83 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003259/10.47, allocations: 155.5 kB / 3.29 GB, free: 25.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000896/10.47, allocations: 319.1 kB / 3.29 GB, free: 25.33 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.714e-05/10.47, allocations: 25.64 kB / 3.29 GB, free: 25.31 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.614e-05/10.47, allocations: 28 kB / 3.29 GB, free: 25.28 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002966/10.48, allocations: 0.543 MB / 3.291 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.92e-05/10.48, allocations: 0 / 3.291 GB, free: 24.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001001/10.48, allocations: 20 kB / 3.291 GB, free: 24.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.938e-05/10.48, allocations: 11.95 kB / 3.291 GB, free: 24.68 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/10.48, allocations: 328.2 kB / 3.291 GB, free: 24.36 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.006038/10.49, allocations: 2.571 MB / 3.294 GB, free: 21.57 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/10.49, allocations: 287.6 kB / 3.294 GB, free: 21.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003903/10.49, allocations: 109.3 kB / 3.294 GB, free: 21.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1195/10.61, allocations: 30.88 MB / 3.324 GB, free: 3.051 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.385e-05/10.61, allocations: 34.56 kB / 3.324 GB, free: 3.008 MB / 426.7 MB Notification: Performance of pre-optimization done (n=27): time 2.655e-06/10.61, allocations: 0 / 3.324 GB, free: 3.008 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.005266/10.61, allocations: 1.091 MB / 3.325 GB, free: 1.855 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/10.61, allocations: 55.41 kB / 3.325 GB, free: 1.789 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004066/10.61, allocations: 234.8 kB / 3.326 GB, free: 1.555 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.907e-05/10.61, allocations: 29.7 kB / 3.326 GB, free: 1.52 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001755/10.61, allocations: 244.7 kB / 3.326 GB, free: 1.285 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/10.61, allocations: 110.4 kB / 3.326 GB, free: 1.176 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.232e-05/10.61, allocations: 12 kB / 3.326 GB, free: 1.164 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001548/10.61, allocations: 330.8 kB / 3.326 GB, free: 0.832 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002797/10.61, allocations: 88.88 kB / 3.326 GB, free: 0.7461 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003839/10.61, allocations: 210.9 kB / 3.327 GB, free: 500 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003614/10.61, allocations: 119.9 kB / 3.327 GB, free: 380 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/10.61, allocations: 0 / 3.327 GB, free: 380 kB / 426.7 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.3166/10.93, allocations: 398.1 kB / 3.327 GB, free: 63.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.321e-05/10.93, allocations: 3.906 kB / 3.327 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.428e-05/10.93, allocations: 3.812 kB / 3.327 GB, free: 63.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005332/10.93, allocations: 64.19 kB / 3.327 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007143/10.93, allocations: 83.61 kB / 3.327 GB, free: 63.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001766/10.93, allocations: 2.431 MB / 3.33 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005239/10.93, allocations: 29.83 kB / 3.33 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.493e-05/10.94, allocations: 21.45 kB / 3.33 GB, free: 61.61 MB / 426.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): 42 * 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: 2 * 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: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001687/10.94, allocations: 128.5 kB / 3.33 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/10.94, allocations: 29.44 kB / 3.33 GB, free: 61.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/10.94, allocations: 0.8742 MB / 3.331 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.269e-05/10.94, allocations: 8.531 kB / 3.331 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/10.94, allocations: 0.7656 kB / 3.331 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001431/10.94, allocations: 1.038 MB / 3.332 GB, free: 60.93 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002584/10.94, allocations: 1.494 MB / 3.333 GB, free: 60.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.618e-06/10.94, allocations: 0 / 3.333 GB, free: 60.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/10.94, allocations: 57.94 kB / 3.333 GB, free: 60.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005832/10.94, allocations: 72.05 kB / 3.333 GB, free: 60.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.354e-05/10.94, allocations: 9.953 kB / 3.333 GB, free: 60.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00048/10.94, allocations: 0.5869 MB / 3.334 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/10.94, allocations: 3.266 kB / 3.334 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001864/10.94, allocations: 0.8111 MB / 3.335 GB, free: 59.84 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002653/10.95, allocations: 134.8 kB / 3.335 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001126/10.95, allocations: 8.75 kB / 3.335 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000844/10.95, allocations: 49.28 kB / 3.335 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.384e-05/10.95, allocations: 20.09 kB / 3.335 GB, free: 59.73 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.74e-05/10.95, allocations: 15.78 kB / 3.335 GB, free: 59.73 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004833/10.95, allocations: 229 kB / 3.335 GB, free: 59.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.51e-07/10.95, allocations: 3.75 kB / 3.335 GB, free: 59.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005696/10.95, allocations: 0.8943 MB / 3.336 GB, free: 59.64 MB / 426.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.h) * 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 (32): * Single equations (assignments): 29 * 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 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01267/10.97, allocations: 2.584 MB / 3.338 GB, free: 58.91 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001888/10.97, allocations: 492.2 kB / 3.339 GB, free: 58.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.524e-06/10.97, allocations: 1.312 kB / 3.339 GB, free: 58.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007236/10.97, allocations: 245.9 kB / 3.339 GB, free: 58.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002417/10.97, allocations: 182.8 kB / 3.339 GB, free: 58.79 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006134/10.98, allocations: 1.122 MB / 3.34 GB, free: 58.55 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/10.98, allocations: 0.8287 MB / 3.341 GB, free: 57.86 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003829/10.98, allocations: 143.4 kB / 3.341 GB, free: 57.85 MB / 426.7 MB Notification: Performance of SimCode: time 1.473e-06/10.98, allocations: 0 / 3.341 GB, free: 57.85 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.686/14.66, allocations: 27.96 MB / 3.369 GB, free: 56.54 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Examples.Tests.MediaTestModels.Water.WaterIF97OnePhase_ph_res.mat does not exist to compare? outputFormat=mat