Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FlyingBodies,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FlyingBodies",fmuType="me",version="2.0",platforms={"static"}) [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadModel(ModelicaTest): time 1.95/1.95, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2154/2.166, allocations: 51.04 MB / 267.3 MB, free: 5.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/2.27, allocations: 48.69 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3982/2.668, allocations: 89.26 MB / 405.2 MB, free: 3.801 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004061/2.669, allocations: 84.02 kB / 405.3 MB, free: 3.758 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3302 * Number of variables: 3302 Notification: Performance of Generate backend data structure: time 1.182/3.851, allocations: 200.2 MB / 0.5913 GB, free: 39.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/3.851, allocations: 8 kB / 0.5913 GB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09492/3.946, allocations: 10.52 MB / 0.6016 GB, free: 29.31 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0573/4.003, allocations: 11.91 MB / 0.6132 GB, free: 17.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006486/4.004, allocations: 276 kB / 0.6135 GB, free: 17.05 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006151/4.01, allocations: 0.4958 MB / 0.614 GB, free: 16.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04519/4.055, allocations: 15.63 MB / 0.6292 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3743/4.43, allocations: 20.51 MB / 0.6493 GB, free: 101.1 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006003/4.43, allocations: 71.47 kB / 0.6493 GB, free: 101.1 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005231/4.436, allocations: 29.75 kB / 0.6494 GB, free: 101.1 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005418/4.441, allocations: 2.639 MB / 0.6519 GB, free: 101.1 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2041/4.645, allocations: 78.47 MB / 0.7286 GB, free: 68.33 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01642/4.662, allocations: 7.369 MB / 0.7358 GB, free: 65.41 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01431/4.676, allocations: 6.835 MB / 0.7424 GB, free: 62.62 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0701/4.746, allocations: 21.39 MB / 0.7633 GB, free: 53.06 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001531/4.747, allocations: 85.16 kB / 0.7634 GB, free: 52.99 MB / 426.8 MB Notification: Performance of pre-optimization done (n=539): time 1.631e-05/4.747, allocations: 7.844 kB / 0.7634 GB, free: 52.98 MB / 426.8 MB Notification: Performance of matching and sorting (n=567): time 0.1429/4.89, allocations: 33.46 MB / 0.7961 GB, free: 31.71 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.803e-05/4.89, allocations: 253.6 kB / 0.7963 GB, free: 31.42 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01595/4.906, allocations: 5.799 MB / 0.802 GB, free: 26.35 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.00152/4.907, allocations: 29.33 kB / 0.802 GB, free: 26.32 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004714/4.912, allocations: 5.67 MB / 0.8076 GB, free: 21.22 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003819/4.916, allocations: 2.06 MB / 0.8096 GB, free: 19.36 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002559/4.918, allocations: 0 / 0.8096 GB, free: 19.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.001394/4.92, allocations: 0.8764 MB / 0.8104 GB, free: 18.64 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01582/4.936, allocations: 6.346 MB / 0.8166 GB, free: 12.94 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2296/5.165, allocations: 12.97 MB / 0.8293 GB, free: 95.12 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02209/5.188, allocations: 9.216 MB / 0.8383 GB, free: 95.07 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002435/5.188, allocations: 68.19 kB / 0.8383 GB, free: 95.07 MB / 426.8 MB Notification: Performance of matching and sorting (n=1725) (initialization): time 0.09275/5.281, allocations: 20.41 MB / 0.8583 GB, free: 94.33 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/5.281, allocations: 5.125 kB / 0.8583 GB, free: 94.33 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05822/5.339, allocations: 12.74 MB / 0.8707 GB, free: 94.11 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02279/5.362, allocations: 2.926 MB / 0.8736 GB, free: 94.03 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02224/5.384, allocations: 2.999 MB / 0.8765 GB, free: 93.79 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01268/5.397, allocations: 10.06 MB / 0.8863 GB, free: 86.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02362/5.421, allocations: 0.6474 MB / 0.887 GB, free: 86.34 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004528/5.425, allocations: 0.7168 MB / 0.8877 GB, free: 86.34 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1056 * Number of states: 0 () * Number of discrete variables: 45 (fixedFrame3.color_x[3],fixedFrame3.color_x[2],fixedFrame3.color_x[1],fixedFrame2.color_x[3],fixedFrame2.color_x[2],fixedFrame2.color_x[1],fixedFrame1.color_x[3],fixedFrame1.color_x[2],fixedFrame1.color_x[1],fixedFrame.color_x[3],fixedFrame.color_x[2],fixedFrame.color_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1589): * Single equations (assignments): 1555 * Array equations: 20 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006371/5.432, allocations: 0.6944 MB / 0.8883 GB, free: 85.98 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002834/5.434, allocations: 0.6401 MB / 0.889 GB, free: 85.98 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005217/5.44, allocations: 1.065 MB / 0.89 GB, free: 85.92 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04684/5.487, allocations: 12.38 MB / 0.9021 GB, free: 82.62 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.858e-05/5.487, allocations: 3.844 kB / 0.9021 GB, free: 82.62 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001641/5.487, allocations: 24.55 kB / 0.9021 GB, free: 82.62 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02741/5.514, allocations: 9.43 MB / 0.9113 GB, free: 79.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.55e-05/5.514, allocations: 0.8438 kB / 0.9113 GB, free: 79.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01131/5.526, allocations: 0.9089 MB / 0.9122 GB, free: 79.44 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02656/5.552, allocations: 3.246 MB / 0.9154 GB, free: 78.82 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001747/5.554, allocations: 61.5 kB / 0.9155 GB, free: 78.81 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02374/5.578, allocations: 12.93 MB / 0.9281 GB, free: 67.57 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004264/5.582, allocations: 5.502 MB / 0.9335 GB, free: 61.82 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.06481/5.647, allocations: 20.88 MB / 0.9538 GB, free: 43.93 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08626/5.733, allocations: 28.94 MB / 0.9821 GB, free: 18.38 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007258/5.741, allocations: 1.695 MB / 0.9838 GB, free: 16.8 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003547/5.744, allocations: 39.5 kB / 0.9838 GB, free: 16.77 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01102/5.755, allocations: 311.8 kB / 0.9841 GB, free: 16.59 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002127/5.758, allocations: 234.1 kB / 0.9843 GB, free: 16.46 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001537/5.759, allocations: 135.5 kB / 0.9844 GB, free: 16.35 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.01228/5.771, allocations: 3.891 MB / 0.9882 GB, free: 12.99 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01756/5.789, allocations: 2.303 MB / 0.9905 GB, free: 10.69 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 48 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],BodyBox1.v_0[1],BodyBox1.v_0[2],BodyBox1.v_0[3],BodyBox1.body.frame_a.r_0[1],BodyBox1.body.frame_a.r_0[2],BodyBox1.body.frame_a.r_0[3],BodyBox1.body.w_a[1],BodyBox1.body.w_a[2],BodyBox1.body.w_a[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 409 * Array equations: 12 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001967/5.791, allocations: 205 kB / 0.9907 GB, free: 10.5 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2363/6.027, allocations: 16.05 MB / 1.006 GB, free: 101.1 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/6.027, allocations: 1.656 kB / 1.006 GB, free: 101.1 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02209/6.05, allocations: 7.605 MB / 1.014 GB, free: 99.63 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007622/6.057, allocations: 0.6225 MB / 1.014 GB, free: 99.6 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06698/6.124, allocations: 22.59 MB / 1.036 GB, free: 95.37 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02409/6.148, allocations: 7.491 MB / 1.044 GB, free: 94.39 MB / 426.8 MB Notification: Performance of SimCode: time 1.823e-06/6.149, allocations: 0 / 1.044 GB, free: 94.39 MB / 426.8 MB