Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_2_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.118/2.118, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.071e-05/4.092e-05, allocations: 0 / 255.4 MB, free: 2.645 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1048, allocations: 44.52 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6289/0.7337, allocations: 187.7 MB / 487.6 MB, free: 8.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002776/0.7341, allocations: 71.39 kB / 487.7 MB, free: 8.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09119/0.8253, allocations: 22.66 MB / 0.4984 GB, free: 5.086 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.8253, allocations: 0 / 0.4984 GB, free: 5.086 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.616e-05/0.8254, allocations: 4 kB / 0.4984 GB, free: 5.082 MB / 394.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.0006825/0.826, allocations: 426.6 kB / 0.4988 GB, free: 4.629 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/0.8261, allocations: 12.03 kB / 0.4988 GB, free: 4.617 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.937e-05/0.8262, allocations: 40.75 kB / 0.4989 GB, free: 4.574 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004045/0.8266, allocations: 34.8 kB / 0.4989 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.8269, allocations: 193.1 kB / 0.4991 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.8269, allocations: 3.375 kB / 0.4991 GB, free: 4.32 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.8269, allocations: 11.75 kB / 0.4991 GB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.8273, allocations: 141.8 kB / 0.4992 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.8273, allocations: 0 / 0.4992 GB, free: 4.184 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.547e-05/0.8273, allocations: 7.375 kB / 0.4992 GB, free: 4.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.8274, allocations: 4 kB / 0.4992 GB, free: 4.176 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.8276, allocations: 108.9 kB / 0.4993 GB, free: 4.094 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009449/0.8286, allocations: 0.6167 MB / 0.5 GB, free: 3.473 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002468/0.8289, allocations: 88.95 kB / 0.5 GB, free: 3.395 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.902e-05/0.829, allocations: 39.78 kB / 0.5001 GB, free: 3.363 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008628/0.8299, allocations: 0.807 MB / 0.5009 GB, free: 2.379 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.104e-05/0.8299, allocations: 34.56 kB / 0.5009 GB, free: 2.336 MB / 394.7 MB Notification: Performance of pre-optimization done (n=13): time 2.644e-06/0.8299, allocations: 0 / 0.5009 GB, free: 2.336 MB / 394.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003596/0.8303, allocations: 99.73 kB / 0.501 GB, free: 2.25 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.889e-05/0.8304, allocations: 51.41 kB / 0.501 GB, free: 2.188 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.8305, allocations: 116.8 kB / 0.5012 GB, free: 2.066 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.8306, allocations: 29.27 kB / 0.5012 GB, free: 2.035 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.8306, allocations: 99.52 kB / 0.5013 GB, free: 1.938 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.8307, allocations: 38.98 kB / 0.5013 GB, free: 1.902 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.478e-06/0.8307, allocations: 7.625 kB / 0.5013 GB, free: 1.898 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.8309, allocations: 322.4 kB / 0.5016 GB, free: 1.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.54e-05/0.831, allocations: 25 kB / 0.5017 GB, free: 1.559 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.8311, allocations: 72.77 kB / 0.5017 GB, free: 1.48 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001053/0.8312, allocations: 33.11 kB / 0.5018 GB, free: 1.457 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.8312, allocations: 3.938 kB / 0.5018 GB, free: 1.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003482/0.8316, allocations: 141.5 kB / 0.5019 GB, free: 1.328 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.8316, allocations: 4 kB / 0.5019 GB, free: 1.324 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.719e-06/0.8317, allocations: 4 kB / 0.5019 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.8317, allocations: 0 / 0.5019 GB, free: 1.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002344/0.8319, allocations: 35.92 kB / 0.5019 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.832, allocations: 0 / 0.5019 GB, free: 1.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001164/0.8321, allocations: 14.97 kB / 0.5019 GB, free: 1.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.8321, allocations: 9.5 kB / 0.502 GB, free: 1.266 MB / 394.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.0001184/0.8322, allocations: 121.3 kB / 0.5021 GB, free: 1.145 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.68e-05/0.8323, allocations: 11.91 kB / 0.5021 GB, free: 1.133 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005133/0.8328, allocations: 139.9 kB / 0.5022 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.8329, allocations: 0 / 0.5022 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.8329, allocations: 0 / 0.5022 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.8329, allocations: 0 / 0.5022 GB, free: 1.008 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006957/0.8336, allocations: 408.7 kB / 0.5026 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.8336, allocations: 0 / 0.5026 GB, free: 0.5898 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001528/0.8338, allocations: 19.98 kB / 0.5026 GB, free: 0.5703 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.8338, allocations: 4 kB / 0.5026 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.8338, allocations: 1.438 kB / 0.5026 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/0.8338, allocations: 0 / 0.5026 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.8338, allocations: 0 / 0.5026 GB, free: 0.5664 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.8342, allocations: 205.7 kB / 0.5028 GB, free: 376 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001091/0.8343, allocations: 108.6 kB / 0.5029 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.522e-05/0.8343, allocations: 0 / 0.5029 GB, free: 256 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001486/0.8345, allocations: 6.672 kB / 0.5029 GB, free: 252 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.604e-05/0.8345, allocations: 7.938 kB / 0.5029 GB, free: 244 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.941e-05/0.8346, allocations: 14.48 kB / 0.503 GB, free: 232 kB / 394.7 MB Notification: Performance of sorting global known variables: time 7.888e-05/0.8346, allocations: 86.28 kB / 0.503 GB, free: 148 kB / 394.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.8347, allocations: 0 / 0.503 GB, free: 148 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005025/0.8352, allocations: 65.92 kB / 0.5031 GB, free: 88 kB / 394.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.0009309/0.8361, allocations: 0.8034 MB / 0.5039 GB, free: 15.28 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002778/0.8364, allocations: 83.42 kB / 0.504 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8364, allocations: 0 / 0.504 GB, free: 15.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.857e-05/0.8365, allocations: 39.61 kB / 0.504 GB, free: 15.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005704/0.8371, allocations: 40.03 kB / 0.504 GB, free: 15.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006493/0.8378, allocations: 168.9 kB / 0.5042 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003433/0.8381, allocations: 0.697 MB / 0.5049 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000256/0.8384, allocations: 33.03 kB / 0.5049 GB, free: 14.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.8385, allocations: 28.67 kB / 0.5049 GB, free: 14.18 MB / 410.7 MB Notification: Performance of SimCode: time 1.403e-06/0.8385, allocations: 3.938 kB / 0.5049 GB, free: 14.18 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02496/0.8635, allocations: 3.382 MB / 0.5082 GB, free: 10.87 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003078/0.8639, allocations: 159.7 kB / 0.5084 GB, free: 10.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.568/3.432, allocations: 0 / 0.5084 GB, free: 10.64 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat