Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.726e-05/3.727e-05, allocations: 4 kB / 305 MB, free: 5.074 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4235/0.4236, allocations: 54.85 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1608/0.5844, allocations: 82.84 MB / 442.7 MB, free: 13.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/0.5847, allocations: 69.11 kB / 442.8 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04083/0.6256, allocations: 6.866 MB / 449.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.6256, allocations: 0 / 449.7 MB, free: 7.059 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.784e-05/0.6257, allocations: 8 kB / 449.7 MB, free: 7.051 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001494/0.6272, allocations: 0.5957 MB / 450.3 MB, free: 6.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.338e-05/0.6272, allocations: 16.03 kB / 450.3 MB, free: 6.395 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001171/0.6274, allocations: 66.53 kB / 450.3 MB, free: 6.32 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001032/0.6275, allocations: 47.42 kB / 450.4 MB, free: 6.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004947/0.628, allocations: 268.3 kB / 450.7 MB, free: 5.969 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.83e-05/0.628, allocations: 28.78 kB / 450.7 MB, free: 5.938 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.893e-05/0.6281, allocations: 32 kB / 450.7 MB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007968/0.6289, allocations: 318.3 kB / 451 MB, free: 5.574 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.925e-05/0.629, allocations: 9.078 kB / 451 MB, free: 5.566 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.629, allocations: 12 kB / 451 MB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.48e-05/0.6291, allocations: 8 kB / 451.1 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006364/0.6297, allocations: 212.7 kB / 451.3 MB, free: 5.34 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002814/0.6325, allocations: 1.295 MB / 452.6 MB, free: 3.957 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005767/0.6331, allocations: 158.6 kB / 452.7 MB, free: 3.766 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001502/0.6333, allocations: 63.62 kB / 452.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.561e-05/0.6334, allocations: 0 / 452.8 MB, free: 3.691 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.214e-05/0.6334, allocations: 42.5 kB / 452.8 MB, free: 3.641 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 1.873e-06/0.6334, allocations: 0 / 452.8 MB, free: 3.641 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.000524/0.634, allocations: 137.2 kB / 453 MB, free: 3.5 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.554e-05/0.634, allocations: 136.5 kB / 453.1 MB, free: 3.336 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004936/0.6345, allocations: 288 kB / 453.4 MB, free: 3.043 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.509e-05/0.6346, allocations: 29.7 kB / 453.4 MB, free: 3.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002157/0.6348, allocations: 231.4 kB / 453.6 MB, free: 2.777 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.706e-05/0.6349, allocations: 59.19 kB / 453.7 MB, free: 2.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.968e-05/0.6349, allocations: 4 kB / 453.7 MB, free: 2.715 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6351, allocations: 346.8 kB / 454 MB, free: 2.367 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.6353, allocations: 52.56 kB / 454.1 MB, free: 2.312 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.6356, allocations: 143.9 kB / 454.2 MB, free: 2.133 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002387/0.6358, allocations: 76.12 kB / 454.3 MB, free: 2.059 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.6358, allocations: 0 / 454.3 MB, free: 2.059 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006806/0.6365, allocations: 250.2 kB / 454.5 MB, free: 1.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.655e-05/0.6366, allocations: 9.719 kB / 454.5 MB, free: 1.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6366, allocations: 4 kB / 454.5 MB, free: 1.797 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.6366, allocations: 4 kB / 454.5 MB, free: 1.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.6373, allocations: 83.83 kB / 454.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.472e-05/0.6374, allocations: 7.938 kB / 454.6 MB, free: 1.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005199/0.6379, allocations: 59.69 kB / 454.7 MB, free: 1.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.076e-05/0.6379, allocations: 8 kB / 454.7 MB, free: 1.637 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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.0001277/0.6381, allocations: 128.8 kB / 454.8 MB, free: 1.504 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.6382, allocations: 31.62 kB / 454.9 MB, free: 1.473 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001117/0.6383, allocations: 34.41 kB / 454.9 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.6384, allocations: 0 / 454.9 MB, free: 1.434 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.729e-06/0.6384, allocations: 4 kB / 454.9 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.6384, allocations: 0 / 454.9 MB, free: 1.43 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001167/0.6396, allocations: 0.5838 MB / 455.5 MB, free: 0.7734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.6396, allocations: 4 kB / 455.5 MB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000391/0.64, allocations: 52.05 kB / 455.5 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/0.64, allocations: 4 kB / 455.5 MB, free: 0.7148 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.221e-05/0.64, allocations: 4 kB / 455.5 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.6401, allocations: 4 kB / 455.5 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.6401, allocations: 7.953 kB / 455.6 MB, free: 0.6992 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004954/0.6406, allocations: 413.7 kB / 456 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001177/0.6407, allocations: 112.7 kB / 456.1 MB, free: 100 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.452e-05/0.6408, allocations: 4 kB / 456.1 MB, free: 96 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004397/0.6412, allocations: 23.98 kB / 456.1 MB, free: 72 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.809e-05/0.6413, allocations: 11.94 kB / 456.1 MB, free: 60 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.984e-05/0.6414, allocations: 7.984 kB / 456.1 MB, free: 52 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003798/0.6418, allocations: 226.1 kB / 456.3 MB, free: 15.84 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6418, allocations: 4 kB / 456.3 MB, free: 15.83 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006096/0.6424, allocations: 75.78 kB / 456.4 MB, free: 15.76 MB / 394.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 (15): * Single equations (assignments): 15 * 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.001007/0.6434, allocations: 1.372 MB / 457.8 MB, free: 14.32 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000474/0.6439, allocations: 131.8 kB / 457.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.6439, allocations: 0 / 457.9 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001807/0.6441, allocations: 59.88 kB / 458 MB, free: 14.14 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004114/0.6445, allocations: 18.06 kB / 458 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001484/0.646, allocations: 416.3 kB / 458.4 MB, free: 13.66 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00046/0.6465, allocations: 0.7794 MB / 459.2 MB, free: 12.86 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002179/0.6467, allocations: 30.33 kB / 459.2 MB, free: 12.83 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002144/0.647, allocations: 95.41 kB / 459.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of SimCode: time 1.152e-06/0.647, allocations: 3.938 kB / 459.3 MB, free: 12.73 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02665/0.6736, allocations: 4.444 MB / 463.7 MB, free: 8.367 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003108/0.674, allocations: 138 kB / 463.9 MB, free: 8.141 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.187, allocations: 0 / 463.9 MB, free: 8.141 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat