Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionIdeal",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.101/2.101, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.328e-05/2.343e-05, allocations: 6.25 kB / 267.6 MB, free: 5.316 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 48.69 MB / 316.3 MB, free: 4.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.974/2.081, allocations: 0.6208 GB / 0.9297 GB, free: 38.13 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/2.082, allocations: 81.14 kB / 0.9298 GB, free: 38.09 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.922/4.004, allocations: 349.3 MB / 1.271 GB, free: 22.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.924e-06/4.004, allocations: 0 / 1.271 GB, free: 22.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.732e-05/4.004, allocations: 27.98 kB / 1.271 GB, free: 22.63 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.005586/4.01, allocations: 1.558 MB / 1.272 GB, free: 21.02 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.032e-05/4.01, allocations: 12.03 kB / 1.273 GB, free: 21.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001799/4.012, allocations: 198.5 kB / 1.273 GB, free: 20.82 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0028/4.014, allocations: 0.8317 MB / 1.274 GB, free: 19.94 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.458e-05/4.014, allocations: 27.98 kB / 1.274 GB, free: 19.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001769/4.015, allocations: 36 kB / 1.274 GB, free: 19.88 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002373/4.017, allocations: 0.9716 MB / 1.275 GB, free: 18.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002397/4.019, allocations: 1.032 MB / 1.276 GB, free: 17.81 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.836e-05/4.02, allocations: 4 kB / 1.276 GB, free: 17.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001484/4.02, allocations: 4 kB / 1.276 GB, free: 17.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/4.02, allocations: 81.22 kB / 1.276 GB, free: 17.73 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.01033/4.03, allocations: 4.305 MB / 1.28 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001878/4.032, allocations: 0.6327 MB / 1.28 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005841/4.033, allocations: 294.1 kB / 1.281 GB, free: 12.28 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000401/4.033, allocations: 314.2 kB / 1.281 GB, free: 11.92 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/4.033, allocations: 47 kB / 1.281 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001129/4.034, allocations: 95.31 kB / 1.281 GB, free: 11.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=49): time 3.467e-06/4.034, allocations: 0 / 1.281 GB, free: 11.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=49): time 0.003379/4.038, allocations: 0.9402 MB / 1.282 GB, free: 10.82 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/4.038, allocations: 214.1 kB / 1.282 GB, free: 10.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/4.039, allocations: 0.6604 MB / 1.283 GB, free: 9.895 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 8.578e-05/4.039, allocations: 25.7 kB / 1.283 GB, free: 9.863 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003043/4.039, allocations: 0.5086 MB / 1.283 GB, free: 9.348 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001845/4.04, allocations: 177.5 kB / 1.284 GB, free: 9.172 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.722e-05/4.04, allocations: 0 / 1.284 GB, free: 9.172 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.689e-05/4.04, allocations: 346.8 kB / 1.284 GB, free: 8.824 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007798/4.041, allocations: 358.5 kB / 1.284 GB, free: 8.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009184/4.042, allocations: 0.5909 MB / 1.285 GB, free: 7.781 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01537/4.057, allocations: 1.878 MB / 1.287 GB, free: 5.902 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.61e-05/4.057, allocations: 0 / 1.287 GB, free: 5.902 MB / 426.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.01763/4.075, allocations: 2.588 MB / 1.289 GB, free: 3.301 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005147/4.075, allocations: 2.445 MB / 1.292 GB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/4.075, allocations: 11.98 kB / 1.292 GB, free: 0.6562 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005869/4.081, allocations: 0.6134 MB / 1.292 GB, free: 40 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3384/4.42, allocations: 173 kB / 1.292 GB, free: 48.45 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003768/4.423, allocations: 1.334 MB / 1.294 GB, free: 47.94 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/4.425, allocations: 47.17 kB / 1.294 GB, free: 47.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/4.425, allocations: 73.31 kB / 1.294 GB, free: 47.94 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/4.425, allocations: 3.281 kB / 1.294 GB, free: 47.94 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01907/4.445, allocations: 2.36 MB / 1.296 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.193e-05/4.445, allocations: 6.75 kB / 1.296 GB, free: 47.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001051/4.446, allocations: 142.6 kB / 1.296 GB, free: 47.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001703/4.447, allocations: 204.1 kB / 1.296 GB, free: 47.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003804/4.451, allocations: 2.036 MB / 1.298 GB, free: 46.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/4.453, allocations: 41.97 kB / 1.298 GB, free: 46.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001894/4.453, allocations: 75.75 kB / 1.299 GB, free: 46.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0003759/4.453, allocations: 132.6 kB / 1.299 GB, free: 46.64 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00358/4.457, allocations: 0.8992 MB / 1.3 GB, free: 46.6 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002488/4.457, allocations: 96.55 kB / 1.3 GB, free: 46.56 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004185/4.461, allocations: 1.057 MB / 1.301 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/4.461, allocations: 6.156 kB / 1.301 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/4.461, allocations: 0 / 1.301 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.238e-05/4.461, allocations: 2.766 kB / 1.301 GB, free: 46.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/4.467, allocations: 1.695 MB / 1.302 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.185e-06/4.467, allocations: 0 / 1.302 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005697/4.467, allocations: 49.38 kB / 1.302 GB, free: 46.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003445/4.471, allocations: 475.8 kB / 1.303 GB, free: 46.17 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001553/4.471, allocations: 11.97 kB / 1.303 GB, free: 46.17 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003042/4.474, allocations: 1.283 MB / 1.304 GB, free: 45.62 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/4.474, allocations: 3.781 kB / 1.304 GB, free: 45.62 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/4.478, allocations: 1.02 MB / 1.305 GB, free: 45.38 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005061/4.478, allocations: 176.6 kB / 1.305 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002884/4.478, allocations: 2.438 kB / 1.305 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/4.479, allocations: 35.64 kB / 1.305 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/4.48, allocations: 36.45 kB / 1.305 GB, free: 45.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.151e-05/4.48, allocations: 29.28 kB / 1.305 GB, free: 45.24 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001041/4.481, allocations: 0.4969 MB / 1.306 GB, free: 45.15 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/4.481, allocations: 1.484 kB / 1.306 GB, free: 45.15 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005683/4.487, allocations: 1.17 MB / 1.307 GB, free: 45.13 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01028/4.497, allocations: 3.599 MB / 1.311 GB, free: 44.13 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003886/4.501, allocations: 1.411 MB / 1.312 GB, free: 44.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/4.501, allocations: 2.906 kB / 1.312 GB, free: 44.02 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009275/4.502, allocations: 326.8 kB / 1.312 GB, free: 44.02 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/4.506, allocations: 429.1 kB / 1.313 GB, free: 44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/4.52, allocations: 3.363 MB / 1.316 GB, free: 43.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/4.521, allocations: 1.067 MB / 1.317 GB, free: 42.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/4.522, allocations: 353.1 kB / 1.317 GB, free: 42.9 MB / 426.7 MB Notification: Performance of SimCode: time 1.302e-06/4.522, allocations: 0 / 1.317 GB, free: 42.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.639/8.161, allocations: 33.94 MB / 1.35 GB, free: 41.12 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat does not exist to compare? outputFormat=mat