Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.862/1.862, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.915e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2701, allocations: 38.76 MB / 258.3 MB, free: 12.15 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5222/0.7923, allocations: 181.6 MB / 439.9 MB, free: 22.11 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/0.7927, allocations: 73.02 kB / 440 MB, free: 22.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07779/0.8705, allocations: 22.04 MB / 462 MB, free: 3.238 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.8705, allocations: 3.938 kB / 462 MB, free: 3.234 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.306e-05/0.8706, allocations: 0 / 462 MB, free: 3.234 MB / 314.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.0005599/0.8711, allocations: 436.3 kB / 462.5 MB, free: 2.773 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.88e-05/0.8712, allocations: 8.031 kB / 462.5 MB, free: 2.766 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003962/0.8716, allocations: 23.89 kB / 462.5 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.8718, allocations: 197.6 kB / 462.7 MB, free: 2.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.8719, allocations: 7.953 kB / 462.7 MB, free: 2.512 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.176e-05/0.8719, allocations: 4 kB / 462.7 MB, free: 2.508 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002405/0.8721, allocations: 100.1 kB / 462.8 MB, free: 2.434 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002106/0.8724, allocations: 121.2 kB / 462.9 MB, free: 2.316 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.8724, allocations: 3.984 kB / 462.9 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.142e-05/0.8724, allocations: 0 / 462.9 MB, free: 2.312 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.8724, allocations: 4 kB / 462.9 MB, free: 2.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007029/0.8731, allocations: 0.5893 MB / 463.5 MB, free: 1.723 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.8733, allocations: 82.69 kB / 463.6 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.008e-05/0.8734, allocations: 31.11 kB / 463.6 MB, free: 1.629 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006323/0.874, allocations: 0.8104 MB / 464.4 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.8741, allocations: 30.56 kB / 464.5 MB, free: 0.6016 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.094e-06/0.8741, allocations: 4 kB / 464.5 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009069/0.875, allocations: 136.4 kB / 464.6 MB, free: 488 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.8751, allocations: 59.41 kB / 464.7 MB, free: 416 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.645e-05/0.8752, allocations: 104.4 kB / 464.8 MB, free: 304 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.8752, allocations: 25.7 kB / 464.8 MB, free: 272 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.309e-05/0.8753, allocations: 173.6 kB / 465 MB, free: 100 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.677e-05/0.8753, allocations: 45.11 kB / 465 MB, free: 60 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.846e-06/0.8753, allocations: 0 / 465 MB, free: 60 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.8755, allocations: 314 kB / 465.3 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.113e-05/0.8756, allocations: 18.69 kB / 465.3 MB, free: 15.73 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001045/0.8757, allocations: 69.14 kB / 465.4 MB, free: 15.66 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006144/0.8763, allocations: 66.56 kB / 465.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.8763, allocations: 384 / 465.5 MB, free: 15.6 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0008038/0.8772, allocations: 162.6 kB / 465.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.8772, allocations: 4 kB / 465.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8772, allocations: 0 / 465.6 MB, free: 15.45 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.8773, allocations: 7.938 kB / 465.6 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002367/0.8775, allocations: 39 kB / 465.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.348e-06/0.8775, allocations: 4 kB / 465.7 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001131/0.8776, allocations: 15.83 kB / 465.7 MB, free: 15.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.538e-05/0.8777, allocations: 4 kB / 465.7 MB, free: 15.38 MB / 330.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 0.0001098/0.8778, allocations: 113.1 kB / 465.8 MB, free: 15.27 MB / 330.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000749/0.8786, allocations: 130.3 kB / 465.9 MB, free: 15.15 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.8787, allocations: 11.89 kB / 465.9 MB, free: 15.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008734/0.8795, allocations: 163.3 kB / 466.1 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.341e-06/0.8796, allocations: 7.875 kB / 466.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.8796, allocations: 0 / 466.1 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.8796, allocations: 8 kB / 466.1 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001042/0.8807, allocations: 388.8 kB / 466.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.968e-06/0.8807, allocations: 0 / 466.5 MB, free: 14.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.8809, allocations: 27.92 kB / 466.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.606e-06/0.8809, allocations: 3.953 kB / 466.5 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.8809, allocations: 8 kB / 466.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.457e-06/0.8809, allocations: 0 / 466.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.8809, allocations: 0 / 466.5 MB, free: 14.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006912/0.8816, allocations: 226.4 kB / 466.8 MB, free: 14.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.8818, allocations: 96.92 kB / 466.8 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.8818, allocations: 3.953 kB / 466.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001556/0.882, allocations: 3.875 kB / 466.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.983e-05/0.882, allocations: 7.984 kB / 466.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.373e-05/0.8821, allocations: 8 kB / 466.9 MB, free: 14.2 MB / 330.7 MB Notification: Performance of sorting global known variables: time 6.378e-05/0.8821, allocations: 87.09 kB / 467 MB, free: 14.12 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.8821, allocations: 0 / 467 MB, free: 14.12 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000506/0.8827, allocations: 59.86 kB / 467 MB, free: 14.07 MB / 330.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.001252/0.8839, allocations: 0.8136 MB / 467.8 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002286/0.8842, allocations: 75.23 kB / 467.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.8842, allocations: 3.938 kB / 467.9 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.404e-05/0.8843, allocations: 35.31 kB / 467.9 MB, free: 13.15 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005698/0.8849, allocations: 44.16 kB / 468 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006744/0.8855, allocations: 199 kB / 468.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.8859, allocations: 0.6928 MB / 468.9 MB, free: 12.16 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.886, allocations: 35.17 kB / 468.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.886, allocations: 0 / 468.9 MB, free: 12.14 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.443/3.329, allocations: 2.639 MB / 471.5 MB, free: 9.508 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat