Running command: "" <> buildModelFMU(Modelica.Media.Incompressible.Examples.TestGlycol,fileNamePrefix="Modelica_3_2_1_Modelica_Media_Incompressible_Examples_TestGlycol",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.915/1.915, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 3.325e-05/3.326e-05, allocations: 8 kB / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2886/0.2887, allocations: 38.76 MB / 258.3 MB, free: 12.21 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5458/0.8345, allocations: 181.6 MB / 439.9 MB, free: 25.17 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.8348, allocations: 75.47 kB / 440 MB, free: 25.13 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07997/0.9148, allocations: 22.04 MB / 462.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.9149, allocations: 0 / 462.1 MB, free: 6.305 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.272e-05/0.9149, allocations: 0 / 462.1 MB, free: 6.305 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.0005729/0.9155, allocations: 430.2 kB / 462.5 MB, free: 5.852 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/0.9155, allocations: 12.03 kB / 462.5 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004009/0.916, allocations: 27.88 kB / 462.5 MB, free: 5.812 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001999/0.9162, allocations: 193.1 kB / 462.7 MB, free: 5.594 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.9162, allocations: 7.953 kB / 462.7 MB, free: 5.586 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.293e-05/0.9162, allocations: 11.92 kB / 462.7 MB, free: 5.574 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002441/0.9165, allocations: 96.56 kB / 462.8 MB, free: 5.504 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002138/0.9167, allocations: 128.1 kB / 462.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.9167, allocations: 0 / 462.9 MB, free: 5.383 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.157e-05/0.9168, allocations: 4 kB / 462.9 MB, free: 5.379 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.9168, allocations: 4 kB / 463 MB, free: 5.375 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007324/0.9175, allocations: 0.5918 MB / 463.5 MB, free: 4.785 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001487/0.9177, allocations: 71.77 kB / 463.6 MB, free: 4.723 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.257e-05/0.9178, allocations: 39.59 kB / 463.7 MB, free: 4.691 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006133/0.9184, allocations: 0.8107 MB / 464.5 MB, free: 3.703 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.9184, allocations: 34.5 kB / 464.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 2.816e-06/0.9185, allocations: 0 / 464.5 MB, free: 3.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.0008486/0.9193, allocations: 135 kB / 464.6 MB, free: 3.539 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.9194, allocations: 55.41 kB / 464.7 MB, free: 3.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.738e-05/0.9195, allocations: 112 kB / 464.8 MB, free: 3.359 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.9195, allocations: 25.7 kB / 464.8 MB, free: 3.328 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.764e-05/0.9196, allocations: 99.58 kB / 464.9 MB, free: 3.23 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.9196, allocations: 46.55 kB / 465 MB, free: 3.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.486e-06/0.9196, allocations: 0 / 465 MB, free: 3.191 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.432e-05/0.9197, allocations: 314.8 kB / 465.3 MB, free: 2.875 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.409e-05/0.9198, allocations: 19.31 kB / 465.3 MB, free: 2.863 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.9198, allocations: 72.08 kB / 465.4 MB, free: 2.789 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000585/0.9204, allocations: 70.38 kB / 465.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.9205, allocations: 0 / 465.4 MB, free: 2.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0007566/0.9212, allocations: 160.4 kB / 465.6 MB, free: 2.582 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.075e-05/0.9213, allocations: 4 kB / 465.6 MB, free: 2.578 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.769e-06/0.9213, allocations: 4 kB / 465.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.98e-05/0.9213, allocations: 0 / 465.6 MB, free: 2.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.9216, allocations: 43.12 kB / 465.6 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.9216, allocations: 0 / 465.6 MB, free: 2.535 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000113/0.9217, allocations: 11.84 kB / 465.6 MB, free: 2.523 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.709e-05/0.9218, allocations: 12 kB / 465.7 MB, free: 2.512 MB / 314.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.962e-05/0.9218, allocations: 105.3 kB / 465.8 MB, free: 2.402 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007092/0.9226, allocations: 132 kB / 465.9 MB, free: 2.281 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.9226, allocations: 4 kB / 465.9 MB, free: 2.277 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008161/0.9234, allocations: 177.6 kB / 466.1 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.522e-06/0.9235, allocations: 11.92 kB / 466.1 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.9235, allocations: 0 / 466.1 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.049e-06/0.9235, allocations: 0 / 466.1 MB, free: 2.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009348/0.9244, allocations: 397.2 kB / 466.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.9245, allocations: 0 / 466.5 MB, free: 1.715 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001538/0.9246, allocations: 23.92 kB / 466.5 MB, free: 1.691 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.215e-06/0.9246, allocations: 3.953 kB / 466.5 MB, free: 1.688 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.9247, allocations: 4 kB / 466.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.396e-06/0.9247, allocations: 0 / 466.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.9247, allocations: 0 / 466.5 MB, free: 1.684 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006652/0.9254, allocations: 220.9 kB / 466.7 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.601e-05/0.9255, allocations: 104.1 kB / 466.8 MB, free: 1.355 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.899e-05/0.9255, allocations: 3.953 kB / 466.8 MB, free: 1.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001607/0.9257, allocations: 4 kB / 466.8 MB, free: 1.348 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-05/0.9257, allocations: 7.984 kB / 466.8 MB, free: 1.34 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.299e-05/0.9258, allocations: 4 kB / 466.8 MB, free: 1.336 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.706e-05/0.9258, allocations: 90.89 kB / 466.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.9258, allocations: 0 / 466.9 MB, free: 1.25 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0005156/0.9264, allocations: 55.5 kB / 467 MB, free: 1.199 MB / 314.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.001131/0.9275, allocations: 0.8196 MB / 467.8 MB, free: 380 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.9277, allocations: 74.61 kB / 467.9 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/0.9278, allocations: 0 / 467.9 MB, free: 320 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.9278, allocations: 35.11 kB / 467.9 MB, free: 292 kB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.9285, allocations: 47.83 kB / 467.9 MB, free: 252 kB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006069/0.9291, allocations: 169 kB / 468.1 MB, free: 52 kB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.9295, allocations: 0.6967 MB / 468.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002696/0.9297, allocations: 32.73 kB / 468.8 MB, free: 15.29 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001055/0.9299, allocations: 34.3 kB / 468.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.9299, allocations: 0 / 468.9 MB, free: 15.27 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04626/0.9761, allocations: 3.05 MB / 471.9 MB, free: 12.23 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/0.9764, allocations: 140.1 kB / 472.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.55/3.526, allocations: 3.938 kB / 472.1 MB, free: 12.03 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Media.Incompressible.Examples.TestGlycol_res.mat does not exist to compare? outputFormat=mat