Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.138/3.138, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.523e-05/3.525e-05, allocations: 4 kB / 299.6 MB, free: 188 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4402, allocations: 54.85 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1959/0.6361, allocations: 82.1 MB / 436.5 MB, free: 12.96 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003053/0.6365, allocations: 67.95 kB / 436.6 MB, free: 12.9 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02273/0.6592, allocations: 4.169 MB / 440.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.6593, allocations: 0 / 440.8 MB, free: 8.727 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.6593, allocations: 4 kB / 440.8 MB, free: 8.723 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001289/0.6606, allocations: 0.5107 MB / 441.3 MB, free: 8.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.6607, allocations: 8.031 kB / 441.3 MB, free: 8.16 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/0.6608, allocations: 54.53 kB / 441.3 MB, free: 8.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.6609, allocations: 31.67 kB / 441.4 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002927/0.6612, allocations: 204.6 kB / 441.6 MB, free: 7.828 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.6614, allocations: 16.78 kB / 441.6 MB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.019e-05/0.6616, allocations: 16.44 kB / 441.6 MB, free: 7.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008867/0.6625, allocations: 185.5 kB / 441.8 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007749/0.6633, allocations: 226.1 kB / 442 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.639e-05/0.6633, allocations: 0 / 442 MB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.748e-05/0.6634, allocations: 7.891 kB / 442 MB, free: 7.379 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.189e-05/0.6634, allocations: 8 kB / 442 MB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004086/0.6675, allocations: 0.9501 MB / 443 MB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.6677, allocations: 34.52 kB / 443 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.364e-05/0.6678, allocations: 24.92 kB / 443 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.6679, allocations: 0 / 443 MB, free: 6.301 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.534e-05/0.6679, allocations: 30.56 kB / 443 MB, free: 6.262 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.214e-06/0.6679, allocations: 0 / 443 MB, free: 6.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002637/0.6682, allocations: 57.52 kB / 443.1 MB, free: 6.199 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/0.6683, allocations: 63.42 kB / 443.2 MB, free: 6.125 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004242/0.6687, allocations: 221.9 kB / 443.4 MB, free: 5.902 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.6687, allocations: 29.69 kB / 443.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.669, allocations: 238.7 kB / 443.6 MB, free: 5.629 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2e-05/0.669, allocations: 11.89 kB / 443.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.754e-05/0.669, allocations: 0 / 443.7 MB, free: 5.617 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002049/0.6693, allocations: 326.8 kB / 444 MB, free: 5.289 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001906/0.6695, allocations: 52 kB / 444 MB, free: 5.238 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/0.6697, allocations: 85.64 kB / 444.1 MB, free: 5.148 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.6699, allocations: 59.97 kB / 444.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/0.6699, allocations: 0 / 444.2 MB, free: 5.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005878/0.6705, allocations: 193.5 kB / 444.4 MB, free: 4.895 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.442e-05/0.6706, allocations: 11.94 kB / 444.4 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.6706, allocations: 4 kB / 444.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.6706, allocations: 0 / 444.4 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006896/0.6713, allocations: 67.81 kB / 444.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.865e-06/0.6714, allocations: 0 / 444.4 MB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004894/0.6719, allocations: 35.67 kB / 444.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-05/0.6719, allocations: 8 kB / 444.5 MB, free: 4.77 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (30): * Single equations (assignments): 30 * 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.0001201/0.6721, allocations: 108.9 kB / 444.6 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.447e-05/0.6721, allocations: 15.8 kB / 444.6 MB, free: 4.641 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.364e-05/0.6722, allocations: 13.19 kB / 444.6 MB, free: 4.633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.918e-06/0.6722, allocations: 4 kB / 444.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.6722, allocations: 0 / 444.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.6722, allocations: 0 / 444.6 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000998/0.6732, allocations: 479.9 kB / 445.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6733, allocations: 0 / 445.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.343e-05/0.6733, allocations: 4 kB / 445.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6734, allocations: 0 / 445.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.6734, allocations: 0 / 445.1 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.162e-06/0.6734, allocations: 4 kB / 445.1 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.011e-06/0.6734, allocations: 3.953 kB / 445.1 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000227/0.6737, allocations: 111.5 kB / 445.2 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.6738, allocations: 96.91 kB / 445.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.815e-05/0.6738, allocations: 0 / 445.3 MB, free: 3.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002076/0.6741, allocations: 3.953 kB / 445.3 MB, free: 3.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.6741, allocations: 4 kB / 445.3 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.063e-06/0.6741, allocations: 4.031 kB / 445.3 MB, free: 3.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000281/0.6744, allocations: 172.6 kB / 445.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.6744, allocations: 0 / 445.5 MB, free: 3.668 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006123/0.6751, allocations: 63.75 kB / 445.5 MB, free: 3.605 MB / 378.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 (2): * Single equations (assignments): 2 * 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.0007798/0.6759, allocations: 0.707 MB / 446.3 MB, free: 2.859 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004662/0.6763, allocations: 103.9 kB / 446.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.347e-06/0.6764, allocations: 0 / 446.4 MB, free: 2.758 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.802e-05/0.6764, allocations: 12 kB / 446.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003872/0.6768, allocations: 21.28 kB / 446.4 MB, free: 2.723 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001463/0.6783, allocations: 284.4 kB / 446.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005723/0.6789, allocations: 0.7475 MB / 447.4 MB, free: 1.633 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0002521/0.6792, allocations: 17.84 kB / 447.4 MB, free: 1.613 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002274/0.6795, allocations: 75.41 kB / 447.5 MB, free: 1.539 MB / 378.7 MB Notification: Performance of SimCode: time 1.173e-06/0.6795, allocations: 3.938 kB / 447.5 MB, free: 1.535 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09717/0.7767, allocations: 2.91 MB / 450.4 MB, free: 14.65 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000443/0.7772, allocations: 130.9 kB / 450.5 MB, free: 14.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.004/3.781, allocations: 4 kB / 450.5 MB, free: 14.45 MB / 394.7 MB