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.884/1.884, allocations: 209.3 MB / 221.9 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.621e-05/4.624e-05, allocations: 7.938 kB / 273.2 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 48.7 MB / 321.9 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.337/1.454, allocations: 366.2 MB / 0.6719 GB, free: 124 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/1.454, allocations: 73.73 kB / 0.672 GB, free: 124 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07982/1.534, allocations: 21.15 MB / 0.6927 GB, free: 119.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.864e-06/1.534, allocations: 0 / 0.6927 GB, free: 119.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.502e-05/1.534, allocations: 3.219 kB / 0.6927 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.001362/1.535, allocations: 0.573 MB / 0.6932 GB, free: 118.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.838e-05/1.535, allocations: 9.594 kB / 0.6932 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.288e-05/1.535, allocations: 63.7 kB / 0.6933 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000186/1.536, allocations: 20.62 kB / 0.6933 GB, free: 118.7 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/1.536, allocations: 237.4 kB / 0.6935 GB, free: 118.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001601/1.536, allocations: 123.6 kB / 0.6937 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.634e-05/1.536, allocations: 21.94 kB / 0.6937 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005712/1.537, allocations: 311.3 kB / 0.694 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.582e-05/1.537, allocations: 0 / 0.694 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/1.537, allocations: 11.06 kB / 0.694 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.802e-05/1.537, allocations: 7.625 kB / 0.694 GB, free: 118.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000999/1.538, allocations: 0.7304 MB / 0.6947 GB, free: 118 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/1.54, allocations: 1.15 MB / 0.6958 GB, free: 117.1 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004962/1.54, allocations: 160.2 kB / 0.696 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001806/1.54, allocations: 88.62 kB / 0.6961 GB, free: 117 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003049/1.543, allocations: 2.857 MB / 0.6989 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/1.543, allocations: 33.88 kB / 0.6989 GB, free: 114.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=15): time 3.116e-06/1.543, allocations: 4 kB / 0.6989 GB, free: 114.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=16): time 0.0008312/1.544, allocations: 204 kB / 0.6991 GB, free: 114 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/1.544, allocations: 51.41 kB / 0.6991 GB, free: 113.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/1.545, allocations: 182.4 kB / 0.6993 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.954e-05/1.545, allocations: 34.67 kB / 0.6993 GB, free: 113.8 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001098/1.545, allocations: 273.4 kB / 0.6996 GB, free: 113.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.766e-05/1.545, allocations: 58.64 kB / 0.6997 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.869e-05/1.545, allocations: 9.438 kB / 0.6997 GB, free: 113.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.526e-05/1.545, allocations: 333.1 kB / 0.7 GB, free: 113.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001228/1.545, allocations: 45.66 kB / 0.7 GB, free: 113.2 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002518/1.545, allocations: 306.3 kB / 0.7003 GB, free: 112.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/1.546, allocations: 102.9 kB / 0.7004 GB, free: 112.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.213e-06/1.546, allocations: 7.875 kB / 0.7004 GB, free: 112.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007489/1.546, allocations: 338.5 kB / 0.7008 GB, free: 112.7 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.439e-05/1.546, allocations: 8.594 kB / 0.7008 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/1.546, allocations: 7.75 kB / 0.7008 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.547e-05/1.546, allocations: 19.25 kB / 0.7008 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/1.547, allocations: 112.5 kB / 0.7009 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.29e-05/1.547, allocations: 19.5 kB / 0.7009 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003949/1.548, allocations: 23.56 kB / 0.7009 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.696e-05/1.548, allocations: 32.73 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.0001223/1.548, allocations: 141 kB / 0.7011 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/1.548, allocations: 19.31 kB / 0.7011 GB, free: 112.5 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/1.548, allocations: 180.9 kB / 0.7013 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.682e-05/1.548, allocations: 0 / 0.7013 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/1.548, allocations: 7.953 kB / 0.7013 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/1.548, allocations: 3.875 kB / 0.7013 GB, free: 112.4 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007365/1.549, allocations: 446.4 kB / 0.7017 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.34e-06/1.549, allocations: 3.688 kB / 0.7017 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002727/1.549, allocations: 23.48 kB / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.506e-06/1.549, allocations: 11.77 kB / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.55, allocations: 6.672 kB / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/1.55, allocations: 8.031 kB / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.55, allocations: 3.938 kB / 0.7018 GB, free: 112 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002864/1.55, allocations: 259.2 kB / 0.702 GB, free: 111.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/1.55, allocations: 114.8 kB / 0.7021 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.192e-05/1.55, allocations: 7.922 kB / 0.7021 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003615/1.55, allocations: 7.75 kB / 0.7022 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.843e-05/1.55, allocations: 11.89 kB / 0.7022 GB, free: 111.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.129e-05/1.551, allocations: 14.92 kB / 0.7022 GB, free: 111.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001453/1.551, allocations: 143.1 kB / 0.7023 GB, free: 111.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.551, allocations: 4 kB / 0.7023 GB, free: 111.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007907/1.551, allocations: 97.39 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.0007447/1.552, allocations: 1.075 MB / 0.7035 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0004427/1.553, allocations: 167.8 kB / 0.7036 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/1.553, allocations: 0 / 0.7036 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 7.923e-05/1.553, allocations: 32.03 kB / 0.7037 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000532/1.553, allocations: 46.3 kB / 0.7037 GB, free: 110.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.573, allocations: 5.716 MB / 0.7093 GB, free: 107.1 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001928/1.573, allocations: 0.7319 MB / 0.71 GB, free: 106.4 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001519/1.573, allocations: 68 kB / 0.7101 GB, free: 106.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.172e-06/1.573, allocations: 0 / 0.7101 GB, free: 106.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.51/4.083, allocations: 4.219 MB / 0.7142 GB, free: 102.3 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