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.002/2.002, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.183e-05/4.188e-05, allocations: 4 kB / 273.2 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 2.08/2.188, allocations: 0.6213 GB / 0.9356 GB, free: 39.55 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003801/2.189, allocations: 78.64 kB / 0.9356 GB, free: 39.51 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.003/4.191, allocations: 352.9 MB / 1.28 GB, free: 11.72 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.144e-06/4.191, allocations: 0 / 1.28 GB, free: 11.72 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001037/4.191, allocations: 24 kB / 1.28 GB, free: 11.7 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.005496/4.197, allocations: 1.558 MB / 1.282 GB, free: 10.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/4.197, allocations: 11.97 kB / 1.282 GB, free: 10.08 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002461/4.197, allocations: 110.5 kB / 1.282 GB, free: 9.961 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001644/4.199, allocations: 202.6 kB / 1.282 GB, free: 9.762 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002628/4.202, allocations: 0.8317 MB / 1.283 GB, free: 8.891 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.983e-05/4.202, allocations: 53.28 kB / 1.283 GB, free: 8.836 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001801/4.202, allocations: 63.97 kB / 1.283 GB, free: 8.773 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002468/4.204, allocations: 1.118 MB / 1.284 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.666e-05/4.204, allocations: 7.953 kB / 1.284 GB, free: 7.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/4.205, allocations: 27.98 kB / 1.284 GB, free: 7.566 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001553/4.205, allocations: 81.25 kB / 1.284 GB, free: 7.484 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002534/4.207, allocations: 1.104 MB / 1.285 GB, free: 6.383 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.0101/4.217, allocations: 4.304 MB / 1.29 GB, free: 1.855 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001974/4.219, allocations: 0.7303 MB / 1.29 GB, free: 1.113 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007556/4.22, allocations: 354.4 kB / 1.291 GB, free: 0.7656 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004131/4.221, allocations: 319.1 kB / 1.291 GB, free: 408 kB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/4.221, allocations: 43.12 kB / 1.291 GB, free: 356 kB / 426.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001143/4.222, allocations: 111.2 kB / 1.291 GB, free: 244 kB / 426.7 MB Notification: Performance of pre-optimization done (n=61): time 3.867e-06/4.222, allocations: 0 / 1.291 GB, free: 244 kB / 426.7 MB Notification: Performance of matching and sorting (n=61): time 0.004656/4.227, allocations: 1.068 MB / 1.292 GB, free: 15.16 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/4.227, allocations: 214.2 kB / 1.292 GB, free: 14.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/4.228, allocations: 0.7192 MB / 1.293 GB, free: 14.18 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002045/4.229, allocations: 37.7 kB / 1.293 GB, free: 14.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004433/4.229, allocations: 465.8 kB / 1.293 GB, free: 13.68 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003432/4.229, allocations: 220.9 kB / 1.294 GB, free: 13.46 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/4.229, allocations: 16 kB / 1.294 GB, free: 13.45 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001691/4.23, allocations: 342.8 kB / 1.294 GB, free: 13.1 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/4.231, allocations: 365.9 kB / 1.294 GB, free: 12.75 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001263/4.232, allocations: 0.5924 MB / 1.295 GB, free: 12.05 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00125/4.233, allocations: 457.8 kB / 1.295 GB, free: 11.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/4.233, allocations: 4 kB / 1.295 GB, free: 11.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.003475/4.237, allocations: 1.184 MB / 1.297 GB, free: 10.4 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001096/4.238, allocations: 2.443 MB / 1.299 GB, free: 7.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.052e-05/4.238, allocations: 7.953 kB / 1.299 GB, free: 7.762 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008721/4.247, allocations: 0.8248 MB / 1.3 GB, free: 6.934 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/4.248, allocations: 175.7 kB / 1.3 GB, free: 6.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002537/4.251, allocations: 1.184 MB / 1.301 GB, free: 5.555 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/4.252, allocations: 59.98 kB / 1.301 GB, free: 5.496 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002095/4.253, allocations: 75.98 kB / 1.301 GB, free: 5.422 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/4.253, allocations: 4 kB / 1.301 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00384/4.257, allocations: 1.054 MB / 1.302 GB, free: 4.359 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.042e-05/4.257, allocations: 8.469 kB / 1.302 GB, free: 4.352 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001092/4.258, allocations: 144.7 kB / 1.302 GB, free: 4.207 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001577/4.259, allocations: 211.7 kB / 1.303 GB, free: 4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00428/4.264, allocations: 2.105 MB / 1.305 GB, free: 1.766 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/4.265, allocations: 71.86 kB / 1.305 GB, free: 1.695 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/4.265, allocations: 75.97 kB / 1.305 GB, free: 1.621 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.0003967/4.266, allocations: 150.2 kB / 1.305 GB, free: 1.469 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003327/4.266, allocations: 90.88 kB / 1.305 GB, free: 1.379 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004386/4.27, allocations: 1.281 MB / 1.306 GB, free: 76 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/4.271, allocations: 11.95 kB / 1.306 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/4.271, allocations: 0 / 1.306 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.278e-06/4.271, allocations: 0 / 1.306 GB, free: 64 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3523/4.623, allocations: 1.884 MB / 1.308 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/4.623, allocations: 1.984 kB / 1.308 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007253/4.624, allocations: 82.47 kB / 1.308 GB, free: 56.34 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006078/4.63, allocations: 0.6722 MB / 1.309 GB, free: 56.33 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/4.63, allocations: 23.66 kB / 1.309 GB, free: 56.33 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002197/4.632, allocations: 1.178 MB / 1.31 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.071e-06/4.632, allocations: 1.375 kB / 1.31 GB, free: 55.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002922/4.635, allocations: 1.137 MB / 1.311 GB, free: 55.51 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/4.636, allocations: 179.2 kB / 1.311 GB, free: 55.41 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/4.636, allocations: 15.5 kB / 1.311 GB, free: 55.41 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001149/4.637, allocations: 52.42 kB / 1.311 GB, free: 55.41 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001859/4.637, allocations: 47.11 kB / 1.311 GB, free: 55.41 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001356/4.638, allocations: 44.41 kB / 1.311 GB, free: 55.41 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001239/4.639, allocations: 0.5568 MB / 1.312 GB, free: 55.31 MB / 442.7 MB Notification: Performance of sort global known variables: time 6.52e-07/4.639, allocations: 0 / 1.312 GB, free: 55.31 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005739/4.645, allocations: 1.223 MB / 1.313 GB, free: 55.3 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.009301/4.654, allocations: 3.829 MB / 1.317 GB, free: 53.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004661/4.659, allocations: 1.454 MB / 1.318 GB, free: 53.83 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.083e-05/4.659, allocations: 0.7031 kB / 1.318 GB, free: 53.83 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00128/4.66, allocations: 398.4 kB / 1.319 GB, free: 53.83 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004441/4.664, allocations: 484.6 kB / 1.319 GB, free: 53.82 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01609/4.681, allocations: 3.5 MB / 1.323 GB, free: 53.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009039/4.682, allocations: 1.069 MB / 1.324 GB, free: 52.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001247/4.683, allocations: 372.4 kB / 1.324 GB, free: 52.69 MB / 442.7 MB Notification: Performance of SimCode: time 1.443e-06/4.683, allocations: 2.812 kB / 1.324 GB, free: 52.69 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.665/8.348, allocations: 34.37 MB / 1.358 GB, free: 50.92 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