Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Fluid_TestComponents_Fittings_TestMultiPort",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.008/2.008, allocations: 209.4 MB / 216.9 MB, free: 6.664 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.213e-05/2.218e-05, allocations: 4 kB / 267.6 MB, free: 5.32 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1052/0.1052, allocations: 48.7 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 11.28/11.39, allocations: 3.652 GB / 3.961 GB, free: 99.88 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000291/11.39, allocations: 79.02 kB / 3.961 GB, free: 99.85 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.609/13.99, allocations: 465 MB / 4.415 GB, free: 48.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.843e-06/13.99, allocations: 0 / 4.415 GB, free: 48.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.42e-05/13.99, allocations: 32.97 kB / 4.416 GB, free: 48.39 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 196 * Number of variables: 196 Notification: Performance of Generate backend data structure: time 0.008419/14, allocations: 1.945 MB / 4.417 GB, free: 47.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/14, allocations: 12.03 kB / 4.417 GB, free: 47.62 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008585/14, allocations: 118.3 kB / 4.418 GB, free: 47.57 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002507/14.01, allocations: 0.7836 MB / 4.418 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.106e-05/14.01, allocations: 24.69 kB / 4.418 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001877/14.01, allocations: 40.53 kB / 4.418 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002916/14.01, allocations: 1.212 MB / 4.42 GB, free: 47.32 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002483/14.01, allocations: 1.095 MB / 4.421 GB, free: 47.22 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.923e-05/14.01, allocations: 1.188 kB / 4.421 GB, free: 47.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001486/14.01, allocations: 0 / 4.421 GB, free: 47.22 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001457/14.01, allocations: 77.75 kB / 4.421 GB, free: 47.22 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01145/14.02, allocations: 4.33 MB / 4.425 GB, free: 45.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001655/14.03, allocations: 0.5679 MB / 4.425 GB, free: 45.53 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005549/14.03, allocations: 263.1 kB / 4.426 GB, free: 45.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008563/14.03, allocations: 0.7513 MB / 4.426 GB, free: 44.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/14.03, allocations: 40.69 kB / 4.427 GB, free: 44.73 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 4.438e-06/14.03, allocations: 3.812 kB / 4.427 GB, free: 44.73 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.003167/14.03, allocations: 0.7214 MB / 4.427 GB, free: 44.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.162e-05/14.03, allocations: 110.2 kB / 4.427 GB, free: 44.54 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/14.03, allocations: 0.5698 MB / 4.428 GB, free: 44.41 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001362/14.03, allocations: 30.77 kB / 4.428 GB, free: 44.38 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003351/14.03, allocations: 0.512 MB / 4.428 GB, free: 44.09 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002342/14.03, allocations: 180.2 kB / 4.429 GB, free: 44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.216e-05/14.03, allocations: 0 / 4.429 GB, free: 44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001044/14.03, allocations: 343.6 kB / 4.429 GB, free: 43.69 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007939/14.03, allocations: 306.7 kB / 4.429 GB, free: 43.69 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008679/14.03, allocations: 0.552 MB / 4.43 GB, free: 43.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01189/14.05, allocations: 1.447 MB / 4.431 GB, free: 43.4 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.35e-05/14.05, allocations: 0 / 4.431 GB, free: 43.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=110) (initialization): time 0.01365/14.06, allocations: 1.979 MB / 4.433 GB, free: 43.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007523/14.06, allocations: 2.876 MB / 4.436 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/14.06, allocations: 9.078 kB / 4.436 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.096e-05/14.06, allocations: 11.53 kB / 4.436 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/14.06, allocations: 235.4 kB / 4.436 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/14.06, allocations: 18.8 kB / 4.436 GB, free: 40.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00161/14.06, allocations: 113.1 kB / 4.436 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001827/14.06, allocations: 63.14 kB / 4.436 GB, free: 40.32 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/14.06, allocations: 9.109 kB / 4.436 GB, free: 40.32 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01298/14.08, allocations: 1.825 MB / 4.438 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/14.08, allocations: 11.75 kB / 4.438 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/14.08, allocations: 11.84 kB / 4.438 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/14.08, allocations: 230 kB / 4.438 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.005e-05/14.08, allocations: 20.55 kB / 4.438 GB, free: 40.3 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/14.08, allocations: 78.41 kB / 4.438 GB, free: 40.29 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001609/14.08, allocations: 65.7 kB / 4.439 GB, free: 40.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (110): * Single equations (assignments): 110 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003366/14.08, allocations: 128.1 kB / 4.439 GB, free: 40.18 MB / 442.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003172/14.08, allocations: 0.7098 MB / 4.439 GB, free: 40.09 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001854/14.08, allocations: 78.19 kB / 4.439 GB, free: 40.05 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003689/14.09, allocations: 0.9798 MB / 4.44 GB, free: 39.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.267e-06/14.09, allocations: 5.094 kB / 4.44 GB, free: 39.94 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/14.09, allocations: 0 / 4.44 GB, free: 39.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.879e-06/14.09, allocations: 7.828 kB / 4.44 GB, free: 39.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00414/14.09, allocations: 1.507 MB / 4.442 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/14.09, allocations: 3.875 kB / 4.442 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000945/14.09, allocations: 114.8 kB / 4.442 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-05/14.09, allocations: 6.344 kB / 4.442 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.724e-05/14.09, allocations: 14.11 kB / 4.442 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.114e-06/14.09, allocations: 3.875 kB / 4.442 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.041e-06/14.09, allocations: 6.344 kB / 4.442 GB, free: 39.58 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002595/14.1, allocations: 0.9028 MB / 4.443 GB, free: 39.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003628/14.1, allocations: 190.2 kB / 4.443 GB, free: 39.06 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002121/14.1, allocations: 7.453 kB / 4.443 GB, free: 39.05 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009382/14.1, allocations: 33.62 kB / 4.443 GB, free: 39.05 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001468/14.1, allocations: 48.11 kB / 4.443 GB, free: 39.05 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.311e-05/14.1, allocations: 32.7 kB / 4.443 GB, free: 39.05 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0008124/14.1, allocations: 459.2 kB / 4.444 GB, free: 38.96 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.21e-07/14.1, allocations: 0 / 4.444 GB, free: 38.96 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00525/14.1, allocations: 1.282 MB / 4.445 GB, free: 38.75 MB / 442.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 (55): * Single equations (assignments): 55 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009828/14.11, allocations: 4.024 MB / 4.449 GB, free: 36.97 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002915/14.12, allocations: 1.134 MB / 4.45 GB, free: 36.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/14.12, allocations: 0 / 4.45 GB, free: 36.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006452/14.12, allocations: 273.6 kB / 4.45 GB, free: 36.96 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002746/14.12, allocations: 321 kB / 4.45 GB, free: 36.95 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006958/14.13, allocations: 1.951 MB / 4.452 GB, free: 36.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006885/14.13, allocations: 1.06 MB / 4.453 GB, free: 35.57 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001372/14.13, allocations: 380.8 kB / 4.454 GB, free: 35.56 MB / 442.7 MB Notification: Performance of SimCode: time 1.362e-06/14.13, allocations: 2.188 kB / 4.454 GB, free: 35.56 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.624/17.75, allocations: 33.23 MB / 4.486 GB, free: 33.12 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPort_res.mat does not exist to compare? outputFormat=mat