Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_BodyShape",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.848/1.848, allocations: 209.3 MB / 216.3 MB, free: 6.809 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2392/2.088, allocations: 51.03 MB / 267.3 MB, free: 5.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/2.211, allocations: 48.69 MB / 316 MB, free: 4.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3365/2.548, allocations: 92.21 MB / 408.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002579/2.548, allocations: 78.14 kB / 408.3 MB, free: 0.6953 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.3899/2.938, allocations: 83.03 MB / 491.3 MB, free: 0.6992 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/2.938, allocations: 16 kB / 491.3 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1852/3.123, allocations: 1.934 MB / 493.2 MB, free: 134.3 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02022/3.143, allocations: 5.241 MB / 498.5 MB, free: 134 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003261/3.144, allocations: 138.5 kB / 498.6 MB, free: 134 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002415/3.146, allocations: 245.5 kB / 498.9 MB, free: 134 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01718/3.163, allocations: 6.171 MB / 0.4932 GB, free: 134 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02618/3.19, allocations: 9.454 MB / 0.5024 GB, free: 131.2 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002767/3.19, allocations: 59.94 kB / 0.5025 GB, free: 131.2 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001641/3.192, allocations: 35.67 kB / 0.5025 GB, free: 131.2 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002255/3.194, allocations: 1.059 MB / 0.5036 GB, free: 131.2 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08059/3.275, allocations: 48.21 MB / 0.5506 GB, free: 97.15 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005737/3.28, allocations: 2.485 MB / 0.5531 GB, free: 95.75 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003437/3.284, allocations: 1.6 MB / 0.5546 GB, free: 95.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0143/3.298, allocations: 5.146 MB / 0.5596 GB, free: 92.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/3.298, allocations: 49.25 kB / 0.5597 GB, free: 92.29 MB / 410.7 MB Notification: Performance of pre-optimization done (n=139): time 5.13e-06/3.298, allocations: 3.438 kB / 0.5597 GB, free: 92.29 MB / 410.7 MB Notification: Performance of matching and sorting (n=157): time 0.05089/3.349, allocations: 12.85 MB / 0.5722 GB, free: 85.4 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.956e-05/3.349, allocations: 148.5 kB / 0.5724 GB, free: 85.23 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008377/3.358, allocations: 3.11 MB / 0.5754 GB, free: 82.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004865/3.358, allocations: 25.7 kB / 0.5755 GB, free: 82.47 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002655/3.361, allocations: 2.99 MB / 0.5784 GB, free: 79.77 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001142/3.362, allocations: 0.6223 MB / 0.579 GB, free: 79.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007403/3.363, allocations: 0 / 0.579 GB, free: 79.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004453/3.363, allocations: 0.5764 MB / 0.5795 GB, free: 78.71 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005898/3.369, allocations: 1.963 MB / 0.5815 GB, free: 76.95 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008079/3.377, allocations: 5.873 MB / 0.5872 GB, free: 69.4 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008414/3.386, allocations: 3.402 MB / 0.5905 GB, free: 66.49 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/3.386, allocations: 40 kB / 0.5906 GB, free: 66.45 MB / 410.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02501/3.411, allocations: 7.558 MB / 0.5979 GB, free: 59.89 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.847e-05/3.411, allocations: 4 kB / 0.5979 GB, free: 59.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009178/3.42, allocations: 2.441 MB / 0.6003 GB, free: 57.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008506/3.429, allocations: 0.99 MB / 0.6013 GB, free: 57.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01384/3.443, allocations: 1.437 MB / 0.6027 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006814/3.45, allocations: 4.136 MB / 0.6067 GB, free: 51.8 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01016/3.46, allocations: 229.1 kB / 0.607 GB, free: 51.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001788/3.462, allocations: 395.7 kB / 0.6073 GB, free: 51.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 643 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (779): * Single equations (assignments): 770 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001916/3.464, allocations: 449.2 kB / 0.6078 GB, free: 50.79 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008504/3.465, allocations: 319.8 kB / 0.6081 GB, free: 50.47 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01382/3.479, allocations: 2.866 MB / 0.6109 GB, free: 48.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01183/3.49, allocations: 2.412 MB / 0.6132 GB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.955e-05/3.491, allocations: 4 kB / 0.6132 GB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.506e-05/3.491, allocations: 6.984 kB / 0.6132 GB, free: 46.19 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03292/3.524, allocations: 8.491 MB / 0.6215 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.309e-05/3.524, allocations: 5.938 kB / 0.6215 GB, free: 38.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/3.527, allocations: 235.7 kB / 0.6217 GB, free: 38.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00639/3.533, allocations: 0.9439 MB / 0.6227 GB, free: 37.67 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004447/3.533, allocations: 23.97 kB / 0.6227 GB, free: 37.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009942/3.543, allocations: 4.616 MB / 0.6272 GB, free: 32.82 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001179/3.545, allocations: 1.36 MB / 0.6285 GB, free: 31.34 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01556/3.56, allocations: 5.601 MB / 0.634 GB, free: 25.59 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01783/3.578, allocations: 7.663 MB / 0.6415 GB, free: 17.78 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/3.579, allocations: 372.8 kB / 0.6418 GB, free: 17.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001617/3.581, allocations: 16 kB / 0.6419 GB, free: 17.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003433/3.584, allocations: 70.45 kB / 0.6419 GB, free: 17.31 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000603/3.585, allocations: 76.58 kB / 0.642 GB, free: 17.24 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002193/3.585, allocations: 55.58 kB / 0.642 GB, free: 17.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.005667/3.591, allocations: 2.069 MB / 0.6441 GB, free: 15.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00891/3.6, allocations: 0.897 MB / 0.6449 GB, free: 14.23 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008376/3.601, allocations: 144.1 kB / 0.6451 GB, free: 14.09 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01484/3.616, allocations: 5.133 MB / 0.6501 GB, free: 8.934 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/3.616, allocations: 4 kB / 0.6501 GB, free: 8.93 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007604/3.623, allocations: 1.979 MB / 0.652 GB, free: 6.883 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/3.627, allocations: 339 kB / 0.6524 GB, free: 6.559 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2221/3.849, allocations: 7.88 MB / 0.66 GB, free: 119.2 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01479/3.864, allocations: 3.601 MB / 0.6636 GB, free: 118.4 MB / 410.7 MB Notification: Performance of SimCode: time 2.735e-06/3.864, allocations: 3.625 kB / 0.6636 GB, free: 118.4 MB / 410.7 MB