Running command: "" <> buildModelFMU(ModelicaTest.Rotational.InitializationConversion.Inertia,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_Rotational_InitializationConversion_Inertia",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.484/2.484, allocations: 270 MB / 282.6 MB, free: 1.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.976e-05/3.986e-05, allocations: 0 / 347 MB, free: 3.203 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4283, allocations: 61.87 MB / 408.9 MB, free: 10.71 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1614/0.5898, allocations: 87.19 MB / 496.1 MB, free: 3.406 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.5901, allocations: 71.95 kB / 496.2 MB, free: 3.336 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0321/0.6222, allocations: 7.294 MB / 0.4917 GB, free: 12.03 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.6223, allocations: 0 / 0.4917 GB, free: 12.03 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.059e-05/0.6223, allocations: 8 kB / 0.4917 GB, free: 12.02 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: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001319/0.6237, allocations: 0.6037 MB / 0.4923 GB, free: 11.37 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.77e-05/0.6237, allocations: 8.031 kB / 0.4923 GB, free: 11.36 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001528/0.6239, allocations: 90.45 kB / 0.4924 GB, free: 11.27 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001431/0.6241, allocations: 55.34 kB / 0.4924 GB, free: 11.21 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.6243, allocations: 218.4 kB / 0.4926 GB, free: 10.96 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.762e-05/0.6244, allocations: 33.34 kB / 0.4926 GB, free: 10.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001256/0.6245, allocations: 59.86 kB / 0.4927 GB, free: 10.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.6256, allocations: 440.5 kB / 0.4931 GB, free: 10.41 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.547e-05/0.6256, allocations: 11.84 kB / 0.4931 GB, free: 10.39 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.737e-05/0.6257, allocations: 24 kB / 0.4932 GB, free: 10.37 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.228e-05/0.6258, allocations: 12 kB / 0.4932 GB, free: 10.36 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006867/0.6265, allocations: 235.8 kB / 0.4934 GB, free: 10.13 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00371/0.6302, allocations: 1.703 MB / 0.4951 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008141/0.6311, allocations: 399.5 kB / 0.4954 GB, free: 7.871 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003204/0.6314, allocations: 147.7 kB / 0.4956 GB, free: 7.699 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.093e-05/0.6315, allocations: 8.625 kB / 0.4956 GB, free: 7.691 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.457e-05/0.6315, allocations: 54.48 kB / 0.4956 GB, free: 7.629 MB / 426.7 MB Notification: Performance of pre-optimization done (n=42): time 4.358e-06/0.6315, allocations: 0 / 0.4956 GB, free: 7.629 MB / 426.7 MB Notification: Performance of matching and sorting (n=42): time 0.0009731/0.6325, allocations: 273.1 kB / 0.4959 GB, free: 7.355 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.6327, allocations: 273.1 kB / 0.4962 GB, free: 7.027 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.6331, allocations: 219.1 kB / 0.4964 GB, free: 6.801 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.21e-05/0.6332, allocations: 33.7 kB / 0.4964 GB, free: 6.762 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002175/0.6334, allocations: 298 kB / 0.4967 GB, free: 6.469 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.6336, allocations: 177.5 kB / 0.4969 GB, free: 6.293 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.6336, allocations: 16 kB / 0.4969 GB, free: 6.277 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.6338, allocations: 342.8 kB / 0.4972 GB, free: 5.934 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00032/0.6341, allocations: 105.6 kB / 0.4973 GB, free: 5.832 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005626/0.6347, allocations: 405.9 kB / 0.4977 GB, free: 5.297 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004646/0.6352, allocations: 175.8 kB / 0.4979 GB, free: 5.125 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.6352, allocations: 4 kB / 0.4979 GB, free: 5.121 MB / 426.7 MB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001323/0.6366, allocations: 0.5164 MB / 0.4984 GB, free: 4.598 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.203e-05/0.6366, allocations: 8 kB / 0.4984 GB, free: 4.59 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.168e-05/0.6366, allocations: 12 kB / 0.4984 GB, free: 4.578 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.057e-05/0.6367, allocations: 16.81 kB / 0.4984 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.6378, allocations: 179.7 kB / 0.4986 GB, free: 4.387 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.164e-05/0.6379, allocations: 20.27 kB / 0.4986 GB, free: 4.367 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005084/0.6384, allocations: 63.38 kB / 0.4987 GB, free: 4.305 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.645e-05/0.6385, allocations: 32 kB / 0.4987 GB, free: 4.273 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 86 * Array equations: 0 * 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.0001873/0.6387, allocations: 160.6 kB / 0.4988 GB, free: 4.109 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002585/0.6389, allocations: 39.56 kB / 0.4989 GB, free: 4.07 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.6391, allocations: 41.83 kB / 0.4989 GB, free: 4.027 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.6391, allocations: 4 kB / 0.4989 GB, free: 4.023 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.408e-05/0.6391, allocations: 8 kB / 0.4989 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.047e-05/0.6391, allocations: 4 kB / 0.4989 GB, free: 4.012 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001669/0.6408, allocations: 417.1 kB / 0.4993 GB, free: 3.555 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.506e-06/0.6409, allocations: 4 kB / 0.4993 GB, free: 3.551 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001259/0.6421, allocations: 124.1 kB / 0.4994 GB, free: 3.43 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.535e-05/0.6422, allocations: 4 kB / 0.4995 GB, free: 3.426 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.919e-05/0.6422, allocations: 19.98 kB / 0.4995 GB, free: 3.406 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.227e-06/0.6423, allocations: 4 kB / 0.4995 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.962e-06/0.6423, allocations: 4 kB / 0.4995 GB, free: 3.398 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.6436, allocations: 1.165 MB / 0.5006 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001441/0.6438, allocations: 112.6 kB / 0.5007 GB, free: 2.031 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.844e-05/0.6439, allocations: 12 kB / 0.5007 GB, free: 2.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006456/0.6446, allocations: 8 kB / 0.5007 GB, free: 2.012 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.374e-05/0.6447, allocations: 43.84 kB / 0.5008 GB, free: 1.969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.104e-05/0.6447, allocations: 15.94 kB / 0.5008 GB, free: 1.953 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002443/0.645, allocations: 167.1 kB / 0.501 GB, free: 1.789 MB / 426.7 MB Notification: Performance of sort global known variables: time 4e-07/0.645, allocations: 0 / 0.501 GB, free: 1.789 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001241/0.6462, allocations: 135.7 kB / 0.5011 GB, free: 1.656 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 24 (inertia1.phi,inertia1.w,inertia3.phi,inertia3.w,inertia4.phi,inertia4.w,inertia5.phi,inertia5.w,inertia2.phi,inertia2.w,inertia7.phi,inertia7.w,inertia7a.phi,inertia7a.w,inertia6.phi,inertia6.w,inertia8.phi,inertia8.w,inertia8a.phi,inertia8a.w,inertia9.phi,inertia9.w,inertia9a.phi,inertia9a.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 42 * Array equations: 0 * 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.001906/0.6482, allocations: 2.269 MB / 0.5033 GB, free: 15.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0009122/0.6491, allocations: 317.5 kB / 0.5036 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.12e-06/0.6492, allocations: 0 / 0.5036 GB, free: 15.02 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002834/0.6495, allocations: 123.8 kB / 0.5037 GB, free: 14.89 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001304/0.6508, allocations: 86.45 kB / 0.5038 GB, free: 14.81 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00548/0.6563, allocations: 2.154 MB / 0.5059 GB, free: 12.59 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005732/0.6569, allocations: 0.8395 MB / 0.5067 GB, free: 11.72 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003292/0.6573, allocations: 147.4 kB / 0.5069 GB, free: 11.57 MB / 442.7 MB Notification: Performance of SimCode: time 1.423e-06/0.6573, allocations: 0 / 0.5069 GB, free: 11.57 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.418/3.075, allocations: 6.746 MB / 0.5135 GB, free: 4.832 MB / 442.7 MB