Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.292e-05/2.311e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3182/0.3182, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5573/0.8756, allocations: 187 MB / 481.2 MB, free: 52.98 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/0.8759, allocations: 73.39 kB / 481.3 MB, free: 52.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08048/0.9564, allocations: 22.5 MB / 0.492 GB, free: 33.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.9565, allocations: 0 / 0.492 GB, free: 33.73 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.342e-05/0.9565, allocations: 0 / 0.492 GB, free: 33.73 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.0005682/0.9571, allocations: 432.2 kB / 0.4924 GB, free: 33.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.902e-05/0.9571, allocations: 11.97 kB / 0.4924 GB, free: 33.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004039/0.9576, allocations: 31 kB / 0.4924 GB, free: 33.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002112/0.9578, allocations: 195.3 kB / 0.4926 GB, free: 33.01 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.9578, allocations: 4 kB / 0.4926 GB, free: 33.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.191e-05/0.9578, allocations: 4 kB / 0.4926 GB, free: 33 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002542/0.9581, allocations: 101.2 kB / 0.4927 GB, free: 32.93 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.9583, allocations: 125.4 kB / 0.4928 GB, free: 32.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/0.9584, allocations: 0 / 0.4928 GB, free: 32.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.9584, allocations: 4 kB / 0.4928 GB, free: 32.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.9584, allocations: 4 kB / 0.4928 GB, free: 32.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007022/0.9591, allocations: 0.5961 MB / 0.4934 GB, free: 32.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001565/0.9593, allocations: 83.38 kB / 0.4935 GB, free: 32.14 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.109e-05/0.9594, allocations: 28.11 kB / 0.4935 GB, free: 32.11 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006221/0.96, allocations: 0.8069 MB / 0.4943 GB, free: 31.13 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.9601, allocations: 42 kB / 0.4944 GB, free: 31.08 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 2.445e-06/0.9601, allocations: 0 / 0.4944 GB, free: 31.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008527/0.9609, allocations: 126.1 kB / 0.4945 GB, free: 30.97 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.345e-05/0.961, allocations: 55.41 kB / 0.4945 GB, free: 30.9 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.9611, allocations: 108.2 kB / 0.4946 GB, free: 30.79 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.9611, allocations: 29.7 kB / 0.4947 GB, free: 30.76 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.745e-05/0.9612, allocations: 170.2 kB / 0.4948 GB, free: 30.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.603e-05/0.9612, allocations: 42.39 kB / 0.4949 GB, free: 30.55 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.9613, allocations: 4 kB / 0.4949 GB, free: 30.55 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 6.285e-05/0.9613, allocations: 314.3 kB / 0.4952 GB, free: 30.24 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.525e-05/0.9614, allocations: 22.78 kB / 0.4952 GB, free: 30.22 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.857e-05/0.9615, allocations: 63.45 kB / 0.4953 GB, free: 30.15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000582/0.9621, allocations: 67 kB / 0.4953 GB, free: 30.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.9621, allocations: 3.938 kB / 0.4953 GB, free: 30.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007428/0.9629, allocations: 162.6 kB / 0.4955 GB, free: 29.94 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/0.9629, allocations: 4 kB / 0.4955 GB, free: 29.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.9629, allocations: 384 / 0.4955 GB, free: 29.94 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.972e-05/0.9629, allocations: 4 kB / 0.4955 GB, free: 29.93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.9632, allocations: 35.3 kB / 0.4955 GB, free: 29.9 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.9632, allocations: 8.156 kB / 0.4955 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001074/0.9633, allocations: 15.78 kB / 0.4955 GB, free: 29.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.769e-05/0.9633, allocations: 11.98 kB / 0.4956 GB, free: 29.87 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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 7.405e-05/0.9634, allocations: 104.8 kB / 0.4957 GB, free: 29.76 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007166/0.9641, allocations: 139.8 kB / 0.4958 GB, free: 29.63 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.886e-05/0.9642, allocations: 7.906 kB / 0.4958 GB, free: 29.62 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008116/0.965, allocations: 165.2 kB / 0.496 GB, free: 29.48 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.965, allocations: 3.984 kB / 0.496 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.9651, allocations: 4 kB / 0.496 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.9651, allocations: 0 / 0.496 GB, free: 29.47 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009308/0.966, allocations: 393.4 kB / 0.4963 GB, free: 29.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.966, allocations: 7.984 kB / 0.4963 GB, free: 29.07 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001482/0.9662, allocations: 16 kB / 0.4964 GB, free: 29.05 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.261e-06/0.9662, allocations: 0 / 0.4964 GB, free: 29.05 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.9662, allocations: 11.98 kB / 0.4964 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.9663, allocations: 0 / 0.4964 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9663, allocations: 0 / 0.4964 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006264/0.9669, allocations: 224.5 kB / 0.4966 GB, free: 28.82 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.914e-05/0.967, allocations: 95.31 kB / 0.4967 GB, free: 28.71 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.967, allocations: 3.984 kB / 0.4967 GB, free: 28.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/0.9672, allocations: 0 / 0.4967 GB, free: 28.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.755e-05/0.9672, allocations: 15.98 kB / 0.4967 GB, free: 28.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.9673, allocations: 7.438 kB / 0.4967 GB, free: 28.69 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.636e-05/0.9673, allocations: 86.09 kB / 0.4968 GB, free: 28.61 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.9673, allocations: 0 / 0.4968 GB, free: 28.61 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005305/0.9679, allocations: 63.2 kB / 0.4968 GB, free: 28.55 MB / 362.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 (13): * Single equations (assignments): 13 * 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.001075/0.969, allocations: 0.8155 MB / 0.4976 GB, free: 27.72 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.9692, allocations: 71.48 kB / 0.4977 GB, free: 27.67 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.9692, allocations: 288 / 0.4977 GB, free: 27.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.778e-05/0.9693, allocations: 39.38 kB / 0.4977 GB, free: 27.64 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005366/0.9699, allocations: 50.56 kB / 0.4978 GB, free: 27.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.9704, allocations: 180 kB / 0.498 GB, free: 27.38 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001528/0.9706, allocations: 0.6967 MB / 0.4986 GB, free: 26.66 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001084/0.9707, allocations: 37.91 kB / 0.4987 GB, free: 26.63 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.9707, allocations: 0 / 0.4987 GB, free: 26.63 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.518/3.489, allocations: 2.636 MB / 0.5013 GB, free: 24 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat