Running command: "" <> buildModelFMU(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestsWithFluid_MediaTestModels_Incompressible_Glycol47",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 270 MB / 283.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.789e-05/3.792e-05, allocations: 4 kB / 348.5 MB, free: 10.71 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1372, allocations: 61.88 MB / 410.4 MB, free: 12.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.252, allocations: 237.1 MB / 0.6323 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002765/1.252, allocations: 98.28 kB / 0.6324 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.331/2.583, allocations: 248.1 MB / 0.8747 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.023e-06/2.583, allocations: 0 / 0.8747 GB, free: 126.4 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.842e-05/2.583, allocations: 21.56 kB / 0.8747 GB, free: 126.4 MB / 0.5261 GB 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.004111/2.587, allocations: 1.184 MB / 0.8759 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/2.587, allocations: 12.47 kB / 0.8759 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003659/2.588, allocations: 97.72 kB / 0.876 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/2.59, allocations: 144.8 kB / 0.8761 GB, free: 125.6 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001919/2.591, allocations: 0.544 MB / 0.8766 GB, free: 125.3 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001631/2.592, allocations: 106.7 kB / 0.8767 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002123/2.592, allocations: 49.5 kB / 0.8768 GB, free: 125.2 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002307/2.594, allocations: 0.808 MB / 0.8776 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/2.594, allocations: 7.844 kB / 0.8776 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001323/2.594, allocations: 24.81 kB / 0.8776 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.365e-05/2.595, allocations: 41.94 kB / 0.8776 GB, free: 125 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001773/2.596, allocations: 0.564 MB / 0.8782 GB, free: 124.9 MB / 0.5261 GB 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.008356/2.605, allocations: 4.475 MB / 0.8826 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/2.606, allocations: 315.3 kB / 0.8829 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003374/2.606, allocations: 131.7 kB / 0.883 GB, free: 121.7 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004011/2.607, allocations: 412.9 kB / 0.8834 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.924e-05/2.607, allocations: 44.62 kB / 0.8834 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=30): time 4.758e-06/2.607, allocations: 3.938 kB / 0.8834 GB, free: 121.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.00523/2.612, allocations: 1.242 MB / 0.8846 GB, free: 120.8 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.866e-05/2.612, allocations: 139.5 kB / 0.8848 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/2.613, allocations: 0.564 MB / 0.8853 GB, free: 120.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001275/2.613, allocations: 33.39 kB / 0.8854 GB, free: 120.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002934/2.614, allocations: 390 kB / 0.8857 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/2.614, allocations: 136.1 kB / 0.8859 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.036e-05/2.614, allocations: 14.28 kB / 0.8859 GB, free: 120.1 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001319/2.614, allocations: 378.5 kB / 0.8862 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004849/2.615, allocations: 191 kB / 0.8864 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006552/2.615, allocations: 489.8 kB / 0.8869 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006383/2.616, allocations: 285.7 kB / 0.8872 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/2.616, allocations: 0 / 0.8872 GB, free: 119.5 MB / 0.5261 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002053/2.618, allocations: 0.8126 MB / 0.8879 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/2.618, allocations: 11.62 kB / 0.888 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/2.618, allocations: 9.281 kB / 0.888 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001907/2.62, allocations: 268 kB / 0.8882 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000743/2.621, allocations: 125.9 kB / 0.8883 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/2.622, allocations: 1.384 MB / 0.8897 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/2.623, allocations: 39.8 kB / 0.8897 GB, free: 118.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/2.623, allocations: 48.22 kB / 0.8898 GB, free: 118.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (70): * Single equations (assignments): 68 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002286/2.624, allocations: 165.3 kB / 0.8899 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/2.624, allocations: 72.16 kB / 0.89 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002139/2.626, allocations: 0.6637 MB / 0.8907 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/2.626, allocations: 6.25 kB / 0.8907 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/2.626, allocations: 0 / 0.8907 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.043e-06/2.626, allocations: 0 / 0.8907 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/2.629, allocations: 1.205 MB / 0.8918 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/2.629, allocations: 0 / 0.8918 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003306/2.629, allocations: 39.45 kB / 0.8919 GB, free: 117.6 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001297/2.631, allocations: 185.5 kB / 0.8921 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.928e-05/2.631, allocations: 14.78 kB / 0.8921 GB, free: 117.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001292/2.632, allocations: 1.282 MB / 0.8933 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/2.632, allocations: 3.938 kB / 0.8933 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00188/2.634, allocations: 0.8036 MB / 0.8941 GB, free: 115.9 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005341/2.635, allocations: 184.1 kB / 0.8943 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002331/2.635, allocations: 15.25 kB / 0.8943 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/2.636, allocations: 32.09 kB / 0.8943 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/2.637, allocations: 30.44 kB / 0.8944 GB, free: 115.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.773e-05/2.637, allocations: 23.34 kB / 0.8944 GB, free: 115.7 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008565/2.638, allocations: 445.2 kB / 0.8948 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.81e-07/2.638, allocations: 0 / 0.8948 GB, free: 115.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001616/2.639, allocations: 289.2 kB / 0.8951 GB, free: 115.5 MB / 0.5261 GB 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.003176/2.642, allocations: 1.707 MB / 0.8967 GB, free: 114.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001564/2.644, allocations: 492.8 kB / 0.8972 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.915e-06/2.644, allocations: 3.469 kB / 0.8972 GB, free: 114.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006868/2.645, allocations: 194.5 kB / 0.8974 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002681/2.647, allocations: 307.5 kB / 0.8977 GB, free: 114.1 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003738/2.651, allocations: 1.093 MB / 0.8988 GB, free: 113.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004898/2.652, allocations: 0.9529 MB / 0.8997 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001336/2.653, allocations: 249.5 kB / 0.8999 GB, free: 112.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004434/2.654, allocations: 228 kB / 0.9002 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of SimCode: time 2.785e-06/2.654, allocations: 3.25 kB / 0.9002 GB, free: 112.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06832/2.722, allocations: 20.87 MB / 0.9205 GB, free: 100.6 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/2.722, allocations: 249.9 kB / 0.9208 GB, free: 100.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.645/6.367, allocations: 3.75 kB / 0.9208 GB, free: 100.2 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Incompressible.Glycol47_res.mat does not exist to compare? outputFormat=mat