Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.911/1.911, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.851e-05, allocations: 3.984 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.109, allocations: 48.7 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.941/1.05, allocations: 230.6 MB / 0.5395 GB, free: 106.5 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/1.05, allocations: 94.75 kB / 0.5396 GB, free: 106.5 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.251/2.302, allocations: 269.2 MB / 0.8026 GB, free: 15.74 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.164e-06/2.302, allocations: 7.938 kB / 0.8026 GB, free: 15.73 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.54e-05/2.302, allocations: 15.98 kB / 0.8026 GB, free: 15.71 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.005002/2.307, allocations: 1.515 MB / 0.8041 GB, free: 14.15 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/2.307, allocations: 8.031 kB / 0.8041 GB, free: 14.14 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/2.307, allocations: 94.52 kB / 0.8042 GB, free: 14.04 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001394/2.309, allocations: 150.9 kB / 0.8043 GB, free: 13.89 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001725/2.31, allocations: 0.5559 MB / 0.8048 GB, free: 13.3 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/2.311, allocations: 104.4 kB / 0.8049 GB, free: 13.18 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001466/2.311, allocations: 52 kB / 0.805 GB, free: 13.13 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/2.313, allocations: 0.7928 MB / 0.8058 GB, free: 12.26 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.278e-05/2.313, allocations: 7.938 kB / 0.8058 GB, free: 12.25 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001093/2.313, allocations: 27.98 kB / 0.8058 GB, free: 12.22 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.001e-05/2.313, allocations: 40.97 kB / 0.8058 GB, free: 12.18 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/2.315, allocations: 0.5619 MB / 0.8064 GB, free: 11.62 MB / 426.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.006694/2.321, allocations: 4.42 MB / 0.8107 GB, free: 6.887 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009874/2.322, allocations: 310.6 kB / 0.811 GB, free: 6.574 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000294/2.323, allocations: 132.8 kB / 0.8111 GB, free: 6.441 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002933/2.323, allocations: 344.6 kB / 0.8115 GB, free: 6.031 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/2.323, allocations: 42.55 kB / 0.8115 GB, free: 5.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=29): time 3.687e-06/2.323, allocations: 0 / 0.8115 GB, free: 5.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=35): time 0.004646/2.328, allocations: 1.212 MB / 0.8127 GB, free: 4.707 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/2.328, allocations: 132.5 kB / 0.8128 GB, free: 4.547 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009895/2.329, allocations: 0.5618 MB / 0.8134 GB, free: 3.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.695e-05/2.329, allocations: 37.7 kB / 0.8134 GB, free: 3.938 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002855/2.329, allocations: 402.3 kB / 0.8138 GB, free: 3.535 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001357/2.329, allocations: 130.2 kB / 0.8139 GB, free: 3.406 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.045e-05/2.329, allocations: 15.94 kB / 0.8139 GB, free: 3.391 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/2.33, allocations: 374.8 kB / 0.8143 GB, free: 3.016 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004912/2.33, allocations: 193.5 kB / 0.8145 GB, free: 2.828 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006593/2.331, allocations: 0.5211 MB / 0.815 GB, free: 2.145 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006571/2.331, allocations: 295.2 kB / 0.8152 GB, free: 1.859 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.336e-06/2.331, allocations: 4 kB / 0.8152 GB, free: 1.855 MB / 426.7 MB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002066/2.333, allocations: 0.8646 MB / 0.8161 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/2.334, allocations: 12 kB / 0.8161 GB, free: 0.9648 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.73e-05/2.334, allocations: 8 kB / 0.8161 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001972/2.336, allocations: 278 kB / 0.8164 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008088/2.336, allocations: 131.8 kB / 0.8165 GB, free: 0.5508 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.328/2.664, allocations: 1.365 MB / 0.8178 GB, free: 67.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/2.666, allocations: 36.67 kB / 0.8179 GB, free: 67.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/2.666, allocations: 46.91 kB / 0.8179 GB, free: 67.29 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 73 * 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 {1 4,1 13} Notification: Performance of prepare postOptimizeDAE: time 0.0002637/2.666, allocations: 162.4 kB / 0.8181 GB, free: 67.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/2.666, allocations: 68.31 kB / 0.8181 GB, free: 67.18 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00251/2.669, allocations: 0.6861 MB / 0.8188 GB, free: 67.11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.012e-05/2.669, allocations: 3.625 kB / 0.8188 GB, free: 67.11 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/2.669, allocations: 0 / 0.8188 GB, free: 67.11 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.939e-06/2.669, allocations: 3.891 kB / 0.8188 GB, free: 67.11 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004099/2.673, allocations: 1.186 MB / 0.82 GB, free: 66.78 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.197e-05/2.673, allocations: 1.938 kB / 0.82 GB, free: 66.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005454/2.674, allocations: 47.45 kB / 0.82 GB, free: 66.78 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002373/2.676, allocations: 190.3 kB / 0.8202 GB, free: 66.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001263/2.676, allocations: 16.7 kB / 0.8202 GB, free: 66.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001883/2.678, allocations: 1.288 MB / 0.8215 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/2.678, allocations: 2 kB / 0.8215 GB, free: 65.73 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003114/2.681, allocations: 0.7976 MB / 0.8223 GB, free: 65.53 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007456/2.682, allocations: 197.1 kB / 0.8224 GB, free: 65.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002221/2.682, allocations: 10.97 kB / 0.8225 GB, free: 65.43 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/2.683, allocations: 26.42 kB / 0.8225 GB, free: 65.43 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001378/2.684, allocations: 27.44 kB / 0.8225 GB, free: 65.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001018/2.684, allocations: 22.33 kB / 0.8225 GB, free: 65.43 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001233/2.685, allocations: 431.4 kB / 0.8229 GB, free: 65.33 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.685, allocations: 0 / 0.8229 GB, free: 65.33 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003024/2.688, allocations: 365.3 kB / 0.8233 GB, free: 65.33 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 1 (volume.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.005334/2.693, allocations: 1.826 MB / 0.8251 GB, free: 64.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002508/2.696, allocations: 0.4997 MB / 0.8256 GB, free: 64.42 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/2.696, allocations: 1.875 kB / 0.8256 GB, free: 64.42 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001119/2.697, allocations: 216 kB / 0.8258 GB, free: 64.41 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003679/2.701, allocations: 280.4 kB / 0.826 GB, free: 64.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006358/2.707, allocations: 1.203 MB / 0.8272 GB, free: 64.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007494/2.708, allocations: 0.9487 MB / 0.8281 GB, free: 63.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002049/2.71, allocations: 256.4 kB / 0.8284 GB, free: 63.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007547/2.711, allocations: 238.1 kB / 0.8286 GB, free: 63.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.493e-06/2.711, allocations: 3.969 kB / 0.8286 GB, free: 63.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07589/2.787, allocations: 21.97 MB / 0.8501 GB, free: 62.8 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002458/2.787, allocations: 259.5 kB / 0.8503 GB, free: 62.47 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.285/6.072, allocations: 0 / 0.8503 GB, free: 62.47 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat