Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_TestCases_PressureLoss_Bend",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.15/2.15, allocations: 209.4 MB / 216.5 MB, free: 6.602 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.411e-05/2.42e-05, allocations: 0 / 267.6 MB, free: 4.941 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1382, allocations: 48.69 MB / 316.3 MB, free: 4.152 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.083/2.221, allocations: 0.6074 GB / 0.9164 GB, free: 51.43 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003368/2.222, allocations: 96.42 kB / 0.9164 GB, free: 51.38 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.661/3.883, allocations: 278.5 MB / 1.188 GB, free: 67.26 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.513e-06/3.883, allocations: 0 / 1.188 GB, free: 67.26 MB / 426.7 MB Notification: Performance of Transformations before backend: time 5.542e-05/3.883, allocations: 15 kB / 1.188 GB, free: 67.25 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.004335/3.888, allocations: 1.236 MB / 1.19 GB, free: 66.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.309e-05/3.888, allocations: 7.844 kB / 1.19 GB, free: 66.6 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/3.889, allocations: 158.2 kB / 1.19 GB, free: 66.56 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001449/3.891, allocations: 0.5248 MB / 1.19 GB, free: 66.33 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.801e-05/3.891, allocations: 15.12 kB / 1.19 GB, free: 66.33 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.833e-05/3.891, allocations: 26.91 kB / 1.19 GB, free: 66.33 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001064/3.892, allocations: 425.6 kB / 1.191 GB, free: 66.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/3.893, allocations: 0.5351 MB / 1.191 GB, free: 66.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.337e-05/3.893, allocations: 3.953 kB / 1.191 GB, free: 66.16 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.223e-05/3.893, allocations: 0 / 1.191 GB, free: 66.16 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.511e-05/3.893, allocations: 15.31 kB / 1.191 GB, free: 66.15 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.003907/3.897, allocations: 2.55 MB / 1.194 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005/3.898, allocations: 219 kB / 1.194 GB, free: 64.49 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/3.898, allocations: 129.2 kB / 1.194 GB, free: 64.48 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004171/3.899, allocations: 321.9 kB / 1.194 GB, free: 64.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.438e-05/3.899, allocations: 43.64 kB / 1.194 GB, free: 64.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=31): time 4.959e-06/3.899, allocations: 0 / 1.194 GB, free: 64.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=31): time 0.004077/3.903, allocations: 0.76 MB / 1.195 GB, free: 64.09 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.736e-05/3.903, allocations: 157.7 kB / 1.195 GB, free: 63.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00064/3.903, allocations: 399.9 kB / 1.196 GB, free: 63.78 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.908e-05/3.904, allocations: 28.77 kB / 1.196 GB, free: 63.75 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002468/3.904, allocations: 329.4 kB / 1.196 GB, free: 63.56 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000179/3.904, allocations: 106.9 kB / 1.196 GB, free: 63.49 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.198e-05/3.904, allocations: 0 / 1.196 GB, free: 63.49 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/3.904, allocations: 358.3 kB / 1.197 GB, free: 63.18 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000472/3.905, allocations: 123.7 kB / 1.197 GB, free: 63.18 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006525/3.906, allocations: 346.8 kB / 1.197 GB, free: 62.92 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007712/3.913, allocations: 0.6034 MB / 1.198 GB, free: 62.92 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.551e-05/3.913, allocations: 2.75 kB / 1.198 GB, free: 62.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=63) (initialization): time 0.007743/3.921, allocations: 0.9517 MB / 1.199 GB, free: 62.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.457e-05/3.921, allocations: 11.7 kB / 1.199 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.926e-05/3.921, allocations: 8.281 kB / 1.199 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003703/3.922, allocations: 56.39 kB / 1.199 GB, free: 62.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009405/3.923, allocations: 140.9 kB / 1.199 GB, free: 62.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000972/3.924, allocations: 0.6124 MB / 1.199 GB, free: 62.31 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/3.925, allocations: 63.72 kB / 1.199 GB, free: 62.28 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001674/3.925, allocations: 61.64 kB / 1.199 GB, free: 62.28 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0002474/3.925, allocations: 123.8 kB / 1.2 GB, free: 62.16 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005971/3.931, allocations: 0.7652 MB / 1.2 GB, free: 62.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001967/3.932, allocations: 49.69 kB / 1.2 GB, free: 62.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003866/3.935, allocations: 0.6067 MB / 1.201 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.284e-05/3.935, allocations: 7.859 kB / 1.201 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/3.936, allocations: 0 / 1.201 GB, free: 61.96 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/3.936, allocations: 3.953 kB / 1.201 GB, free: 61.95 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004184/3.94, allocations: 1.092 MB / 1.202 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.733e-05/3.94, allocations: 3.875 kB / 1.202 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004466/3.94, allocations: 45.92 kB / 1.202 GB, free: 61.42 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002641/3.941, allocations: 53.7 kB / 1.202 GB, free: 61.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.141e-05/3.941, allocations: 7.547 kB / 1.202 GB, free: 61.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008179/3.942, allocations: 0.601 MB / 1.203 GB, free: 60.89 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/3.942, allocations: 3.969 kB / 1.203 GB, free: 60.89 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002537/3.944, allocations: 0.6265 MB / 1.203 GB, free: 60.52 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005347/3.945, allocations: 182.6 kB / 1.204 GB, free: 60.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002417/3.945, allocations: 5.188 kB / 1.204 GB, free: 60.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006362/3.946, allocations: 17.77 kB / 1.204 GB, free: 60.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.987e-05/3.946, allocations: 27.48 kB / 1.204 GB, free: 60.39 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-05/3.946, allocations: 16.08 kB / 1.204 GB, free: 60.39 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005053/3.946, allocations: 323.4 kB / 1.204 GB, free: 60.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.4e-07/3.946, allocations: 0 / 1.204 GB, free: 60.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002953/3.949, allocations: 463.2 kB / 1.204 GB, free: 60.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (26): * Single equations (assignments): 25 * 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: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.00803/3.957, allocations: 3.139 MB / 1.207 GB, free: 58.56 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001395/3.959, allocations: 331.3 kB / 1.208 GB, free: 58.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.081e-05/3.959, allocations: 0 / 1.208 GB, free: 58.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004836/3.959, allocations: 113.2 kB / 1.208 GB, free: 58.56 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003092/3.963, allocations: 259 kB / 1.208 GB, free: 58.55 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01576/3.978, allocations: 2.612 MB / 1.211 GB, free: 58.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/3.979, allocations: 0.8791 MB / 1.211 GB, free: 57.43 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002313/3.981, allocations: 204.7 kB / 1.212 GB, free: 57.41 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008341/3.982, allocations: 207 kB / 1.212 GB, free: 57.41 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/3.982, allocations: 3.219 kB / 1.212 GB, free: 57.41 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09038/4.073, allocations: 25.19 MB / 1.236 GB, free: 52.38 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/4.073, allocations: 178.1 kB / 1.237 GB, free: 52.19 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.679/7.752, allocations: 0 / 1.237 GB, free: 52.19 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Bend_res.mat does not exist to compare? outputFormat=mat