Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Pipes_IdealMixing1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.4 MB / 216.9 MB, free: 6.66 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.777e-05/2.799e-05, allocations: 4 kB / 267.6 MB, free: 5.309 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1122, allocations: 48.7 MB / 316.3 MB, free: 4.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.447/2.559, allocations: 0.7724 GB / 1.081 GB, free: 44.52 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/2.56, allocations: 86.33 kB / 1.081 GB, free: 44.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.138/8.697, allocations: 1.12 GB / 2.201 GB, free: 45.86 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.883e-06/8.697, allocations: 0 / 2.201 GB, free: 45.86 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001296/8.698, allocations: 40.28 kB / 2.201 GB, free: 45.85 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.02014/8.718, allocations: 2.358 MB / 2.204 GB, free: 44.8 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/8.718, allocations: 8.656 kB / 2.204 GB, free: 44.8 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007734/8.726, allocations: 428.8 kB / 2.204 GB, free: 44.72 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004933/8.731, allocations: 1.265 MB / 2.205 GB, free: 44.38 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.154e-05/8.731, allocations: 44.72 kB / 2.205 GB, free: 44.38 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005092/8.731, allocations: 63.59 kB / 2.205 GB, free: 44.38 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008689/8.74, allocations: 3.411 MB / 2.209 GB, free: 44.38 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00629/8.746, allocations: 2.36 MB / 2.211 GB, free: 44.18 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.029e-05/8.746, allocations: 0 / 2.211 GB, free: 44.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003626/8.747, allocations: 3.344 kB / 2.211 GB, free: 44.18 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002689/8.747, allocations: 147.4 kB / 2.211 GB, free: 44.18 MB / 458.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.0205/8.767, allocations: 7.057 MB / 2.218 GB, free: 42.16 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002432/8.77, allocations: 0.9467 MB / 2.219 GB, free: 42.13 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001026/8.771, allocations: 0.5325 MB / 2.22 GB, free: 42.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001664/8.773, allocations: 0.6947 MB / 2.22 GB, free: 41.56 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.277e-05/8.773, allocations: 45.44 kB / 2.22 GB, free: 41.52 MB / 458.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001752/8.775, allocations: 212 kB / 2.221 GB, free: 41.48 MB / 458.7 MB Notification: Performance of pre-optimization done (n=56): time 4.198e-06/8.775, allocations: 0 / 2.221 GB, free: 41.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=56): time 0.003894/8.778, allocations: 1.502 MB / 2.222 GB, free: 41.37 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/8.779, allocations: 142.7 kB / 2.222 GB, free: 41.21 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001441/8.78, allocations: 0.8054 MB / 2.223 GB, free: 41.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001252/8.78, allocations: 28.64 kB / 2.223 GB, free: 41.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004698/8.781, allocations: 0.7717 MB / 2.224 GB, free: 40.55 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002384/8.781, allocations: 197.2 kB / 2.224 GB, free: 40.43 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/8.781, allocations: 0 / 2.224 GB, free: 40.43 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/8.781, allocations: 357.8 kB / 2.224 GB, free: 40.11 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001258/8.782, allocations: 0.597 MB / 2.225 GB, free: 40.11 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001486/8.784, allocations: 0.9147 MB / 2.226 GB, free: 39.73 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/8.799, allocations: 2.125 MB / 2.228 GB, free: 39.72 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.777e-05/8.799, allocations: 2.938 kB / 2.228 GB, free: 39.72 MB / 458.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.0188/8.818, allocations: 3.26 MB / 2.231 GB, free: 39.63 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008247/8.819, allocations: 3.749 MB / 2.235 GB, free: 35.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.145e-05/8.819, allocations: 14.69 kB / 2.235 GB, free: 35.72 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005564/8.825, allocations: 1 MB / 2.236 GB, free: 35.71 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002126/8.827, allocations: 246.5 kB / 2.236 GB, free: 35.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004803/8.832, allocations: 1.857 MB / 2.238 GB, free: 35.17 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002496/8.834, allocations: 86.33 kB / 2.238 GB, free: 35.15 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003009/8.835, allocations: 68 kB / 2.238 GB, free: 35.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/8.835, allocations: 10.28 kB / 2.238 GB, free: 35.15 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01871/8.853, allocations: 2.881 MB / 2.241 GB, free: 35.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.775e-05/8.853, allocations: 9.375 kB / 2.241 GB, free: 35.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009967/8.855, allocations: 144.6 kB / 2.241 GB, free: 35.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002509/8.857, allocations: 272 kB / 2.241 GB, free: 35.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004042/8.861, allocations: 2.07 MB / 2.243 GB, free: 33.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001966/8.863, allocations: 76.75 kB / 2.243 GB, free: 33.88 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002357/8.863, allocations: 69.97 kB / 2.243 GB, free: 33.88 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.000512/8.864, allocations: 133.1 kB / 2.243 GB, free: 33.77 MB / 458.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004196/8.868, allocations: 1.472 MB / 2.245 GB, free: 33.67 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004749/8.869, allocations: 104 kB / 2.245 GB, free: 33.61 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005388/8.874, allocations: 1.741 MB / 2.247 GB, free: 33.51 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/8.874, allocations: 7.594 kB / 2.247 GB, free: 33.51 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/8.874, allocations: 3.938 kB / 2.247 GB, free: 33.51 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.036e-05/8.874, allocations: 3.938 kB / 2.247 GB, free: 33.51 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00692/8.881, allocations: 2.601 MB / 2.249 GB, free: 33.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.896e-06/8.881, allocations: 3.812 kB / 2.249 GB, free: 33.21 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/8.882, allocations: 87.97 kB / 2.249 GB, free: 33.21 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005585/8.888, allocations: 0.9834 MB / 2.25 GB, free: 33.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00026/8.888, allocations: 12.62 kB / 2.25 GB, free: 33.21 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003856/8.892, allocations: 1.796 MB / 2.252 GB, free: 32.67 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.133e-06/8.892, allocations: 2.312 kB / 2.252 GB, free: 32.67 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00425/8.896, allocations: 1.561 MB / 2.253 GB, free: 32.44 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001057/8.897, allocations: 310.9 kB / 2.254 GB, free: 32.29 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003495/8.898, allocations: 10.67 kB / 2.254 GB, free: 32.29 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001483/8.899, allocations: 54.25 kB / 2.254 GB, free: 32.29 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002111/8.9, allocations: 37.62 kB / 2.254 GB, free: 32.29 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/8.9, allocations: 41.7 kB / 2.254 GB, free: 32.28 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002169/8.902, allocations: 0.591 MB / 2.254 GB, free: 32.17 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.362e-06/8.902, allocations: 0 / 2.254 GB, free: 32.17 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.007849/8.91, allocations: 1.812 MB / 2.256 GB, free: 31.73 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * 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 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01486/8.925, allocations: 4.822 MB / 2.261 GB, free: 30.38 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007129/8.932, allocations: 2.335 MB / 2.263 GB, free: 29.47 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/8.932, allocations: 0 / 2.263 GB, free: 29.47 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00186/8.934, allocations: 0.5642 MB / 2.264 GB, free: 29.28 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003874/8.938, allocations: 416.4 kB / 2.264 GB, free: 29.19 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009649/8.947, allocations: 2.742 MB / 2.267 GB, free: 27.99 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001204/8.949, allocations: 1.329 MB / 2.268 GB, free: 27.2 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/8.95, allocations: 0.5113 MB / 2.269 GB, free: 26.74 MB / 458.7 MB Notification: Performance of SimCode: time 1.313e-06/8.95, allocations: 0 / 2.269 GB, free: 26.74 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.933/12.88, allocations: 50.37 MB / 2.318 GB, free: 0.7266 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat does not exist to compare? outputFormat=mat