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.046/2.046, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.222e-05/4.246e-05, allocations: 4 kB / 273.1 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1177, allocations: 48.7 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.084/2.202, allocations: 0.6212 GB / 0.9355 GB, free: 40.36 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003451/2.202, allocations: 82.27 kB / 0.9356 GB, free: 40.32 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.953/4.155, allocations: 352.9 MB / 1.28 GB, free: 12.59 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.314e-06/4.155, allocations: 0 / 1.28 GB, free: 12.59 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001035/4.156, allocations: 27.98 kB / 1.28 GB, free: 12.56 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.005963/4.162, allocations: 1.562 MB / 1.282 GB, free: 10.95 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.274e-05/4.162, allocations: 8.031 kB / 1.282 GB, free: 10.94 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003729/4.162, allocations: 118.4 kB / 1.282 GB, free: 10.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/4.164, allocations: 194.6 kB / 1.282 GB, free: 10.62 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003007/4.167, allocations: 0.8356 MB / 1.283 GB, free: 9.746 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.181e-05/4.167, allocations: 53.28 kB / 1.283 GB, free: 9.695 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002311/4.167, allocations: 59.98 kB / 1.283 GB, free: 9.637 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002931/4.17, allocations: 1.128 MB / 1.284 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/4.17, allocations: 0 / 1.284 GB, free: 8.453 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001901/4.17, allocations: 35.94 kB / 1.284 GB, free: 8.418 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/4.171, allocations: 77.27 kB / 1.284 GB, free: 8.34 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002939/4.174, allocations: 1.11 MB / 1.285 GB, free: 7.227 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.01153/4.185, allocations: 4.304 MB / 1.289 GB, free: 2.703 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002118/4.187, allocations: 0.7398 MB / 1.29 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008367/4.188, allocations: 346.4 kB / 1.291 GB, free: 1.613 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004619/4.189, allocations: 330.5 kB / 1.291 GB, free: 1.234 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.248e-05/4.189, allocations: 39.12 kB / 1.291 GB, free: 1.188 MB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001249/4.19, allocations: 123.1 kB / 1.291 GB, free: 1.066 MB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 4.238e-06/4.19, allocations: 3.938 kB / 1.291 GB, free: 1.062 MB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.00469/4.195, allocations: 1.056 MB / 1.292 GB, free: 0 / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001644/4.195, allocations: 222.2 kB / 1.292 GB, free: 15.73 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001821/4.197, allocations: 0.7153 MB / 1.293 GB, free: 15.01 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002789/4.197, allocations: 37.7 kB / 1.293 GB, free: 14.97 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005118/4.198, allocations: 473.8 kB / 1.293 GB, free: 14.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004403/4.198, allocations: 212.9 kB / 1.294 GB, free: 14.29 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/4.198, allocations: 16 kB / 1.294 GB, free: 14.27 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002119/4.198, allocations: 346.8 kB / 1.294 GB, free: 13.93 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001203/4.2, allocations: 361.8 kB / 1.294 GB, free: 13.57 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001465/4.201, allocations: 0.5983 MB / 1.295 GB, free: 12.87 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/4.203, allocations: 457.9 kB / 1.295 GB, free: 12.43 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/4.203, allocations: 0 / 1.295 GB, free: 12.43 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.004165/4.207, allocations: 1.211 MB / 1.297 GB, free: 11.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001426/4.208, allocations: 2.447 MB / 1.299 GB, free: 8.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.557e-05/4.208, allocations: 4 kB / 1.299 GB, free: 8.566 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009117/4.218, allocations: 0.8191 MB / 1.3 GB, free: 7.746 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/4.219, allocations: 175.8 kB / 1.3 GB, free: 7.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002848/4.222, allocations: 1.185 MB / 1.301 GB, free: 6.363 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/4.224, allocations: 59.89 kB / 1.301 GB, free: 6.305 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002959/4.224, allocations: 71.98 kB / 1.301 GB, free: 6.234 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.913e-05/4.224, allocations: 11.94 kB / 1.301 GB, free: 6.223 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004099/4.228, allocations: 1.065 MB / 1.302 GB, free: 5.152 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/4.229, allocations: 12.06 kB / 1.302 GB, free: 5.141 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001125/4.23, allocations: 145 kB / 1.302 GB, free: 4.996 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/4.231, allocations: 211.7 kB / 1.303 GB, free: 4.789 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/4.236, allocations: 2.105 MB / 1.305 GB, free: 2.551 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/4.237, allocations: 60 kB / 1.305 GB, free: 2.492 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/4.238, allocations: 71.98 kB / 1.305 GB, free: 2.422 MB / 442.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.0004314/4.238, allocations: 152.7 kB / 1.305 GB, free: 2.266 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003802/4.239, allocations: 90.88 kB / 1.305 GB, free: 2.176 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004816/4.243, allocations: 1.281 MB / 1.306 GB, free: 0.875 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/4.243, allocations: 8 kB / 1.306 GB, free: 0.8672 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/4.243, allocations: 3.953 kB / 1.306 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/4.244, allocations: 3.984 kB / 1.306 GB, free: 0.8594 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3898/4.633, allocations: 1.898 MB / 1.308 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-05/4.633, allocations: 2.281 kB / 1.308 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006848/4.634, allocations: 81.3 kB / 1.308 GB, free: 56.77 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005682/4.64, allocations: 0.674 MB / 1.309 GB, free: 56.76 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/4.64, allocations: 26.58 kB / 1.309 GB, free: 56.76 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002239/4.642, allocations: 1.173 MB / 1.31 GB, free: 56.23 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.089e-06/4.642, allocations: 1.969 kB / 1.31 GB, free: 56.23 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002758/4.645, allocations: 1.139 MB / 1.311 GB, free: 55.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003988/4.645, allocations: 176.3 kB / 1.311 GB, free: 55.85 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/4.646, allocations: 14.23 kB / 1.311 GB, free: 55.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/4.647, allocations: 49.23 kB / 1.311 GB, free: 55.85 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001963/4.647, allocations: 48.62 kB / 1.311 GB, free: 55.84 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/4.647, allocations: 48.59 kB / 1.311 GB, free: 55.84 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001228/4.648, allocations: 0.5526 MB / 1.312 GB, free: 55.75 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.463e-06/4.648, allocations: 1.375 kB / 1.312 GB, free: 55.75 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005285/4.654, allocations: 1.224 MB / 1.313 GB, free: 55.73 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.008351/4.662, allocations: 3.807 MB / 1.317 GB, free: 54.39 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004569/4.667, allocations: 1.496 MB / 1.318 GB, free: 54.27 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.254e-06/4.667, allocations: 0 / 1.318 GB, free: 54.27 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00115/4.668, allocations: 400.5 kB / 1.319 GB, free: 54.27 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003964/4.672, allocations: 499.5 kB / 1.319 GB, free: 54.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/4.688, allocations: 3.499 MB / 1.323 GB, free: 53.84 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008562/4.689, allocations: 1.07 MB / 1.324 GB, free: 53.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001286/4.69, allocations: 369.4 kB / 1.324 GB, free: 53.12 MB / 442.7 MB Notification: Performance of SimCode: time 1.503e-06/4.69, allocations: 2.906 kB / 1.324 GB, free: 53.12 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.632/8.322, allocations: 34.31 MB / 1.358 GB, free: 51.5 MB / 442.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