Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_2_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 2.35/2.35, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1673/2.517, allocations: 57.2 MB / 299.1 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/2.785, allocations: 54.85 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.431/3.216, allocations: 98.71 MB / 452.7 MB, free: 33.09 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002377/3.216, allocations: 80.19 kB / 452.8 MB, free: 33.08 MB / 378.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.3567/3.573, allocations: 83.2 MB / 0.5234 GB, free: 14.93 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.45e-05/3.573, allocations: 8 kB / 0.5234 GB, free: 14.92 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02563/3.599, allocations: 1.956 MB / 0.5253 GB, free: 12.96 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02372/3.622, allocations: 5.254 MB / 0.5304 GB, free: 7.637 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008121/3.623, allocations: 132 kB / 0.5306 GB, free: 7.508 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00273/3.626, allocations: 243.9 kB / 0.5308 GB, free: 7.27 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02038/3.647, allocations: 6.178 MB / 0.5368 GB, free: 1.082 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03243/3.679, allocations: 9.448 MB / 0.5461 GB, free: 6.574 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002989/3.679, allocations: 67.39 kB / 0.5461 GB, free: 6.508 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002177/3.682, allocations: 32 kB / 0.5462 GB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002817/3.684, allocations: 1.061 MB / 0.5472 GB, free: 5.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09605/3.781, allocations: 48.21 MB / 0.5943 GB, free: 3.484 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006323/3.787, allocations: 2.478 MB / 0.5967 GB, free: 0.8594 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004414/3.791, allocations: 1.608 MB / 0.5983 GB, free: 15.24 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02202/3.814, allocations: 5.149 MB / 0.6033 GB, free: 9.938 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.555e-05/3.814, allocations: 55.27 kB / 0.6033 GB, free: 9.875 MB / 474.7 MB Notification: Performance of pre-optimization done (n=139): time 8.616e-06/3.814, allocations: 0 / 0.6033 GB, free: 9.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=157): time 0.2568/4.071, allocations: 12.84 MB / 0.6159 GB, free: 151.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.383e-05/4.071, allocations: 146.4 kB / 0.616 GB, free: 151.1 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/4.081, allocations: 3.114 MB / 0.6191 GB, free: 150.8 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005511/4.082, allocations: 25.7 kB / 0.6191 GB, free: 150.7 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003464/4.085, allocations: 2.988 MB / 0.622 GB, free: 149.2 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001114/4.087, allocations: 0.6279 MB / 0.6226 GB, free: 148.9 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007514/4.087, allocations: 0 / 0.6226 GB, free: 148.9 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004236/4.088, allocations: 0.5665 MB / 0.6232 GB, free: 148.6 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005411/4.093, allocations: 1.975 MB / 0.6251 GB, free: 148.6 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01377/4.107, allocations: 5.88 MB / 0.6308 GB, free: 143.5 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009471/4.117, allocations: 3.403 MB / 0.6342 GB, free: 143.5 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000144/4.117, allocations: 41.94 kB / 0.6342 GB, free: 143.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=814) (initialization): time 0.02516/4.142, allocations: 7.643 MB / 0.6417 GB, free: 142.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.775e-05/4.142, allocations: 7.031 kB / 0.6417 GB, free: 142.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009346/4.151, allocations: 2.507 MB / 0.6441 GB, free: 142.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006666/4.158, allocations: 1.067 MB / 0.6452 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0125/4.171, allocations: 1.423 MB / 0.6466 GB, free: 142.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009185/4.18, allocations: 4.496 MB / 0.651 GB, free: 140.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007645/4.188, allocations: 225.2 kB / 0.6512 GB, free: 140.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001655/4.189, allocations: 396.8 kB / 0.6515 GB, free: 140.1 MB / 474.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 (776): * Single equations (assignments): 767 * 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 {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 prepare postOptimizeDAE: time 0.002425/4.192, allocations: 454.2 kB / 0.652 GB, free: 139.8 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001114/4.193, allocations: 319.9 kB / 0.6523 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/4.204, allocations: 2.872 MB / 0.6551 GB, free: 139.5 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00968/4.213, allocations: 2.416 MB / 0.6574 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.676e-05/4.214, allocations: 0 / 0.6574 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-05/4.214, allocations: 10.55 kB / 0.6575 GB, free: 139.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03115/4.245, allocations: 8.49 MB / 0.6657 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-05/4.245, allocations: 3.875 kB / 0.6658 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003128/4.248, allocations: 240.3 kB / 0.666 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0075/4.256, allocations: 0.9403 MB / 0.6669 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000679/4.256, allocations: 25.98 kB / 0.6669 GB, free: 138 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009325/4.266, allocations: 4.604 MB / 0.6714 GB, free: 135 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00106/4.267, allocations: 1.364 MB / 0.6728 GB, free: 133.7 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01516/4.282, allocations: 5.597 MB / 0.6782 GB, free: 131.1 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02001/4.302, allocations: 7.669 MB / 0.6857 GB, free: 127.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001549/4.304, allocations: 370.3 kB / 0.6861 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001365/4.305, allocations: 18.89 kB / 0.6861 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005133/4.31, allocations: 70.36 kB / 0.6861 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009779/4.311, allocations: 81.33 kB / 0.6862 GB, free: 127.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004518/4.312, allocations: 53.62 kB / 0.6863 GB, free: 127.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009091/4.321, allocations: 2.067 MB / 0.6883 GB, free: 126.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01012/4.331, allocations: 0.8986 MB / 0.6892 GB, free: 126.5 MB / 474.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.0008662/4.332, allocations: 154.9 kB / 0.6893 GB, free: 126.4 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01706/4.349, allocations: 5.3 MB / 0.6945 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/4.349, allocations: 1.281 kB / 0.6945 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007664/4.357, allocations: 1.977 MB / 0.6964 GB, free: 123.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003683/4.361, allocations: 337.1 kB / 0.6967 GB, free: 123.5 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02858/4.389, allocations: 7.878 MB / 0.7044 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01212/4.401, allocations: 3.599 MB / 0.708 GB, free: 115.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.215e-06/4.401, allocations: 0 / 0.708 GB, free: 115.4 MB / 474.7 MB