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.822/1.822, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.851e-05/4.855e-05, allocations: 3.984 kB / 225.1 MB, free: 2.25 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2908, allocations: 38.76 MB / 263.9 MB, free: 9.711 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5488/0.8396, allocations: 182.3 MB / 446.1 MB, free: 13.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.84, allocations: 73.52 kB / 446.2 MB, free: 13.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1087/0.9487, allocations: 22.21 MB / 468.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.234e-06/0.9488, allocations: 0 / 468.4 MB, free: 10.55 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.497e-05/0.9488, allocations: 7.938 kB / 468.4 MB, free: 10.54 MB / 330.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.0007061/0.9495, allocations: 424.1 kB / 468.8 MB, free: 10.09 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.9496, allocations: 12.03 kB / 468.9 MB, free: 10.08 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.258e-05/0.9496, allocations: 37.3 kB / 468.9 MB, free: 10.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.9501, allocations: 26.58 kB / 468.9 MB, free: 10.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002639/0.9503, allocations: 213.2 kB / 469.1 MB, free: 9.777 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.9504, allocations: 4 kB / 469.1 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.402e-05/0.9504, allocations: 14.5 kB / 469.1 MB, free: 9.762 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003211/0.9507, allocations: 126.2 kB / 469.3 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.9508, allocations: 0 / 469.3 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.594e-05/0.9508, allocations: 3.562 kB / 469.3 MB, free: 9.648 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.9508, allocations: 4 kB / 469.3 MB, free: 9.645 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.9511, allocations: 108.2 kB / 469.4 MB, free: 9.562 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009618/0.9521, allocations: 0.6293 MB / 470 MB, free: 8.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002065/0.9523, allocations: 80.56 kB / 470.1 MB, free: 8.859 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.9524, allocations: 46.73 kB / 470.1 MB, free: 8.82 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008515/0.9533, allocations: 0.8023 MB / 470.9 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.9533, allocations: 37.7 kB / 471 MB, free: 7.797 MB / 330.7 MB Notification: Performance of pre-optimization done (n=13): time 3.487e-06/0.9534, allocations: 0 / 471 MB, free: 7.797 MB / 330.7 MB Notification: Performance of matching and sorting (n=13): time 0.000386/0.9538, allocations: 93.11 kB / 471.1 MB, free: 7.715 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.9538, allocations: 55.34 kB / 471.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000136/0.954, allocations: 112 kB / 471.2 MB, free: 7.535 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/0.954, allocations: 33.7 kB / 471.3 MB, free: 7.496 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.477e-05/0.9541, allocations: 99.25 kB / 471.4 MB, free: 7.398 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.391e-05/0.9542, allocations: 45.86 kB / 471.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.358e-06/0.9542, allocations: 0 / 471.4 MB, free: 7.359 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.9543, allocations: 320.6 kB / 471.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.887e-05/0.9544, allocations: 21.25 kB / 471.7 MB, free: 7.027 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001641/0.9546, allocations: 68.39 kB / 471.8 MB, free: 6.953 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001353/0.9548, allocations: 30.92 kB / 471.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.9548, allocations: 0 / 471.8 MB, free: 6.93 MB / 330.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003477/0.9552, allocations: 137.7 kB / 472 MB, free: 6.809 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9552, allocations: 12.09 kB / 472 MB, free: 6.797 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.9552, allocations: 3.953 kB / 472 MB, free: 6.793 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.9553, allocations: 8 kB / 472 MB, free: 6.785 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.9555, allocations: 31.92 kB / 472 MB, free: 6.754 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.426e-05/0.9555, allocations: 4 kB / 472 MB, free: 6.75 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001196/0.9557, allocations: 19.08 kB / 472 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/0.9557, allocations: 8 kB / 472 MB, free: 6.727 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.0001059/0.9558, allocations: 107.9 kB / 472.2 MB, free: 6.621 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.047e-05/0.9559, allocations: 7.906 kB / 472.2 MB, free: 6.613 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004868/0.9564, allocations: 149.7 kB / 472.3 MB, free: 6.488 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.9564, allocations: 7.953 kB / 472.3 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9564, allocations: 0 / 472.3 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.989e-06/0.9564, allocations: 0 / 472.3 MB, free: 6.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006978/0.9571, allocations: 392.8 kB / 472.7 MB, free: 6.078 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.9572, allocations: 4 kB / 472.7 MB, free: 6.074 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001645/0.9573, allocations: 19.98 kB / 472.7 MB, free: 6.055 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.879e-06/0.9574, allocations: 3.953 kB / 472.7 MB, free: 6.051 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.827e-05/0.9574, allocations: 7.625 kB / 472.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.9574, allocations: 0 / 472.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.9574, allocations: 0 / 472.7 MB, free: 6.047 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003554/0.9578, allocations: 204.5 kB / 472.9 MB, free: 5.848 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/0.9579, allocations: 99.67 kB / 473 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.175e-05/0.9579, allocations: 11.95 kB / 473 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001549/0.9581, allocations: 3.312 kB / 473 MB, free: 5.727 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.439e-05/0.9582, allocations: 11.92 kB / 473.1 MB, free: 5.715 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.572e-05/0.9582, allocations: 4 kB / 473.1 MB, free: 5.711 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.912e-05/0.9583, allocations: 90.09 kB / 473.2 MB, free: 5.629 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9583, allocations: 4 kB / 473.2 MB, free: 5.625 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005485/0.9589, allocations: 59.3 kB / 473.2 MB, free: 5.57 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.0008787/0.9597, allocations: 0.8018 MB / 474 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002699/0.96, allocations: 77.92 kB / 474.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.96, allocations: 0 / 474.1 MB, free: 4.703 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 9.276e-05/0.9602, allocations: 47.8 kB / 474.1 MB, free: 4.664 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005686/0.9607, allocations: 38.73 kB / 474.2 MB, free: 4.633 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006746/0.9614, allocations: 169.7 kB / 474.3 MB, free: 4.445 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.9618, allocations: 0.697 MB / 475 MB, free: 3.723 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002621/0.9621, allocations: 32.75 kB / 475.1 MB, free: 3.688 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.9622, allocations: 32.66 kB / 475.1 MB, free: 3.664 MB / 330.7 MB Notification: Performance of SimCode: time 1.302e-06/0.9622, allocations: 0 / 475.1 MB, free: 3.664 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02706/0.9893, allocations: 3.382 MB / 478.5 MB, free: 372 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003028/0.9896, allocations: 162 kB / 478.6 MB, free: 132 kB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/3.541, allocations: 4 kB / 478.6 MB, free: 128 kB / 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