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.916/1.916, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.871e-05/3.885e-05, allocations: 4 kB / 273.1 MB, free: 0.6445 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1282, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.359/1.488, allocations: 366.2 MB / 0.6719 GB, free: 124 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002655/1.488, allocations: 76.14 kB / 0.672 GB, free: 124 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07897/1.567, allocations: 21.14 MB / 0.6926 GB, free: 119.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.176e-06/1.567, allocations: 0 / 0.6926 GB, free: 119.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.451e-05/1.567, allocations: 7.812 kB / 0.6926 GB, free: 119.2 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.001365/1.568, allocations: 0.573 MB / 0.6932 GB, free: 118.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.679e-05/1.569, allocations: 9.594 kB / 0.6932 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.37e-05/1.569, allocations: 59.05 kB / 0.6933 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001934/1.569, allocations: 21.91 kB / 0.6933 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002986/1.569, allocations: 231.2 kB / 0.6935 GB, free: 118.5 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001713/1.569, allocations: 133.7 kB / 0.6936 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.361e-05/1.569, allocations: 30.31 kB / 0.6937 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006095/1.57, allocations: 310.7 kB / 0.694 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.803e-05/1.57, allocations: 3.875 kB / 0.694 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/1.57, allocations: 6.312 kB / 0.694 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.103e-05/1.57, allocations: 7.75 kB / 0.694 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/1.571, allocations: 0.7372 MB / 0.6947 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/1.573, allocations: 1.149 MB / 0.6958 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/1.573, allocations: 164.7 kB / 0.696 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001848/1.574, allocations: 82.31 kB / 0.696 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002987/1.577, allocations: 2.858 MB / 0.6988 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/1.577, allocations: 34.55 kB / 0.6989 GB, free: 114.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 2.935e-06/1.577, allocations: 3.75 kB / 0.6989 GB, free: 114.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008201/1.578, allocations: 206.7 kB / 0.6991 GB, free: 114 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.915e-05/1.578, allocations: 55.41 kB / 0.6991 GB, free: 113.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002031/1.578, allocations: 182.1 kB / 0.6993 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 3.061e-05/1.578, allocations: 33.39 kB / 0.6993 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000105/1.578, allocations: 272.1 kB / 0.6996 GB, free: 113.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.609e-05/1.578, allocations: 56.02 kB / 0.6996 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.06e-05/1.578, allocations: 10.31 kB / 0.6997 GB, free: 113.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 6.844e-05/1.578, allocations: 328.8 kB / 0.7 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/1.578, allocations: 50.73 kB / 0.7 GB, free: 113.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002558/1.579, allocations: 310.4 kB / 0.7003 GB, free: 112.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002277/1.579, allocations: 104.5 kB / 0.7004 GB, free: 112.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/1.579, allocations: 3.875 kB / 0.7004 GB, free: 112.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007682/1.58, allocations: 371.2 kB / 0.7008 GB, free: 112.6 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/1.58, allocations: 11.61 kB / 0.7008 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/1.58, allocations: 11.34 kB / 0.7008 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.304e-05/1.58, allocations: 11.5 kB / 0.7008 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006586/1.58, allocations: 111.6 kB / 0.7009 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.387e-05/1.58, allocations: 19.3 kB / 0.7009 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000411/1.581, allocations: 21.34 kB / 0.7009 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/1.581, allocations: 25.41 kB / 0.701 GB, free: 112.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.0001294/1.581, allocations: 142.1 kB / 0.7011 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.87e-05/1.581, allocations: 22.75 kB / 0.7011 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005405/1.582, allocations: 182.2 kB / 0.7013 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/1.582, allocations: 0 / 0.7013 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.752e-06/1.582, allocations: 3.953 kB / 0.7013 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/1.582, allocations: 3.594 kB / 0.7013 GB, free: 112.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000746/1.583, allocations: 451.5 kB / 0.7017 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-06/1.583, allocations: 3.812 kB / 0.7017 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002768/1.583, allocations: 34.23 kB / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.767e-06/1.583, allocations: 3.953 kB / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.583, allocations: 3.375 kB / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/1.583, allocations: 0 / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/1.583, allocations: 0 / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002954/1.583, allocations: 268.1 kB / 0.702 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000134/1.583, allocations: 116.7 kB / 0.7022 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.002e-05/1.583, allocations: 11.56 kB / 0.7022 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003668/1.584, allocations: 10.39 kB / 0.7022 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/1.584, allocations: 14.39 kB / 0.7022 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/1.584, allocations: 13.95 kB / 0.7022 GB, free: 111.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001495/1.584, allocations: 140.1 kB / 0.7023 GB, free: 111.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.584, allocations: 96 / 0.7023 GB, free: 111.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007683/1.585, allocations: 104.3 kB / 0.7024 GB, free: 111.5 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 12 * 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.0007826/1.586, allocations: 1.074 MB / 0.7035 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004706/1.586, allocations: 176.2 kB / 0.7036 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.858e-06/1.586, allocations: 0 / 0.7036 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/1.586, allocations: 37.33 kB / 0.7037 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005132/1.587, allocations: 48.53 kB / 0.7037 GB, free: 110.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01927/1.606, allocations: 5.729 MB / 0.7093 GB, free: 107 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001943/1.606, allocations: 0.7286 MB / 0.71 GB, free: 106.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/1.606, allocations: 57.55 kB / 0.7101 GB, free: 106.3 MB / 426.7 MB Notification: Performance of SimCode: time 8.11e-07/1.606, allocations: 0 / 0.7101 GB, free: 106.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.596/4.203, allocations: 4.227 MB / 0.7142 GB, free: 102.2 MB / 426.7 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