Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.121/2.121, allocations: 209.4 MB / 216.5 MB, free: 6.676 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.717e-05, allocations: 3.938 kB / 267.6 MB, free: 4.949 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1251, allocations: 48.7 MB / 316.3 MB, free: 4.156 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.414/1.539, allocations: 363 MB / 0.6634 GB, free: 124.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002732/1.539, allocations: 70.02 kB / 0.6635 GB, free: 124.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06777/1.607, allocations: 18.65 MB / 0.6817 GB, free: 121.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.165e-06/1.607, allocations: 4 kB / 0.6817 GB, free: 121.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/1.607, allocations: 3.188 kB / 0.6817 GB, free: 121.4 MB / 426.7 MB 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.001334/1.609, allocations: 0.564 MB / 0.6822 GB, free: 120.9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.554e-05/1.609, allocations: 9.594 kB / 0.6822 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001844/1.609, allocations: 20.62 kB / 0.6823 GB, free: 120.9 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/1.609, allocations: 240.6 kB / 0.6825 GB, free: 120.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/1.609, allocations: 120.1 kB / 0.6826 GB, free: 120.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/1.609, allocations: 12.81 kB / 0.6826 GB, free: 120.5 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001002/1.61, allocations: 0.7193 MB / 0.6833 GB, free: 120.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004829/1.611, allocations: 282.5 kB / 0.6836 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.543e-05/1.611, allocations: 4 kB / 0.6836 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/1.611, allocations: 3.875 kB / 0.6836 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.906e-05/1.611, allocations: 3.75 kB / 0.6836 GB, free: 120.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00363/1.615, allocations: 3.504 MB / 0.687 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/1.615, allocations: 48.75 kB / 0.6871 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/1.615, allocations: 19.92 kB / 0.6871 GB, free: 116.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006567/1.616, allocations: 453 kB / 0.6875 GB, free: 116 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/1.616, allocations: 34.41 kB / 0.6875 GB, free: 116 MB / 426.7 MB Notification: Performance of pre-optimization done (n=1): time 2.334e-06/1.616, allocations: 0 / 0.6875 GB, free: 116 MB / 426.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002288/1.616, allocations: 52.81 kB / 0.6876 GB, free: 116 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.169e-05/1.616, allocations: 51.41 kB / 0.6876 GB, free: 115.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/1.616, allocations: 211.5 kB / 0.6878 GB, free: 115.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/1.616, allocations: 25.7 kB / 0.6879 GB, free: 115.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/1.616, allocations: 255.3 kB / 0.6881 GB, free: 115.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.261e-05/1.616, allocations: 15.42 kB / 0.6881 GB, free: 115.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.352e-05/1.616, allocations: 0 / 0.6881 GB, free: 115.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.713e-05/1.616, allocations: 326.3 kB / 0.6884 GB, free: 115.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/1.617, allocations: 38.17 kB / 0.6885 GB, free: 115.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002977/1.617, allocations: 335.2 kB / 0.6888 GB, free: 114.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005126/1.617, allocations: 111.5 kB / 0.6889 GB, free: 114.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.596e-06/1.617, allocations: 3.875 kB / 0.6889 GB, free: 114.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.000918/1.618, allocations: 339.9 kB / 0.6892 GB, free: 114.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.563e-05/1.618, allocations: 13.05 kB / 0.6892 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/1.618, allocations: 11.28 kB / 0.6893 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.399e-05/1.618, allocations: 19.44 kB / 0.6893 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004481/1.619, allocations: 104.7 kB / 0.6894 GB, free: 114.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.619, allocations: 19.64 kB / 0.6894 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004631/1.619, allocations: 54.44 kB / 0.6894 GB, free: 114.5 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.866e-05/1.619, allocations: 26.34 kB / 0.6895 GB, free: 114.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 0.0001027/1.62, allocations: 132.2 kB / 0.6896 GB, free: 114.4 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001372/1.62, allocations: 53.12 kB / 0.6896 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.769e-05/1.62, allocations: 19.52 kB / 0.6897 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/1.62, allocations: 20.58 kB / 0.6897 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.324e-05/1.62, allocations: 4 kB / 0.6897 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.62, allocations: 0 / 0.6897 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.62, allocations: 3.938 kB / 0.6897 GB, free: 114.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002272/1.62, allocations: 178.9 kB / 0.6899 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/1.62, allocations: 4 kB / 0.6899 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.122e-06/1.62, allocations: 0 / 0.6899 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/1.62, allocations: 0 / 0.6899 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/1.62, allocations: 3.953 kB / 0.6899 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.62, allocations: 0 / 0.6899 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/1.62, allocations: 0 / 0.6899 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/1.62, allocations: 158.6 kB / 0.69 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/1.62, allocations: 108.4 kB / 0.6901 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.594e-05/1.62, allocations: 3.875 kB / 0.6901 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002664/1.621, allocations: 3.953 kB / 0.6901 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.177e-05/1.621, allocations: 0 / 0.6901 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/1.621, allocations: 7.859 kB / 0.6901 GB, free: 113.9 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001285/1.621, allocations: 146.1 kB / 0.6903 GB, free: 113.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.21e-07/1.621, allocations: 4.031 kB / 0.6903 GB, free: 113.8 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007372/1.622, allocations: 80.62 kB / 0.6904 GB, free: 113.8 MB / 426.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 (1): * Single equations (assignments): 0 * 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.0004991/1.622, allocations: 0.7365 MB / 0.6911 GB, free: 113.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0002958/1.623, allocations: 126.8 kB / 0.6912 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/1.623, allocations: 5.688 kB / 0.6912 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.598e-06/1.623, allocations: 0 / 0.6912 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003129/1.623, allocations: 22.66 kB / 0.6912 GB, free: 113 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/1.636, allocations: 4.044 MB / 0.6952 GB, free: 111.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/1.637, allocations: 0.7272 MB / 0.6959 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.000405/1.637, allocations: 49.02 kB / 0.6959 GB, free: 110.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.12e-05/1.637, allocations: 51.89 kB / 0.696 GB, free: 110.8 MB / 426.7 MB Notification: Performance of SimCode: time 1.162e-06/1.637, allocations: 3.812 kB / 0.696 GB, free: 110.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03849/1.676, allocations: 3.621 MB / 0.6995 GB, free: 107.9 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/1.676, allocations: 144.6 kB / 0.6997 GB, free: 107.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.4/4.076, allocations: 0 / 0.6997 GB, free: 107.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat