Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.513/2.513, allocations: 235 MB / 247.1 MB, free: 14.4 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.644e-05/4.655e-05, allocations: 4.938 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4293/0.4294, allocations: 54.85 MB / 359.9 MB, free: 3.184 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1625/0.5919, allocations: 83.23 MB / 443.1 MB, free: 13.7 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002808/0.5923, allocations: 67.97 kB / 443.2 MB, free: 13.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03037/0.6226, allocations: 6.546 MB / 449.7 MB, free: 7.105 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.6227, allocations: 4 kB / 449.7 MB, free: 7.102 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.6227, allocations: 4 kB / 449.7 MB, free: 7.098 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001275/0.624, allocations: 0.5303 MB / 450.2 MB, free: 6.523 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.6241, allocations: 12.03 kB / 450.3 MB, free: 6.512 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.924e-05/0.6242, allocations: 66.41 kB / 450.3 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.807e-05/0.6243, allocations: 35.58 kB / 450.4 MB, free: 6.402 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006154/0.6249, allocations: 271.1 kB / 450.6 MB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.301e-05/0.625, allocations: 20.56 kB / 450.6 MB, free: 6.078 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.604e-05/0.6251, allocations: 27.98 kB / 450.7 MB, free: 6.051 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006686/0.6257, allocations: 232.9 kB / 450.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.6258, allocations: 0 / 450.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.125e-05/0.6258, allocations: 8 kB / 450.9 MB, free: 5.809 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.516e-05/0.6258, allocations: 11.95 kB / 450.9 MB, free: 5.797 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006213/0.6265, allocations: 195.3 kB / 451.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002308/0.6288, allocations: 0.8728 MB / 452 MB, free: 4.672 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001202/0.63, allocations: 335.8 kB / 452.3 MB, free: 4.332 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/0.6304, allocations: 128.9 kB / 452.4 MB, free: 4.203 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.659e-05/0.6305, allocations: 7.984 kB / 452.4 MB, free: 4.195 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.6306, allocations: 34.56 kB / 452.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of pre-optimization done (n=31): time 3.897e-06/0.6306, allocations: 0 / 452.5 MB, free: 4.152 MB / 378.7 MB Notification: Performance of matching and sorting (n=31): time 0.003067/0.6336, allocations: 0.4929 MB / 453 MB, free: 3.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.6338, allocations: 59.39 kB / 453 MB, free: 3.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000317/0.6341, allocations: 189 kB / 453.2 MB, free: 3.379 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.6341, allocations: 29.7 kB / 453.2 MB, free: 3.344 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.6343, allocations: 165.2 kB / 453.4 MB, free: 3.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.6344, allocations: 102.5 kB / 453.5 MB, free: 3.078 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.399e-05/0.6345, allocations: 4 kB / 453.5 MB, free: 3.074 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/0.6347, allocations: 342.8 kB / 453.8 MB, free: 2.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002685/0.635, allocations: 79.94 kB / 453.9 MB, free: 2.652 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002985/0.6353, allocations: 106 kB / 454 MB, free: 2.539 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/0.6356, allocations: 89.31 kB / 454.1 MB, free: 2.453 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.881e-06/0.6356, allocations: 4 kB / 454.1 MB, free: 2.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.00292/0.6385, allocations: 0.5063 MB / 454.6 MB, free: 1.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.6386, allocations: 4 kB / 454.6 MB, free: 1.922 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-05/0.6386, allocations: 7.938 kB / 454.6 MB, free: 1.914 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002843/0.6415, allocations: 319.1 kB / 454.9 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002959/0.6418, allocations: 23.98 kB / 455 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0107/0.6525, allocations: 6.368 MB / 461.3 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00042/0.653, allocations: 27.81 kB / 461.4 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.653, allocations: 8 kB / 461.4 MB, free: 10.62 MB / 394.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 (15): * Single equations (assignments): 11 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0001402/0.6532, allocations: 122.8 kB / 461.5 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.595e-05/0.6533, allocations: 23.72 kB / 461.5 MB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002877/0.6562, allocations: 0.523 MB / 462 MB, free: 9.934 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.6562, allocations: 4 kB / 462 MB, free: 9.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.013e-06/0.6562, allocations: 3.953 kB / 462 MB, free: 9.926 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/0.6563, allocations: 3.984 kB / 462 MB, free: 9.922 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007041/0.657, allocations: 353.2 kB / 462.4 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.989e-06/0.657, allocations: 0 / 462.4 MB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002338/0.6572, allocations: 27.92 kB / 462.4 MB, free: 9.5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002704/0.66, allocations: 307.2 kB / 462.7 MB, free: 9.188 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.634e-05/0.6601, allocations: 4 kB / 462.7 MB, free: 9.184 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01086/0.671, allocations: 6.304 MB / 469 MB, free: 2.348 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.117e-06/0.671, allocations: 7.969 kB / 469 MB, free: 2.34 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002957/0.674, allocations: 0.5888 MB / 469.6 MB, free: 1.723 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001494/0.6742, allocations: 116.6 kB / 469.7 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.138e-05/0.6743, allocations: 4 kB / 469.7 MB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003419/0.6746, allocations: 15.98 kB / 469.8 MB, free: 1.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002082/0.6749, allocations: 35.83 kB / 469.8 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.087e-05/0.6749, allocations: 8 kB / 469.8 MB, free: 1.527 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002562/0.6752, allocations: 161.4 kB / 470 MB, free: 1.371 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.6752, allocations: 0 / 470 MB, free: 1.371 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007462/0.6759, allocations: 123.8 kB / 470.1 MB, free: 1.25 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003434/0.6794, allocations: 1.141 MB / 471.2 MB, free: 72 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001573/0.681, allocations: 0.7107 MB / 471.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.047e-06/0.6811, allocations: 0 / 471.9 MB, free: 15.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001536/0.6826, allocations: 0.6466 MB / 472.6 MB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.6831, allocations: 28.3 kB / 472.6 MB, free: 14.57 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001437/0.6845, allocations: 406.5 kB / 473 MB, free: 14.14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005091/0.685, allocations: 0.7717 MB / 473.8 MB, free: 13.34 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001202/0.6852, allocations: 18.08 kB / 473.8 MB, free: 13.32 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001686/0.6854, allocations: 79.41 kB / 473.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of SimCode: time 1.443e-06/0.6854, allocations: 0 / 473.9 MB, free: 13.25 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0462/0.7316, allocations: 10.3 MB / 484.2 MB, free: 3.023 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003556/0.732, allocations: 172.5 kB / 484.3 MB, free: 2.801 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.127/3.859, allocations: 4 kB / 484.3 MB, free: 2.797 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat