Running command: "" <> buildModelFMU(ModelicaTest.Media.TestAllProperties.SimpleAir,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Media_TestAllProperties_SimpleAir",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.737/2.737, allocations: 270 MB / 282.6 MB, free: 1.836 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.595e-05/3.611e-05, allocations: 4 kB / 347 MB, free: 3.145 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4059/0.406, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.288/1.694, allocations: 378.7 MB / 0.7691 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/1.694, allocations: 75.2 kB / 0.7692 GB, free: 145.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.07924/1.773, allocations: 21.68 MB / 0.7904 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.934e-06/1.773, allocations: 4 kB / 0.7904 GB, free: 127.9 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.532e-05/1.773, allocations: 4 kB / 0.7904 GB, free: 127.9 MB / 0.5261 GB 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.001261/1.775, allocations: 0.5628 MB / 0.7909 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/1.775, allocations: 12.03 kB / 0.7909 GB, free: 127.3 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.372e-05/1.775, allocations: 55.98 kB / 0.791 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001775/1.775, allocations: 27.8 kB / 0.791 GB, free: 127.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/1.775, allocations: 237.5 kB / 0.7913 GB, free: 126.9 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/1.775, allocations: 122.3 kB / 0.7914 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.863e-05/1.775, allocations: 18.88 kB / 0.7914 GB, free: 126.8 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/1.776, allocations: 310.3 kB / 0.7917 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/1.776, allocations: 0 / 0.7917 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.251e-05/1.776, allocations: 15.5 kB / 0.7917 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.951e-05/1.776, allocations: 8 kB / 0.7917 GB, free: 126.5 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001014/1.777, allocations: 0.7269 MB / 0.7924 GB, free: 125.9 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/1.779, allocations: 1.152 MB / 0.7935 GB, free: 124.8 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004728/1.779, allocations: 166 kB / 0.7937 GB, free: 124.7 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/1.779, allocations: 82.31 kB / 0.7938 GB, free: 124.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002864/1.782, allocations: 2.85 MB / 0.7966 GB, free: 121.4 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/1.782, allocations: 41.81 kB / 0.7966 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=15): time 2.705e-06/1.782, allocations: 0 / 0.7966 GB, free: 121.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=16): time 0.0007859/1.783, allocations: 199.1 kB / 0.7968 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/1.783, allocations: 55.41 kB / 0.7968 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/1.783, allocations: 201.8 kB / 0.797 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.593e-05/1.784, allocations: 29.2 kB / 0.7971 GB, free: 120.9 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.904e-05/1.784, allocations: 268.1 kB / 0.7973 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/1.784, allocations: 65.44 kB / 0.7974 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.061e-05/1.784, allocations: 7.188 kB / 0.7974 GB, free: 120.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.173e-05/1.784, allocations: 325.8 kB / 0.7977 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/1.784, allocations: 51.23 kB / 0.7977 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000231/1.784, allocations: 312.9 kB / 0.798 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002126/1.784, allocations: 98.14 kB / 0.7981 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/1.784, allocations: 4 kB / 0.7981 GB, free: 119.7 MB / 0.5261 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007164/1.785, allocations: 340.4 kB / 0.7985 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/1.785, allocations: 8 kB / 0.7985 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.785, allocations: 8 kB / 0.7985 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.221e-05/1.785, allocations: 19.98 kB / 0.7985 GB, free: 119.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006228/1.786, allocations: 104.3 kB / 0.7986 GB, free: 119.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.304e-05/1.786, allocations: 23.92 kB / 0.7986 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003781/1.786, allocations: 23.09 kB / 0.7986 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.52e-05/1.786, allocations: 31.45 kB / 0.7987 GB, free: 119.2 MB / 0.5261 GB 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.0001088/1.787, allocations: 135.7 kB / 0.7988 GB, free: 119.1 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6e-05/1.787, allocations: 19.81 kB / 0.7988 GB, free: 119 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004853/1.787, allocations: 183.6 kB / 0.799 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.445e-05/1.787, allocations: 0 / 0.799 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/1.787, allocations: 0 / 0.799 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/1.787, allocations: 0 / 0.799 GB, free: 118.9 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006721/1.788, allocations: 452.3 kB / 0.7994 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.788, allocations: 4 kB / 0.7994 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/1.788, allocations: 23.98 kB / 0.7995 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.133e-06/1.788, allocations: 4 kB / 0.7995 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.788, allocations: 3.5 kB / 0.7995 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/1.788, allocations: 4 kB / 0.7995 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/1.788, allocations: 7.891 kB / 0.7995 GB, free: 118.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/1.789, allocations: 269.4 kB / 0.7997 GB, free: 118.1 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.789, allocations: 104.6 kB / 0.7998 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.876e-05/1.789, allocations: 11.69 kB / 0.7998 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003322/1.789, allocations: 11.92 kB / 0.7999 GB, free: 118 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.94e-05/1.789, allocations: 11.69 kB / 0.7999 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.911e-05/1.789, allocations: 11.98 kB / 0.7999 GB, free: 117.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001517/1.789, allocations: 151.7 kB / 0.8 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.21e-07/1.789, allocations: 0 / 0.8 GB, free: 117.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007371/1.79, allocations: 94.62 kB / 0.8001 GB, free: 117.7 MB / 0.5261 GB 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.0007587/1.791, allocations: 1.075 MB / 0.8012 GB, free: 116.6 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000421/1.791, allocations: 158.8 kB / 0.8013 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.791, allocations: 0 / 0.8013 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/1.791, allocations: 38.88 kB / 0.8013 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005244/1.792, allocations: 56 kB / 0.8014 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01948/1.811, allocations: 5.887 MB / 0.8072 GB, free: 111.6 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001847/1.812, allocations: 0.7365 MB / 0.8079 GB, free: 110.9 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001357/1.812, allocations: 65.91 kB / 0.8079 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/1.812, allocations: 0 / 0.8079 GB, free: 110.8 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.579/4.391, allocations: 4.22 MB / 0.8121 GB, free: 106.6 MB / 0.5261 GB