Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.331/2.331, allocations: 195 MB / 202.9 MB, free: 13.76 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.519e-05/3.527e-05, allocations: 0 / 249.8 MB, free: 14.78 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3968, allocations: 44.49 MB / 294.3 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6624/1.059, allocations: 187 MB / 481.3 MB, free: 52.9 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/1.06, allocations: 71.98 kB / 481.4 MB, free: 52.86 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1015/1.161, allocations: 22.5 MB / 0.4921 GB, free: 33.65 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.161, allocations: 0 / 0.4921 GB, free: 33.65 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.659e-05/1.161, allocations: 4 kB / 0.4921 GB, free: 33.64 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.0006599/1.162, allocations: 431.6 kB / 0.4925 GB, free: 33.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/1.162, allocations: 12.03 kB / 0.4925 GB, free: 33.18 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005068/1.163, allocations: 35.23 kB / 0.4925 GB, free: 33.14 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002683/1.163, allocations: 196.8 kB / 0.4927 GB, free: 32.92 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.51e-05/1.163, allocations: 0 / 0.4927 GB, free: 32.92 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.603e-05/1.163, allocations: 4 kB / 0.4927 GB, free: 32.92 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002997/1.163, allocations: 96.25 kB / 0.4928 GB, free: 32.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002731/1.163, allocations: 127.9 kB / 0.4929 GB, free: 32.72 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.287e-05/1.164, allocations: 0 / 0.4929 GB, free: 32.72 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.746e-05/1.164, allocations: 3.984 kB / 0.4929 GB, free: 32.72 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.698e-06/1.164, allocations: 8 kB / 0.4929 GB, free: 32.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008804/1.164, allocations: 0.5846 MB / 0.4935 GB, free: 32.13 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00019/1.165, allocations: 88.12 kB / 0.4936 GB, free: 32.05 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.92e-05/1.165, allocations: 36.34 kB / 0.4936 GB, free: 32.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007229/1.166, allocations: 0.807 MB / 0.4944 GB, free: 31.04 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.053e-05/1.166, allocations: 38.56 kB / 0.4945 GB, free: 30.99 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.306e-06/1.166, allocations: 0 / 0.4945 GB, free: 30.99 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001066/1.167, allocations: 132.3 kB / 0.4946 GB, free: 30.87 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/1.167, allocations: 51.41 kB / 0.4946 GB, free: 30.81 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/1.167, allocations: 108.3 kB / 0.4947 GB, free: 30.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/1.167, allocations: 29.7 kB / 0.4948 GB, free: 30.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.533e-05/1.167, allocations: 103.2 kB / 0.4949 GB, free: 30.56 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.215e-05/1.167, allocations: 39.14 kB / 0.4949 GB, free: 30.53 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.104e-05/1.167, allocations: 0 / 0.4949 GB, free: 30.53 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.093e-05/1.167, allocations: 318.4 kB / 0.4952 GB, free: 30.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.083e-05/1.167, allocations: 31.22 kB / 0.4952 GB, free: 30.19 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.675e-05/1.167, allocations: 64.14 kB / 0.4953 GB, free: 30.12 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007336/1.168, allocations: 66.44 kB / 0.4954 GB, free: 30.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/1.168, allocations: 0 / 0.4954 GB, free: 30.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009487/1.169, allocations: 162.9 kB / 0.4955 GB, free: 29.91 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.417e-05/1.169, allocations: 16.14 kB / 0.4955 GB, free: 29.9 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/1.169, allocations: 0 / 0.4955 GB, free: 29.9 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.176e-05/1.169, allocations: 4 kB / 0.4955 GB, free: 29.89 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002708/1.169, allocations: 27.98 kB / 0.4956 GB, free: 29.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.515e-05/1.169, allocations: 3.938 kB / 0.4956 GB, free: 29.86 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001287/1.17, allocations: 7.938 kB / 0.4956 GB, free: 29.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.426e-05/1.17, allocations: 8 kB / 0.4956 GB, free: 29.85 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 8.29e-05/1.17, allocations: 104.8 kB / 0.4957 GB, free: 29.74 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009092/1.171, allocations: 139.7 kB / 0.4958 GB, free: 29.61 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.104e-05/1.171, allocations: 11.91 kB / 0.4958 GB, free: 29.6 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/1.172, allocations: 160.1 kB / 0.496 GB, free: 29.46 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/1.172, allocations: 4 kB / 0.496 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-06/1.172, allocations: 0 / 0.496 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.172, allocations: 0 / 0.496 GB, free: 29.45 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001159/1.173, allocations: 409.6 kB / 0.4964 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/1.173, allocations: 0 / 0.4964 GB, free: 29.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/1.173, allocations: 23.98 kB / 0.4964 GB, free: 29.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.002e-06/1.173, allocations: 0 / 0.4964 GB, free: 29.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.572e-05/1.173, allocations: 0 / 0.4964 GB, free: 29.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.173, allocations: 0 / 0.4964 GB, free: 29.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.099e-06/1.173, allocations: 3.984 kB / 0.4964 GB, free: 29.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008692/1.174, allocations: 227.8 kB / 0.4966 GB, free: 28.79 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.749e-05/1.174, allocations: 98.92 kB / 0.4967 GB, free: 28.68 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.281e-05/1.174, allocations: 11.94 kB / 0.4967 GB, free: 28.67 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000184/1.175, allocations: 0 / 0.4967 GB, free: 28.67 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.455e-05/1.175, allocations: 11.3 kB / 0.4967 GB, free: 28.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/1.175, allocations: 4 kB / 0.4967 GB, free: 28.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.627e-05/1.175, allocations: 94.64 kB / 0.4968 GB, free: 28.57 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.175, allocations: 0 / 0.4968 GB, free: 28.57 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005994/1.175, allocations: 58.56 kB / 0.4969 GB, free: 28.52 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.00128/1.177, allocations: 0.8147 MB / 0.4977 GB, free: 27.69 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002402/1.177, allocations: 74.98 kB / 0.4977 GB, free: 27.63 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/1.177, allocations: 0 / 0.4977 GB, free: 27.63 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.772e-05/1.177, allocations: 40.23 kB / 0.4978 GB, free: 27.6 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/1.178, allocations: 28.28 kB / 0.4978 GB, free: 27.58 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006857/1.178, allocations: 164.6 kB / 0.498 GB, free: 27.39 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001849/1.179, allocations: 0.7006 MB / 0.4987 GB, free: 26.66 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003415/1.179, allocations: 33.02 kB / 0.4987 GB, free: 26.62 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/1.179, allocations: 26.06 kB / 0.4987 GB, free: 26.61 MB / 362.7 MB Notification: Performance of SimCode: time 9.92e-07/1.179, allocations: 4 kB / 0.4987 GB, free: 26.61 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/1.227, allocations: 3.059 MB / 0.5017 GB, free: 23.58 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002542/1.227, allocations: 145 kB / 0.5018 GB, free: 23.39 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.168/4.395, allocations: 3.938 kB / 0.5018 GB, free: 23.38 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat