Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_FreeBodies2",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.308/2.308, allocations: 235 MB / 241.9 MB, free: 9.766 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1738/2.482, allocations: 57.2 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2998/2.782, allocations: 54.85 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/3.211, allocations: 98.54 MB / 452.5 MB, free: 33.05 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002592/3.211, allocations: 77.91 kB / 452.6 MB, free: 33.04 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.7579/3.969, allocations: 145.7 MB / 0.5843 GB, free: 228 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.574e-05/3.969, allocations: 8 kB / 0.5843 GB, free: 220 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06258/4.032, allocations: 7.193 MB / 0.5913 GB, free: 8.996 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05678/4.089, allocations: 11 MB / 0.6021 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006621/4.089, allocations: 240 kB / 0.6023 GB, free: 13.67 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004336/4.094, allocations: 447.9 kB / 0.6027 GB, free: 13.23 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03673/4.13, allocations: 10.46 MB / 0.6129 GB, free: 2.773 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2704/4.401, allocations: 15.53 MB / 0.6281 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009276/4.402, allocations: 106 kB / 0.6282 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004841/4.407, allocations: 48.94 kB / 0.6283 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006206/4.413, allocations: 1.714 MB / 0.6299 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1822/4.595, allocations: 79.81 MB / 0.7079 GB, free: 60.55 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01088/4.606, allocations: 4.638 MB / 0.7124 GB, free: 59.66 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008269/4.615, allocations: 3.669 MB / 0.716 GB, free: 58.03 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0344/4.649, allocations: 10.9 MB / 0.7266 GB, free: 52.77 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.833e-05/4.649, allocations: 59.94 kB / 0.7267 GB, free: 52.71 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 7.263e-06/4.649, allocations: 0 / 0.7267 GB, free: 52.71 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.09932/4.749, allocations: 22.11 MB / 0.7483 GB, free: 44.46 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001022/4.749, allocations: 228.8 kB / 0.7485 GB, free: 44.21 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01567/4.764, allocations: 5.221 MB / 0.7536 GB, free: 42.32 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001044/4.766, allocations: 25.7 kB / 0.7536 GB, free: 42.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004571/4.77, allocations: 4.754 MB / 0.7583 GB, free: 38.67 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002655/4.773, allocations: 1.154 MB / 0.7594 GB, free: 37.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/4.774, allocations: 0 / 0.7594 GB, free: 37.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0008433/4.775, allocations: 0.7283 MB / 0.7601 GB, free: 37.34 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01114/4.786, allocations: 3.807 MB / 0.7638 GB, free: 36.02 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01577/4.802, allocations: 9.681 MB / 0.7733 GB, free: 26.77 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01782/4.82, allocations: 6.155 MB / 0.7793 GB, free: 24.68 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003257/4.82, allocations: 60.19 kB / 0.7793 GB, free: 24.68 MB / 474.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.07947/4.9, allocations: 14.97 MB / 0.794 GB, free: 15.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/4.9, allocations: 12.06 kB / 0.794 GB, free: 15.09 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04122/4.941, allocations: 7.512 MB / 0.8013 GB, free: 9.031 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03302/4.974, allocations: 3.441 MB / 0.8047 GB, free: 6.578 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02081/4.995, allocations: 2.314 MB / 0.8069 GB, free: 4.562 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2645/5.26, allocations: 12.67 MB / 0.8193 GB, free: 92.71 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01618/5.276, allocations: 0.5208 MB / 0.8198 GB, free: 92.71 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003119/5.279, allocations: 0.6077 MB / 0.8204 GB, free: 92.71 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[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],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 (1219): * Single equations (assignments): 1194 * Array equations: 11 * 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 prepare postOptimizeDAE: time 0.004735/5.284, allocations: 0.641 MB / 0.821 GB, free: 92.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001814/5.286, allocations: 0.5523 MB / 0.8216 GB, free: 92.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03227/5.318, allocations: 7.509 MB / 0.8289 GB, free: 92.36 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03285/5.351, allocations: 6.709 MB / 0.8355 GB, free: 92.16 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.156e-05/5.351, allocations: 7.375 kB / 0.8355 GB, free: 92.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.751e-05/5.351, allocations: 11.06 kB / 0.8355 GB, free: 92.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01771/5.369, allocations: 6.165 MB / 0.8415 GB, free: 91.91 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-05/5.369, allocations: 0 / 0.8415 GB, free: 91.91 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007109/5.376, allocations: 0.5663 MB / 0.842 GB, free: 91.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02007/5.396, allocations: 2.961 MB / 0.8449 GB, free: 91.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001252/5.398, allocations: 63.98 kB / 0.845 GB, free: 91.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03013/5.428, allocations: 13.4 MB / 0.8581 GB, free: 84.48 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005792/5.434, allocations: 5.648 MB / 0.8636 GB, free: 79.32 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03902/5.473, allocations: 11.76 MB / 0.8751 GB, free: 78.57 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04844/5.521, allocations: 15.9 MB / 0.8906 GB, free: 77.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002286/5.524, allocations: 0.5957 MB / 0.8912 GB, free: 76.98 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002797/5.527, allocations: 37.02 kB / 0.8912 GB, free: 76.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007994/5.535, allocations: 214.4 kB / 0.8914 GB, free: 76.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/5.536, allocations: 145.4 kB / 0.8916 GB, free: 76.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004815/5.536, allocations: 91.42 kB / 0.8917 GB, free: 76.98 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01089/5.547, allocations: 3.515 MB / 0.8951 GB, free: 76.21 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01775/5.565, allocations: 1.889 MB / 0.8969 GB, free: 76.21 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * Array equations: 3 * 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%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,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.001563/5.567, allocations: 207.6 kB / 0.8971 GB, free: 76.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0428/5.609, allocations: 10.93 MB / 0.9078 GB, free: 72.15 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.228e-05/5.61, allocations: 5.531 kB / 0.9078 GB, free: 72.15 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01812/5.628, allocations: 5.045 MB / 0.9127 GB, free: 69.67 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007105/5.635, allocations: 0.6794 MB / 0.9134 GB, free: 69.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06852/5.703, allocations: 16.5 MB / 0.9295 GB, free: 63.29 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02068/5.724, allocations: 6.015 MB / 0.9354 GB, free: 59.78 MB / 474.7 MB Notification: Performance of SimCode: time 2.014e-06/5.724, allocations: 0 / 0.9354 GB, free: 59.78 MB / 474.7 MB