Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.4 MB / 216.9 MB, free: 6.746 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.634e-05, allocations: 4 kB / 267.6 MB, free: 5.402 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1031, allocations: 48.7 MB / 316.3 MB, free: 4.605 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.348/1.451, allocations: 365.8 MB / 0.6661 GB, free: 124 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002471/1.451, allocations: 74.83 kB / 0.6662 GB, free: 124 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.07604/1.527, allocations: 21 MB / 0.6867 GB, free: 118.9 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.413e-06/1.527, allocations: 0 / 0.6867 GB, free: 118.9 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.294e-05/1.527, allocations: 0 / 0.6867 GB, free: 118.9 MB / 426.8 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.001254/1.529, allocations: 0.5688 MB / 0.6872 GB, free: 118.4 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/1.529, allocations: 15.66 kB / 0.6872 GB, free: 118.4 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002022/1.529, allocations: 27.42 kB / 0.6873 GB, free: 118.4 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002886/1.529, allocations: 232.6 kB / 0.6875 GB, free: 118.1 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001524/1.529, allocations: 122.8 kB / 0.6876 GB, free: 118 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.361e-05/1.529, allocations: 11.69 kB / 0.6876 GB, free: 118 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009824/1.53, allocations: 0.7171 MB / 0.6883 GB, free: 117.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004812/1.531, allocations: 278.5 kB / 0.6886 GB, free: 117.5 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.58e-05/1.531, allocations: 0 / 0.6886 GB, free: 117.5 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.791e-05/1.531, allocations: 3.984 kB / 0.6886 GB, free: 117.5 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.124e-05/1.531, allocations: 11.94 kB / 0.6886 GB, free: 117.5 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003194/1.534, allocations: 3.197 MB / 0.6917 GB, free: 113.9 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/1.534, allocations: 61.62 kB / 0.6918 GB, free: 113.8 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.074e-05/1.534, allocations: 28.52 kB / 0.6918 GB, free: 113.8 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007781/1.535, allocations: 0.5214 MB / 0.6923 GB, free: 113.2 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/1.535, allocations: 34.44 kB / 0.6924 GB, free: 113.2 MB / 426.8 MB Notification: Performance of pre-optimization done (n=8): time 3.977e-06/1.535, allocations: 4 kB / 0.6924 GB, free: 113.2 MB / 426.8 MB Notification: Performance of matching and sorting (n=9): time 0.0006285/1.536, allocations: 156.2 kB / 0.6925 GB, free: 113.1 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.091e-05/1.536, allocations: 51.41 kB / 0.6926 GB, free: 113 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/1.536, allocations: 202.2 kB / 0.6928 GB, free: 112.8 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/1.536, allocations: 25.7 kB / 0.6928 GB, free: 112.8 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/1.536, allocations: 295.8 kB / 0.6931 GB, free: 112.5 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.698e-05/1.536, allocations: 31.3 kB / 0.6931 GB, free: 112.5 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.317e-05/1.536, allocations: 0 / 0.6931 GB, free: 112.5 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 6.506e-05/1.536, allocations: 326.3 kB / 0.6934 GB, free: 112.2 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.686e-05/1.536, allocations: 44.3 kB / 0.6934 GB, free: 112.1 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/1.537, allocations: 321.8 kB / 0.6937 GB, free: 111.7 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000383/1.537, allocations: 103 kB / 0.6938 GB, free: 111.6 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.294e-06/1.537, allocations: 4 kB / 0.6938 GB, free: 111.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008014/1.538, allocations: 319.1 kB / 0.6942 GB, free: 111.3 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/1.538, allocations: 8 kB / 0.6942 GB, free: 111.3 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.564e-05/1.538, allocations: 12.08 kB / 0.6942 GB, free: 111.3 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.26e-05/1.538, allocations: 20.73 kB / 0.6942 GB, free: 111.3 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/1.539, allocations: 107.4 kB / 0.6943 GB, free: 111.2 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/1.539, allocations: 23.92 kB / 0.6943 GB, free: 111.1 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004116/1.539, allocations: 15.94 kB / 0.6943 GB, free: 111.1 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.272e-05/1.539, allocations: 35.67 kB / 0.6944 GB, free: 111.1 MB / 426.8 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 (52): * Single equations (assignments): 51 * 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.0001094/1.539, allocations: 120.5 kB / 0.6945 GB, free: 111 MB / 426.8 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002307/1.54, allocations: 88.91 kB / 0.6946 GB, free: 110.9 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.474e-05/1.54, allocations: 27.7 kB / 0.6946 GB, free: 110.9 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/1.54, allocations: 94.5 kB / 0.6947 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-05/1.54, allocations: 0 / 0.6947 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.54, allocations: 0 / 0.6947 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/1.54, allocations: 0 / 0.6947 GB, free: 110.8 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/1.541, allocations: 373.4 kB / 0.695 GB, free: 110.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/1.541, allocations: 0 / 0.695 GB, free: 110.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/1.541, allocations: 27.88 kB / 0.6951 GB, free: 110.4 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.711e-06/1.541, allocations: 4 kB / 0.6951 GB, free: 110.4 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/1.541, allocations: 3.984 kB / 0.6951 GB, free: 110.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/1.541, allocations: 4.031 kB / 0.6951 GB, free: 110.4 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/1.541, allocations: 0 / 0.6951 GB, free: 110.4 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/1.541, allocations: 208.6 kB / 0.6953 GB, free: 110.1 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.579e-05/1.541, allocations: 108.2 kB / 0.6954 GB, free: 110 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.608e-05/1.541, allocations: 4 kB / 0.6954 GB, free: 110 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003309/1.542, allocations: 15.98 kB / 0.6954 GB, free: 110 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.832e-05/1.542, allocations: 3.562 kB / 0.6954 GB, free: 110 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.574e-05/1.542, allocations: 11.98 kB / 0.6954 GB, free: 110 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001104/1.542, allocations: 138.2 kB / 0.6955 GB, free: 109.9 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.71e-07/1.542, allocations: 0 / 0.6955 GB, free: 109.9 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0007714/1.543, allocations: 79.94 kB / 0.6956 GB, free: 109.8 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * 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.000656/1.543, allocations: 0.8871 MB / 0.6965 GB, free: 108.9 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003318/1.544, allocations: 140.1 kB / 0.6966 GB, free: 108.8 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/1.544, allocations: 0 / 0.6966 GB, free: 108.8 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 4.688e-05/1.544, allocations: 27.05 kB / 0.6966 GB, free: 108.8 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/1.544, allocations: 32.36 kB / 0.6967 GB, free: 108.7 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/1.545, allocations: 256.2 kB / 0.6969 GB, free: 108.4 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001693/1.545, allocations: 0.7402 MB / 0.6976 GB, free: 107.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/1.545, allocations: 59.73 kB / 0.6977 GB, free: 107.6 MB / 426.8 MB Notification: Performance of SimCode: time 6.91e-07/1.545, allocations: 0 / 0.6977 GB, free: 107.6 MB / 426.8 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.533/4.078, allocations: 4.057 MB / 0.7017 GB, free: 103.6 MB / 426.8 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat does not exist to compare? outputFormat=mat