Running command: "" <> buildModelFMU(Modelica.Media.Examples.SimpleLiquidWater,fileNamePrefix="Modelica_trunk_Modelica_Media_Examples_SimpleLiquidWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.066/2.066, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.183e-05, allocations: 0 / 292.7 MB, free: 8.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1223, allocations: 50.42 MB / 343.1 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.038/1.16, allocations: 273.8 MB / 0.6025 GB, free: 84.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000206/1.16, allocations: 65.12 kB / 0.6026 GB, free: 84.4 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03538/1.196, allocations: 9.593 MB / 0.612 GB, free: 76.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.884e-06/1.196, allocations: 0 / 0.612 GB, free: 76.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.387e-05/1.196, allocations: 0 / 0.612 GB, free: 76.52 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.001109/1.197, allocations: 465.7 kB / 0.6124 GB, free: 76.03 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.997e-05/1.197, allocations: 12.03 kB / 0.6124 GB, free: 76.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.734e-05/1.197, allocations: 45.45 kB / 0.6125 GB, free: 75.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002261/1.197, allocations: 23.8 kB / 0.6125 GB, free: 75.95 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002506/1.197, allocations: 205.3 kB / 0.6127 GB, free: 75.71 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/1.198, allocations: 7.906 kB / 0.6127 GB, free: 75.71 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.913e-05/1.198, allocations: 15.84 kB / 0.6127 GB, free: 75.7 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004309/1.198, allocations: 204.7 kB / 0.6129 GB, free: 75.52 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.837e-05/1.198, allocations: 0 / 0.6129 GB, free: 75.52 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.836e-05/1.198, allocations: 10.69 kB / 0.6129 GB, free: 75.52 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.397e-06/1.198, allocations: 7.953 kB / 0.6129 GB, free: 75.51 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003137/1.198, allocations: 120.8 kB / 0.613 GB, free: 75.42 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/1.2, allocations: 0.9444 MB / 0.6139 GB, free: 74.49 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003557/1.2, allocations: 126.8 kB / 0.6141 GB, free: 74.39 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/1.201, allocations: 47.11 kB / 0.6141 GB, free: 74.35 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006447/1.201, allocations: 0.5089 MB / 0.6146 GB, free: 73.8 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/1.201, allocations: 42.5 kB / 0.6147 GB, free: 73.75 MB / 442.7 MB Notification: Performance of pre-optimization done (n=14): time 2.906e-06/1.201, allocations: 0 / 0.6147 GB, free: 73.75 MB / 442.7 MB Notification: Performance of matching and sorting (n=20): time 0.002659/1.204, allocations: 0.6197 MB / 0.6153 GB, free: 73.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.383e-05/1.204, allocations: 63.33 kB / 0.6153 GB, free: 73.11 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/1.204, allocations: 142.1 kB / 0.6155 GB, free: 72.97 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 3.097e-05/1.204, allocations: 29.33 kB / 0.6155 GB, free: 72.94 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.234e-05/1.204, allocations: 142.9 kB / 0.6156 GB, free: 72.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.703e-05/1.204, allocations: 73.38 kB / 0.6157 GB, free: 72.73 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/1.204, allocations: 7.875 kB / 0.6157 GB, free: 72.73 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.732e-05/1.205, allocations: 333.2 kB / 0.616 GB, free: 72.4 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001754/1.205, allocations: 61.88 kB / 0.6161 GB, free: 72.36 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/1.205, allocations: 166.7 kB / 0.6162 GB, free: 72.18 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002168/1.205, allocations: 89.72 kB / 0.6163 GB, free: 72.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/1.205, allocations: 0 / 0.6163 GB, free: 72.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0006136/1.206, allocations: 270.6 kB / 0.6166 GB, free: 71.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.124e-05/1.206, allocations: 8 kB / 0.6166 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.031e-05/1.206, allocations: 4 kB / 0.6166 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.595e-05/1.206, allocations: 4 kB / 0.6166 GB, free: 71.89 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006763/1.207, allocations: 87.64 kB / 0.6167 GB, free: 71.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.721e-05/1.207, allocations: 12.39 kB / 0.6167 GB, free: 71.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000395/1.207, allocations: 15.69 kB / 0.6167 GB, free: 71.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.497e-05/1.207, allocations: 23.05 kB / 0.6167 GB, free: 71.76 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * 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.0001159/1.207, allocations: 120 kB / 0.6168 GB, free: 71.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-05/1.207, allocations: 19 kB / 0.6169 GB, free: 71.63 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006143/1.208, allocations: 215 kB / 0.6171 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/1.208, allocations: 0 / 0.6171 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.208, allocations: 0 / 0.6171 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/1.208, allocations: 4 kB / 0.6171 GB, free: 71.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001415/1.209, allocations: 0.5513 MB / 0.6176 GB, free: 70.91 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/1.209, allocations: 128 / 0.6176 GB, free: 70.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005066/1.21, allocations: 51.95 kB / 0.6177 GB, free: 70.86 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.899e-06/1.21, allocations: 7.984 kB / 0.6177 GB, free: 70.85 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.927e-05/1.21, allocations: 7.562 kB / 0.6177 GB, free: 70.85 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/1.21, allocations: 3.938 kB / 0.6177 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.607e-06/1.21, allocations: 4 kB / 0.6177 GB, free: 70.84 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006392/1.211, allocations: 402.2 kB / 0.6181 GB, free: 70.46 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.431e-05/1.211, allocations: 88.95 kB / 0.6181 GB, free: 70.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.007e-05/1.211, allocations: 7.984 kB / 0.6182 GB, free: 70.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003966/1.211, allocations: 19.56 kB / 0.6182 GB, free: 70.33 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/1.211, allocations: 19.41 kB / 0.6182 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/1.211, allocations: 12 kB / 0.6182 GB, free: 70.3 MB / 442.7 MB Notification: Performance of sorting global known variables: time 8.876e-05/1.211, allocations: 112 kB / 0.6183 GB, free: 70.21 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.211, allocations: 0 / 0.6183 GB, free: 70.21 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005461/1.212, allocations: 63.44 kB / 0.6184 GB, free: 70.15 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 1 (medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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.001028/1.213, allocations: 1.26 MB / 0.6196 GB, free: 68.91 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.000485/1.214, allocations: 173.6 kB / 0.6198 GB, free: 68.79 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.214, allocations: 0 / 0.6198 GB, free: 68.79 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001691/1.214, allocations: 74.44 kB / 0.6198 GB, free: 68.73 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004884/1.214, allocations: 39.78 kB / 0.6199 GB, free: 68.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001312/1.216, allocations: 344.2 kB / 0.6202 GB, free: 68.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001877/1.216, allocations: 0.7243 MB / 0.6209 GB, free: 67.61 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0004481/1.216, allocations: 46.05 kB / 0.621 GB, free: 67.56 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001754/1.216, allocations: 52.97 kB / 0.621 GB, free: 67.54 MB / 442.7 MB Notification: Performance of SimCode: time 1.343e-06/1.216, allocations: 0 / 0.621 GB, free: 67.54 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/1.249, allocations: 4.462 MB / 0.6254 GB, free: 63.16 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/1.249, allocations: 149.4 kB / 0.6255 GB, free: 62.93 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.728, allocations: 4 kB / 0.6255 GB, free: 62.93 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Media.Examples.SimpleLiquidWater_res.mat does not exist to compare? outputFormat=mat