Running command: "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.Leakage,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_Leakage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.715/2.715, allocations: 249.5 MB / 261.6 MB, free: 2.16 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 6.685e-05/6.711e-05, allocations: 15.92 kB / 323.5 MB, free: 4.207 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4311/0.4312, allocations: 58.83 MB / 382.3 MB, free: 10.2 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1721/0.6034, allocations: 87.62 MB / 469.9 MB, free: 4.762 MB / 394.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002506/0.6037, allocations: 71.95 kB / 470 MB, free: 4.691 MB / 394.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.01786/0.6216, allocations: 4.175 MB / 474.2 MB, free: 0.5117 MB / 394.8 MB Notification: Performance of FrontEnd: time 2.255e-06/0.6216, allocations: 0 / 474.2 MB, free: 0.5117 MB / 394.8 MB Notification: Performance of Transformations before backend: time 1.869e-05/0.6217, allocations: 8.438 kB / 474.2 MB, free: 0.5039 MB / 394.8 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.001093/0.6228, allocations: 0.5141 MB / 474.7 MB, free: 15.95 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/0.6228, allocations: 15.97 kB / 474.7 MB, free: 15.93 MB / 410.8 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001018/0.6229, allocations: 66.53 kB / 474.8 MB, free: 15.86 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/0.623, allocations: 35.66 kB / 474.8 MB, free: 15.82 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002162/0.6233, allocations: 203.5 kB / 475 MB, free: 15.58 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001428/0.6234, allocations: 32.77 kB / 475 MB, free: 15.55 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.005e-05/0.6235, allocations: 28 kB / 475.1 MB, free: 15.52 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006884/0.6242, allocations: 258.2 kB / 475.3 MB, free: 15.26 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/0.6242, allocations: 0 / 475.3 MB, free: 15.26 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.064e-05/0.6243, allocations: 12 kB / 475.3 MB, free: 15.25 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.6243, allocations: 8 kB / 475.3 MB, free: 15.24 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000596/0.6249, allocations: 201.5 kB / 475.5 MB, free: 15.05 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002726/0.6277, allocations: 1.046 MB / 476.6 MB, free: 13.94 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.6278, allocations: 30.58 kB / 476.6 MB, free: 13.9 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.432e-05/0.6279, allocations: 28.86 kB / 476.6 MB, free: 13.87 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.6279, allocations: 8 kB / 476.7 MB, free: 13.86 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.628, allocations: 30.56 kB / 476.7 MB, free: 13.82 MB / 410.8 MB Notification: Performance of pre-optimization done (n=2): time 2.224e-06/0.628, allocations: 0 / 476.7 MB, free: 13.82 MB / 410.8 MB Notification: Performance of matching and sorting (n=2): time 0.0002303/0.6282, allocations: 61.45 kB / 476.7 MB, free: 13.76 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.6283, allocations: 51.41 kB / 476.8 MB, free: 13.7 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.6288, allocations: 283.3 kB / 477.1 MB, free: 13.41 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.6288, allocations: 29.7 kB / 477.1 MB, free: 13.38 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001916/0.629, allocations: 234.8 kB / 477.3 MB, free: 13.14 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.629, allocations: 11.89 kB / 477.3 MB, free: 13.13 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.6291, allocations: 4 kB / 477.3 MB, free: 13.13 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.0001504/0.6292, allocations: 338.8 kB / 477.7 MB, free: 12.79 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001784/0.6294, allocations: 56 kB / 477.7 MB, free: 12.73 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002075/0.6296, allocations: 89.64 kB / 477.8 MB, free: 12.64 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002085/0.6298, allocations: 68.48 kB / 477.9 MB, free: 12.57 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.6299, allocations: 0 / 477.9 MB, free: 12.57 MB / 410.8 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.000553/0.6304, allocations: 225.3 kB / 478.1 MB, free: 12.35 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.6305, allocations: 4 kB / 478.1 MB, free: 12.34 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6305, allocations: 0 / 478.1 MB, free: 12.34 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.6305, allocations: 4 kB / 478.1 MB, free: 12.34 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005741/0.6311, allocations: 51.91 kB / 478.2 MB, free: 12.29 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.415e-05/0.6311, allocations: 4 kB / 478.2 MB, free: 12.29 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004587/0.6316, allocations: 43.52 kB / 478.2 MB, free: 12.24 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.6316, allocations: 8 kB / 478.2 MB, free: 12.23 MB / 410.8 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.0001031/0.6317, allocations: 120.9 kB / 478.3 MB, free: 12.11 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/0.6318, allocations: 15.81 kB / 478.4 MB, free: 12.09 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.365e-05/0.6319, allocations: 24.89 kB / 478.4 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-06/0.6319, allocations: 0 / 478.4 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.6319, allocations: 0 / 478.4 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.6319, allocations: 0 / 478.4 MB, free: 12.07 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009366/0.6329, allocations: 0.5071 MB / 478.9 MB, free: 11.5 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.6329, allocations: 4.062 kB / 478.9 MB, free: 11.49 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.498e-05/0.633, allocations: 7.938 kB / 478.9 MB, free: 11.48 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.633, allocations: 0 / 478.9 MB, free: 11.48 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.633, allocations: 0 / 478.9 MB, free: 11.48 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.633, allocations: 0 / 478.9 MB, free: 11.48 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.633, allocations: 4 kB / 478.9 MB, free: 11.48 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001981/0.6332, allocations: 111.5 kB / 479 MB, free: 11.34 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.6334, allocations: 100.8 kB / 479.1 MB, free: 11.23 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.78e-05/0.6334, allocations: 4 kB / 479.1 MB, free: 11.22 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.6337, allocations: 0 / 479.1 MB, free: 11.22 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.564e-05/0.6337, allocations: 7.953 kB / 479.1 MB, free: 11.21 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.999e-06/0.6337, allocations: 7.938 kB / 479.1 MB, free: 11.21 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0003796/0.6341, allocations: 223.1 kB / 479.3 MB, free: 10.99 MB / 410.8 MB Notification: Performance of sort global known variables: time 5.61e-07/0.6341, allocations: 0 / 479.3 MB, free: 10.99 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0004208/0.6345, allocations: 63.84 kB / 479.4 MB, free: 10.93 MB / 410.8 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.0007276/0.6353, allocations: 0.7069 MB / 480.1 MB, free: 10.18 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003676/0.6357, allocations: 111.9 kB / 480.2 MB, free: 10.07 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.6357, allocations: 4.094 kB / 480.2 MB, free: 10.07 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 5.868e-05/0.6358, allocations: 8 kB / 480.2 MB, free: 10.06 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.6361, allocations: 28.83 kB / 480.3 MB, free: 10.03 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009704/0.6371, allocations: 277.4 kB / 480.5 MB, free: 9.715 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003642/0.6375, allocations: 0.752 MB / 481.3 MB, free: 8.938 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 0.0002055/0.6377, allocations: 26.06 kB / 481.3 MB, free: 8.914 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.6379, allocations: 71.41 kB / 481.4 MB, free: 8.848 MB / 410.8 MB Notification: Performance of SimCode: time 1.352e-06/0.6379, allocations: 0 / 481.4 MB, free: 8.848 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03111/0.669, allocations: 3.653 MB / 485 MB, free: 5.277 MB / 410.8 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003148/0.6694, allocations: 141.5 kB / 485.2 MB, free: 5.055 MB / 410.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.526/3.195, allocations: 0 / 485.2 MB, free: 5.055 MB / 410.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.Leakage_res.mat does not exist to compare? outputFormat=mat