Running command: "" <> buildModelFMU(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Examples_Tests_MediaTestModels_LinearFluid_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.051/2.051, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.948e-05/4.981e-05, allocations: 15.08 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1097, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.173/1.283, allocations: 362.5 MB / 0.647 GB, free: 23.91 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003344/1.283, allocations: 86.62 kB / 0.647 GB, free: 23.86 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5388/1.822, allocations: 80.85 MB / 0.726 GB, free: 120.5 MB / 410.7 MB Notification: Performance of FrontEnd: time 4.178e-06/1.822, allocations: 0 / 0.726 GB, free: 120.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.874e-05/1.822, allocations: 7.938 kB / 0.726 GB, free: 120.5 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: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.001376/1.823, allocations: 0.6047 MB / 0.7266 GB, free: 119.8 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.49e-05/1.823, allocations: 8.031 kB / 0.7266 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.74e-05/1.823, allocations: 54.55 kB / 0.7267 GB, free: 119.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003943/1.824, allocations: 43.7 kB / 0.7267 GB, free: 119.7 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005001/1.824, allocations: 270.5 kB / 0.727 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/1.824, allocations: 20.5 kB / 0.727 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.575e-05/1.824, allocations: 31.98 kB / 0.727 GB, free: 119.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006644/1.825, allocations: 287.8 kB / 0.7273 GB, free: 119.1 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.333e-05/1.825, allocations: 3.938 kB / 0.7273 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.308e-05/1.825, allocations: 12 kB / 0.7273 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.16e-05/1.825, allocations: 8 kB / 0.7273 GB, free: 119 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006488/1.826, allocations: 193.6 kB / 0.7275 GB, free: 118.8 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003641/1.83, allocations: 1.436 MB / 0.7289 GB, free: 117.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004476/1.83, allocations: 175.3 kB / 0.7291 GB, free: 117.1 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001925/1.83, allocations: 81.23 kB / 0.7291 GB, free: 117 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.596e-05/1.83, allocations: 8.172 kB / 0.7291 GB, free: 117 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/1.83, allocations: 38.69 kB / 0.7292 GB, free: 117 MB / 410.7 MB Notification: Performance of pre-optimization done (n=21): time 3.045e-06/1.83, allocations: 0 / 0.7292 GB, free: 117 MB / 410.7 MB Notification: Performance of matching and sorting (n=26): time 0.003649/1.834, allocations: 0.8571 MB / 0.73 GB, free: 116 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.036e-05/1.834, allocations: 59.34 kB / 0.7301 GB, free: 116 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/1.835, allocations: 226.9 kB / 0.7303 GB, free: 115.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/1.835, allocations: 37.64 kB / 0.7303 GB, free: 115.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.835, allocations: 175.9 kB / 0.7305 GB, free: 115.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.817e-05/1.835, allocations: 94.64 kB / 0.7306 GB, free: 115.4 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/1.835, allocations: 8 kB / 0.7306 GB, free: 115.4 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.629e-05/1.835, allocations: 342.8 kB / 0.7309 GB, free: 115.1 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002195/1.835, allocations: 80 kB / 0.731 GB, free: 115 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002698/1.835, allocations: 171.2 kB / 0.7312 GB, free: 114.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002893/1.836, allocations: 119.8 kB / 0.7313 GB, free: 114.7 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/1.836, allocations: 0 / 0.7313 GB, free: 114.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.001061/1.837, allocations: 378.7 kB / 0.7316 GB, free: 114.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/1.837, allocations: 10.34 kB / 0.7316 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/1.837, allocations: 4 kB / 0.7316 GB, free: 114.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004147/1.837, allocations: 62.05 kB / 0.7317 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000579/1.838, allocations: 67.91 kB / 0.7318 GB, free: 114.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002418/1.84, allocations: 2.67 MB / 0.7344 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005441/1.841, allocations: 27.97 kB / 0.7344 GB, free: 111.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.564e-05/1.841, allocations: 12 kB / 0.7344 GB, free: 111.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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: 1 {(1,100.0%) 2} * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001503/1.841, allocations: 124.9 kB / 0.7345 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.992e-05/1.841, allocations: 27.62 kB / 0.7346 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001559/1.841, allocations: 42.02 kB / 0.7346 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.764e-06/1.841, allocations: 4 kB / 0.7346 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/1.842, allocations: 3.938 kB / 0.7346 GB, free: 111 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008213/1.842, allocations: 0.5553 MB / 0.7351 GB, free: 110.3 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001481/1.844, allocations: 0.6989 MB / 0.7358 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.67e-06/1.844, allocations: 0 / 0.7358 GB, free: 109.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003874/1.844, allocations: 39.98 kB / 0.7359 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003624/1.845, allocations: 56.78 kB / 0.7359 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.137e-05/1.845, allocations: 4 kB / 0.7359 GB, free: 109.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001351/1.846, allocations: 1.382 MB / 0.7373 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.92e-06/1.846, allocations: 4.031 kB / 0.7373 GB, free: 107.9 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001055/1.847, allocations: 478.6 kB / 0.7377 GB, free: 107.4 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.847, allocations: 100.8 kB / 0.7378 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.855e-05/1.847, allocations: 7.953 kB / 0.7378 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/1.848, allocations: 19.97 kB / 0.7379 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.358e-05/1.848, allocations: 19.97 kB / 0.7379 GB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.3e-05/1.848, allocations: 11.92 kB / 0.7379 GB, free: 107.3 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002635/1.848, allocations: 183.1 kB / 0.7381 GB, free: 107.1 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.848, allocations: 0 / 0.7381 GB, free: 107.1 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007007/1.849, allocations: 100 kB / 0.7382 GB, free: 107 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (volume.medium.p,volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 23 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001608/1.851, allocations: 1.144 MB / 0.7393 GB, free: 105.8 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001127/1.852, allocations: 473.4 kB / 0.7397 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/1.852, allocations: 0 / 0.7397 GB, free: 105.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005339/1.852, allocations: 230.5 kB / 0.7399 GB, free: 105.1 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001638/1.854, allocations: 160.4 kB / 0.7401 GB, free: 104.9 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001812/1.856, allocations: 0.5497 MB / 0.7406 GB, free: 104.3 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002632/1.856, allocations: 0.7726 MB / 0.7414 GB, free: 103.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0005194/1.857, allocations: 50.95 kB / 0.7414 GB, free: 103.5 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001879/1.857, allocations: 87.41 kB / 0.7415 GB, free: 103.4 MB / 410.7 MB Notification: Performance of SimCode: time 1.693e-06/1.857, allocations: 0 / 0.7415 GB, free: 103.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04577/1.903, allocations: 8.975 MB / 0.7503 GB, free: 94.52 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003072/1.903, allocations: 211.4 kB / 0.7505 GB, free: 94.29 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.984/4.887, allocations: 0 / 0.7505 GB, free: 94.29 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat does not exist to compare? outputFormat=mat