Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.353/2.353, allocations: 270 MB / 283.6 MB, free: 3.121 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.493e-05/3.517e-05, allocations: 4 kB / 348.5 MB, free: 10.74 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 61.9 MB / 410.4 MB, free: 12.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.183/1.31, allocations: 378 MB / 0.7699 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002651/1.31, allocations: 75.27 kB / 0.77 GB, free: 30.32 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.06784/1.378, allocations: 19.3 MB / 0.7888 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.833e-06/1.378, allocations: 0 / 0.7888 GB, free: 12.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.429e-05/1.378, allocations: 4 kB / 0.7888 GB, free: 12.63 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001169/1.379, allocations: 0.5674 MB / 0.7894 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.38, allocations: 12.03 kB / 0.7894 GB, free: 12 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.356e-05/1.38, allocations: 58.55 kB / 0.7894 GB, free: 11.94 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/1.38, allocations: 23.8 kB / 0.7895 GB, free: 11.91 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/1.38, allocations: 226.7 kB / 0.7897 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/1.38, allocations: 127.3 kB / 0.7898 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.944e-05/1.38, allocations: 20 kB / 0.7898 GB, free: 11.48 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005554/1.381, allocations: 318.5 kB / 0.7901 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/1.381, allocations: 0 / 0.7901 GB, free: 11.15 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.811e-05/1.381, allocations: 12 kB / 0.7901 GB, free: 11.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.555e-05/1.381, allocations: 8 kB / 0.7901 GB, free: 11.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009967/1.382, allocations: 0.7188 MB / 0.7908 GB, free: 10.41 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/1.383, allocations: 1.229 MB / 0.7921 GB, free: 9.09 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004001/1.384, allocations: 147.5 kB / 0.7922 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001717/1.384, allocations: 85.45 kB / 0.7923 GB, free: 8.852 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00296/1.387, allocations: 3.011 MB / 0.7952 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/1.387, allocations: 34.56 kB / 0.7952 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=13): time 2.174e-06/1.387, allocations: 0 / 0.7952 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of matching and sorting (n=13): time 0.0003319/1.387, allocations: 97.47 kB / 0.7953 GB, free: 5.184 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.808e-05/1.388, allocations: 59.41 kB / 0.7954 GB, free: 5.113 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001879/1.388, allocations: 189.9 kB / 0.7956 GB, free: 4.922 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/1.388, allocations: 33.69 kB / 0.7956 GB, free: 4.883 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 9.578e-05/1.388, allocations: 210.9 kB / 0.7958 GB, free: 4.672 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.921e-05/1.388, allocations: 55.33 kB / 0.7959 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.821e-05/1.388, allocations: 8 kB / 0.7959 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 6.595e-05/1.388, allocations: 338.7 kB / 0.7962 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/1.388, allocations: 40.88 kB / 0.7962 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002321/1.388, allocations: 332 kB / 0.7965 GB, free: 3.758 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/1.389, allocations: 104.2 kB / 0.7966 GB, free: 3.656 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.014e-06/1.389, allocations: 4 kB / 0.7967 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000669/1.389, allocations: 333.9 kB / 0.797 GB, free: 3.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/1.389, allocations: 16.06 kB / 0.797 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.397e-05/1.389, allocations: 8 kB / 0.797 GB, free: 3.297 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.917e-05/1.389, allocations: 16 kB / 0.797 GB, free: 3.281 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004612/1.39, allocations: 95.83 kB / 0.7971 GB, free: 3.188 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.136e-05/1.39, allocations: 19.94 kB / 0.7971 GB, free: 3.168 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003865/1.39, allocations: 63.42 kB / 0.7972 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/1.39, allocations: 31.94 kB / 0.7972 GB, free: 3.074 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * Array equations: 1 * 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 9.323e-05/1.39, allocations: 140.7 kB / 0.7973 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.354e-05/1.39, allocations: 15.81 kB / 0.7974 GB, free: 2.914 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004424/1.391, allocations: 165.7 kB / 0.7975 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.391, allocations: 0 / 0.7975 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.391, allocations: 0 / 0.7975 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/1.391, allocations: 0 / 0.7975 GB, free: 2.734 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005408/1.392, allocations: 425.8 kB / 0.7979 GB, free: 2.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/1.392, allocations: 4 kB / 0.7979 GB, free: 2.246 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001146/1.392, allocations: 19.92 kB / 0.7979 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.45e-06/1.392, allocations: 0 / 0.7979 GB, free: 2.227 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/1.392, allocations: 4.094 kB / 0.798 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.407e-06/1.392, allocations: 3.938 kB / 0.798 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.392, allocations: 4 kB / 0.798 GB, free: 2.215 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/1.392, allocations: 265.5 kB / 0.7982 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 8.639e-05/1.392, allocations: 112.8 kB / 0.7983 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/1.392, allocations: 4.094 kB / 0.7983 GB, free: 1.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002406/1.392, allocations: 7.984 kB / 0.7983 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/1.392, allocations: 11.98 kB / 0.7983 GB, free: 1.75 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/1.392, allocations: 8 kB / 0.7983 GB, free: 1.742 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.000136/1.393, allocations: 145.4 kB / 0.7985 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.242e-06/1.393, allocations: 0 / 0.7985 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0006663/1.393, allocations: 107.9 kB / 0.7986 GB, free: 1.496 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 1 * 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.0006049/1.394, allocations: 1.126 MB / 0.7997 GB, free: 324 kB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003517/1.394, allocations: 153.5 kB / 0.7998 GB, free: 172 kB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.394, allocations: 0 / 0.7998 GB, free: 172 kB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 5.994e-05/1.394, allocations: 28.75 kB / 0.7999 GB, free: 144 kB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004674/1.395, allocations: 40.78 kB / 0.7999 GB, free: 104 kB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01793/1.413, allocations: 4.937 MB / 0.8047 GB, free: 11.08 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003396/1.413, allocations: 0.7326 MB / 0.8054 GB, free: 10.32 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004247/1.414, allocations: 53.92 kB / 0.8055 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000118/1.414, allocations: 51.42 kB / 0.8055 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of SimCode: time 1.262e-06/1.414, allocations: 0 / 0.8055 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03307/1.447, allocations: 4.69 MB / 0.8101 GB, free: 5.621 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003062/1.447, allocations: 153.9 kB / 0.8103 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.332/3.779, allocations: 64 / 0.8103 GB, free: 5.402 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat