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.587/2.587, allocations: 235.1 MB / 242.2 MB, free: 15.68 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.984e-05/5.984e-05, allocations: 4 kB / 299.5 MB, free: 6.344 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 54.85 MB / 354.3 MB, free: 132 kB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.5629, allocations: 82.1 MB / 436.4 MB, free: 13.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.5632, allocations: 67.97 kB / 436.5 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01756/0.5808, allocations: 4.133 MB / 440.6 MB, free: 9.703 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.864e-06/0.5809, allocations: 4 kB / 440.7 MB, free: 9.699 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.5809, allocations: 4 kB / 440.7 MB, free: 9.695 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.001079/0.582, allocations: 0.5063 MB / 441.2 MB, free: 9.145 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.415e-05/0.5821, allocations: 12.03 kB / 441.2 MB, free: 9.133 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.634e-05/0.5822, allocations: 31.67 kB / 441.2 MB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.5824, allocations: 202.7 kB / 441.4 MB, free: 8.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001359/0.5825, allocations: 20.77 kB / 441.4 MB, free: 8.844 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.54e-05/0.5826, allocations: 20 kB / 441.4 MB, free: 8.824 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005631/0.5832, allocations: 182 kB / 441.6 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.5838, allocations: 222.1 kB / 441.8 MB, free: 8.422 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/0.5838, allocations: 4 kB / 441.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/0.5839, allocations: 0 / 441.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/0.5839, allocations: 15.89 kB / 441.9 MB, free: 8.402 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/0.5866, allocations: 0.9501 MB / 442.8 MB, free: 7.402 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.5867, allocations: 34.52 kB / 442.8 MB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.513e-05/0.5868, allocations: 20.92 kB / 442.9 MB, free: 7.336 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.73e-05/0.5869, allocations: 4 kB / 442.9 MB, free: 7.332 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.5869, allocations: 34.56 kB / 442.9 MB, free: 7.289 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 3.527e-06/0.5869, allocations: 4 kB / 442.9 MB, free: 7.285 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002416/0.5872, allocations: 53.52 kB / 443 MB, free: 7.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.5872, allocations: 51.41 kB / 443 MB, free: 7.164 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000351/0.5876, allocations: 222 kB / 443.2 MB, free: 6.941 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.5876, allocations: 25.7 kB / 443.2 MB, free: 6.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.5878, allocations: 246.8 kB / 443.5 MB, free: 6.664 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.5878, allocations: 11.91 kB / 443.5 MB, free: 6.652 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.595e-05/0.5879, allocations: 0 / 443.5 MB, free: 6.652 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.5881, allocations: 334.8 kB / 443.8 MB, free: 6.316 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.5882, allocations: 51.94 kB / 443.9 MB, free: 6.266 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.5885, allocations: 81.7 kB / 444 MB, free: 6.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.5887, allocations: 59.98 kB / 444 MB, free: 6.121 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.5887, allocations: 4 kB / 444 MB, free: 6.117 MB / 378.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005076/0.5892, allocations: 189.5 kB / 444.2 MB, free: 5.926 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5892, allocations: 7.984 kB / 444.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.5893, allocations: 0 / 444.2 MB, free: 5.918 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.5893, allocations: 4 kB / 444.2 MB, free: 5.914 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005801/0.5899, allocations: 59.84 kB / 444.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5899, allocations: 0 / 444.3 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004068/0.5903, allocations: 31.67 kB / 444.3 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.5904, allocations: 4 kB / 444.3 MB, free: 5.82 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.0001045/0.5905, allocations: 116.9 kB / 444.4 MB, free: 5.699 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001725/0.5907, allocations: 65.44 kB / 444.5 MB, free: 5.629 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/0.5907, allocations: 15.81 kB / 444.5 MB, free: 5.613 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.895e-05/0.5908, allocations: 17.12 kB / 444.5 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.5908, allocations: 0 / 444.5 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.5908, allocations: 0 / 444.5 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.5908, allocations: 7.953 kB / 444.5 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008266/0.5917, allocations: 476 kB / 445 MB, free: 5.078 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.5917, allocations: 4 kB / 445 MB, free: 5.074 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.5918, allocations: 4 kB / 445 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.5918, allocations: 0 / 445 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.5918, allocations: 0 / 445 MB, free: 5.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.882e-06/0.5918, allocations: 7.891 kB / 445 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5918, allocations: 0 / 445 MB, free: 5.062 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.592, allocations: 107.6 kB / 445.1 MB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.828e-05/0.5921, allocations: 96.91 kB / 445.2 MB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/0.5922, allocations: 7.953 kB / 445.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.5924, allocations: 0 / 445.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.455e-05/0.5924, allocations: 0 / 445.2 MB, free: 4.809 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.5925, allocations: 4 kB / 445.2 MB, free: 4.805 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000234/0.5927, allocations: 172.6 kB / 445.4 MB, free: 4.637 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.5927, allocations: 4.031 kB / 445.4 MB, free: 4.633 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004408/0.5932, allocations: 63.75 kB / 445.5 MB, free: 4.57 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.0004909/0.5937, allocations: 0.703 MB / 446.2 MB, free: 3.828 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003158/0.594, allocations: 108 kB / 446.3 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.594, allocations: 0 / 446.3 MB, free: 3.723 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.699e-05/0.5941, allocations: 11.98 kB / 446.3 MB, free: 3.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002818/0.5944, allocations: 17.38 kB / 446.3 MB, free: 3.691 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009404/0.5953, allocations: 288.8 kB / 446.6 MB, free: 3.371 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003517/0.5957, allocations: 0.7436 MB / 447.3 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001958/0.5959, allocations: 21.84 kB / 447.3 MB, free: 2.578 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001766/0.5961, allocations: 71.41 kB / 447.4 MB, free: 2.508 MB / 378.7 MB Notification: Performance of SimCode: time 9.52e-07/0.5961, allocations: 4 kB / 447.4 MB, free: 2.504 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04478/0.6409, allocations: 2.858 MB / 450.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002659/0.6412, allocations: 130.3 kB / 450.4 MB, free: 15.46 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.267/2.908, allocations: 4 kB / 450.4 MB, free: 15.46 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