Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.515/2.515, allocations: 235 MB / 247.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.098e-05/4.109e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.4197, allocations: 54.85 MB / 359.9 MB, free: 3.168 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1601/0.5798, allocations: 82.77 MB / 442.6 MB, free: 14.15 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.5802, allocations: 75.27 kB / 442.7 MB, free: 14.08 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.018/0.5982, allocations: 4.158 MB / 446.9 MB, free: 9.957 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.5982, allocations: 0 / 446.9 MB, free: 9.957 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.806e-05/0.5983, allocations: 8 kB / 446.9 MB, free: 9.949 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.001109/0.5994, allocations: 0.5101 MB / 447.4 MB, free: 9.395 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.392e-05/0.5995, allocations: 12.03 kB / 447.4 MB, free: 9.383 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001094/0.5996, allocations: 66.53 kB / 447.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.728e-05/0.5997, allocations: 37.83 kB / 447.5 MB, free: 9.273 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002307/0.5999, allocations: 199.4 kB / 447.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001419/0.6001, allocations: 28.78 kB / 447.7 MB, free: 9.008 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.979e-05/0.6002, allocations: 28 kB / 447.7 MB, free: 8.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007056/0.6009, allocations: 263.8 kB / 448 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.6009, allocations: 0 / 448 MB, free: 8.719 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.9e-05/0.601, allocations: 16 kB / 448 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.898e-05/0.601, allocations: 11.95 kB / 448 MB, free: 8.691 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006211/0.6017, allocations: 203.1 kB / 448.2 MB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002921/0.6046, allocations: 1.036 MB / 449.3 MB, free: 7.398 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001135/0.6048, allocations: 34.58 kB / 449.3 MB, free: 7.355 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.544e-05/0.6049, allocations: 24.92 kB / 449.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.6049, allocations: 0 / 449.3 MB, free: 7.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.6049, allocations: 38.5 kB / 449.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 2.405e-06/0.6049, allocations: 0 / 449.4 MB, free: 7.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002525/0.6052, allocations: 65.47 kB / 449.4 MB, free: 7.211 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.6053, allocations: 55.44 kB / 449.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000509/0.6058, allocations: 287.3 kB / 449.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.6058, allocations: 25.7 kB / 449.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002063/0.606, allocations: 234.8 kB / 450 MB, free: 6.59 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.817e-05/0.6061, allocations: 11.84 kB / 450 MB, free: 6.578 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.877e-05/0.6061, allocations: 4 kB / 450 MB, free: 6.574 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.6063, allocations: 334.8 kB / 450.4 MB, free: 6.238 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001834/0.6065, allocations: 56 kB / 450.4 MB, free: 6.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002087/0.6067, allocations: 87.11 kB / 450.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.607, allocations: 72.41 kB / 450.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.607, allocations: 0 / 450.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005826/0.6076, allocations: 217.4 kB / 450.8 MB, free: 5.805 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.6076, allocations: 5.719 kB / 450.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.6076, allocations: 0 / 450.8 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.6077, allocations: 4.438 kB / 450.8 MB, free: 5.797 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005837/0.6082, allocations: 59.86 kB / 450.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.6083, allocations: 0 / 450.8 MB, free: 5.738 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004566/0.6087, allocations: 51.55 kB / 450.9 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.534e-05/0.6088, allocations: 4 kB / 450.9 MB, free: 5.684 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.0001104/0.6089, allocations: 112.9 kB / 451 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.318e-05/0.609, allocations: 15.81 kB / 451 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.644e-05/0.6091, allocations: 24.89 kB / 451.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.6091, allocations: 0 / 451.1 MB, free: 5.523 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/0.6091, allocations: 4.516 kB / 451.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.6091, allocations: 0 / 451.1 MB, free: 5.52 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00093/0.6101, allocations: 0.5149 MB / 451.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.6101, allocations: 0 / 451.6 MB, free: 4.941 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.415e-05/0.6101, allocations: 4 kB / 451.6 MB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.618e-06/0.6102, allocations: 3.953 kB / 451.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.6102, allocations: 1.031 kB / 451.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.6102, allocations: 0 / 451.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.6102, allocations: 0 / 451.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002288/0.6105, allocations: 119.5 kB / 451.7 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001217/0.6106, allocations: 104.8 kB / 451.8 MB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.106e-05/0.6106, allocations: 4 kB / 451.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002011/0.6109, allocations: 0 / 451.8 MB, free: 4.664 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.804e-05/0.6109, allocations: 4 kB / 451.8 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.248e-06/0.6109, allocations: 8.031 kB / 451.8 MB, free: 4.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003535/0.6113, allocations: 215.1 kB / 452 MB, free: 4.445 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.6113, allocations: 4 kB / 452 MB, free: 4.441 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000395/0.6117, allocations: 65.25 kB / 452.1 MB, free: 4.379 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.000574/0.6123, allocations: 0.7147 MB / 452.8 MB, free: 3.625 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003605/0.6127, allocations: 107.9 kB / 452.9 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6127, allocations: 0 / 452.9 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.259e-05/0.6127, allocations: 12 kB / 452.9 MB, free: 3.508 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002853/0.613, allocations: 20.88 kB / 452.9 MB, free: 3.48 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009634/0.614, allocations: 293.5 kB / 453.2 MB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003678/0.6144, allocations: 0.748 MB / 454 MB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001995/0.6146, allocations: 18.08 kB / 454 MB, free: 2.363 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001691/0.6148, allocations: 83.34 kB / 454.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of SimCode: time 1.172e-06/0.6148, allocations: 0 / 454.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03299/0.6478, allocations: 3.674 MB / 457.8 MB, free: 14.7 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000373/0.6483, allocations: 150.7 kB / 457.9 MB, free: 14.47 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.471/3.119, allocations: 0 / 457.9 MB, free: 14.47 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat