Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.LinearColdWater,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_LinearColdWater",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.089/2.089, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.418e-05/4.435e-05, allocations: 5.547 kB / 273.1 MB, free: 0.6523 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1095/0.1096, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.376/1.486, allocations: 363.5 MB / 0.6693 GB, free: 123.9 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/1.486, allocations: 76.03 kB / 0.6693 GB, free: 123.9 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07011/1.556, allocations: 18.75 MB / 0.6876 GB, free: 120.9 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.543e-06/1.556, allocations: 0 / 0.6876 GB, free: 120.9 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.539e-05/1.556, allocations: 3.969 kB / 0.6876 GB, free: 120.9 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.001394/1.558, allocations: 0.5657 MB / 0.6882 GB, free: 120.4 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.987e-05/1.558, allocations: 11.75 kB / 0.6882 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.112e-05/1.558, allocations: 57.86 kB / 0.6883 GB, free: 120.4 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/1.558, allocations: 27.45 kB / 0.6883 GB, free: 120.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003011/1.558, allocations: 231 kB / 0.6885 GB, free: 120.1 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001618/1.558, allocations: 126 kB / 0.6886 GB, free: 120 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.38e-05/1.558, allocations: 26.75 kB / 0.6887 GB, free: 120 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005877/1.559, allocations: 314.3 kB / 0.689 GB, free: 119.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/1.559, allocations: 3.938 kB / 0.689 GB, free: 119.8 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/1.559, allocations: 9.344 kB / 0.689 GB, free: 119.8 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.472e-05/1.559, allocations: 7.891 kB / 0.689 GB, free: 119.8 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001456/1.561, allocations: 0.7395 MB / 0.6897 GB, free: 119.6 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001748/1.562, allocations: 1.23 MB / 0.6909 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004396/1.563, allocations: 151.4 kB / 0.691 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001756/1.563, allocations: 75.39 kB / 0.6911 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003314/1.566, allocations: 3.013 MB / 0.6941 GB, free: 115.6 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.396e-05/1.567, allocations: 30.56 kB / 0.6941 GB, free: 115.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=13): time 2.855e-06/1.567, allocations: 4 kB / 0.6941 GB, free: 115.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003576/1.567, allocations: 105.6 kB / 0.6942 GB, free: 115.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/1.567, allocations: 62.67 kB / 0.6942 GB, free: 115.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001965/1.567, allocations: 192.6 kB / 0.6944 GB, free: 115.3 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.169e-05/1.567, allocations: 25.7 kB / 0.6945 GB, free: 115.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000109/1.567, allocations: 278.6 kB / 0.6947 GB, free: 115 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.658e-05/1.567, allocations: 49.92 kB / 0.6948 GB, free: 115 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.671e-05/1.567, allocations: 10.28 kB / 0.6948 GB, free: 115 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.048e-05/1.568, allocations: 334.1 kB / 0.6951 GB, free: 114.7 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001124/1.568, allocations: 43.03 kB / 0.6951 GB, free: 114.7 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002439/1.568, allocations: 327.3 kB / 0.6955 GB, free: 114.3 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002074/1.568, allocations: 103.6 kB / 0.6955 GB, free: 114.2 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.023e-06/1.568, allocations: 3.906 kB / 0.6956 GB, free: 114.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007824/1.569, allocations: 374.2 kB / 0.6959 GB, free: 114.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/1.569, allocations: 11.53 kB / 0.6959 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/1.569, allocations: 11.72 kB / 0.6959 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.42e-05/1.569, allocations: 11.72 kB / 0.6959 GB, free: 114.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000479/1.57, allocations: 101.6 kB / 0.696 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/1.57, allocations: 19.56 kB / 0.6961 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/1.57, allocations: 56.45 kB / 0.6961 GB, free: 114 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/1.57, allocations: 35.14 kB / 0.6961 GB, free: 114 MB / 426.7 MB 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 0.000116/1.57, allocations: 134.9 kB / 0.6963 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/1.57, allocations: 19.56 kB / 0.6963 GB, free: 113.9 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004799/1.571, allocations: 161.4 kB / 0.6964 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.571, allocations: 0 / 0.6964 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/1.571, allocations: 7.859 kB / 0.6965 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/1.571, allocations: 0 / 0.6965 GB, free: 113.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005971/1.571, allocations: 436.6 kB / 0.6969 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.029e-06/1.571, allocations: 3.906 kB / 0.6969 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/1.572, allocations: 19.64 kB / 0.6969 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/1.572, allocations: 0 / 0.6969 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.324e-05/1.572, allocations: 7.859 kB / 0.6969 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/1.572, allocations: 0 / 0.6969 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.572, allocations: 3.906 kB / 0.6969 GB, free: 113.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/1.572, allocations: 265.1 kB / 0.6972 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.975e-05/1.572, allocations: 109.4 kB / 0.6973 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.935e-05/1.572, allocations: 2.062 kB / 0.6973 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/1.572, allocations: 6.5 kB / 0.6973 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.893e-05/1.572, allocations: 11.84 kB / 0.6973 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.911e-05/1.572, allocations: 3.906 kB / 0.6973 GB, free: 113 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001511/1.573, allocations: 154.7 kB / 0.6974 GB, free: 112.9 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.11e-07/1.573, allocations: 0 / 0.6974 GB, free: 112.9 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007281/1.573, allocations: 103.4 kB / 0.6975 GB, free: 112.9 MB / 426.7 MB 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.0007343/1.574, allocations: 1.125 MB / 0.6986 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004336/1.574, allocations: 170.4 kB / 0.6988 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/1.575, allocations: 3.656 kB / 0.6988 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 5.964e-05/1.575, allocations: 21 kB / 0.6988 GB, free: 111.8 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005148/1.575, allocations: 47.48 kB / 0.6989 GB, free: 111.7 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01667/1.592, allocations: 4.786 MB / 0.7035 GB, free: 109.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001913/1.592, allocations: 0.7346 MB / 0.7043 GB, free: 108.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/1.592, allocations: 60.7 kB / 0.7043 GB, free: 108.7 MB / 426.7 MB Notification: Performance of SimCode: time 1.313e-06/1.592, allocations: 0 / 0.7043 GB, free: 108.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.467/4.059, allocations: 4.024 MB / 0.7082 GB, free: 106.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.LinearColdWater_res.mat does not exist to compare? outputFormat=mat