Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Joints,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_InitializationConversion_Joints",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.18/2.18, allocations: 209.3 MB / 216.3 MB, free: 8.418 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1656/2.345, allocations: 51.03 MB / 267.3 MB, free: 5.695 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/2.698, allocations: 48.69 MB / 316 MB, free: 15.59 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1878/2.886, allocations: 99.54 MB / 415.5 MB, free: 1.508 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004054/2.887, allocations: 73.19 kB / 415.6 MB, free: 1.438 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3966 * Number of variables: 3966 Notification: Performance of Generate backend data structure: time 1.743/4.63, allocations: 263.2 MB / 0.6628 GB, free: 19.37 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.525e-05/4.63, allocations: 7.625 kB / 0.6629 GB, free: 19.37 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2181/4.848, allocations: 25.51 MB / 0.6878 GB, free: 18.39 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.118/4.966, allocations: 27.24 MB / 0.7144 GB, free: 16.29 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001425/4.968, allocations: 387.4 kB / 0.7147 GB, free: 16.29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008635/4.976, allocations: 0.7369 MB / 0.7155 GB, free: 16.27 MB / 430.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05048/5.027, allocations: 16.69 MB / 0.7318 GB, free: 5.199 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1091/5.136, allocations: 24.97 MB / 0.7561 GB, free: 13.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001771/5.138, allocations: 171.9 kB / 0.7563 GB, free: 13.37 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006356/5.144, allocations: 60 kB / 0.7564 GB, free: 13.31 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008849/5.153, allocations: 2.641 MB / 0.7589 GB, free: 10.71 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6763/5.83, allocations: 120.7 MB / 0.8768 GB, free: 37.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03608/5.866, allocations: 11.21 MB / 0.8878 GB, free: 34.21 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.02465/5.89, allocations: 9.74 MB / 0.8973 GB, free: 29.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06935/5.96, allocations: 25.5 MB / 0.9222 GB, free: 17.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001036/5.96, allocations: 94.22 kB / 0.9223 GB, free: 17.31 MB / 462.1 MB Notification: Performance of pre-optimization done (n=544): time 1.076e-05/5.96, allocations: 0 / 0.9223 GB, free: 17.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=757): time 0.8281/6.788, allocations: 105.2 MB / 1.025 GB, free: 92.67 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002285/6.788, allocations: 0.6555 MB / 1.026 GB, free: 91.94 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02601/6.814, allocations: 8.398 MB / 1.034 GB, free: 91.28 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.003256/6.818, allocations: 32.67 kB / 1.034 GB, free: 91.25 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.007915/6.826, allocations: 6.78 MB / 1.04 GB, free: 87.55 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.007165/6.833, allocations: 2.659 MB / 1.043 GB, free: 85.89 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004056/6.837, allocations: 0 / 1.043 GB, free: 85.89 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.001869/6.839, allocations: 0.9249 MB / 1.044 GB, free: 85.55 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02752/6.867, allocations: 9.706 MB / 1.053 GB, free: 80.79 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03751/6.904, allocations: 16.7 MB / 1.07 GB, free: 62.17 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03324/6.938, allocations: 12.69 MB / 1.082 GB, free: 51.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003002/6.938, allocations: 68 kB / 1.082 GB, free: 51.46 MB / 462.1 MB Notification: Performance of matching and sorting (n=1898) (initialization): time 0.5013/7.439, allocations: 41.27 MB / 1.122 GB, free: 86.25 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/7.439, allocations: 3.938 kB / 1.122 GB, free: 86.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2053/7.645, allocations: 30.63 MB / 1.152 GB, free: 85.97 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1768/7.821, allocations: 16.58 MB / 1.169 GB, free: 85.86 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02867/7.85, allocations: 3.152 MB / 1.172 GB, free: 85.86 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2408/8.091, allocations: 56.81 MB / 1.227 GB, free: 51.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03038/8.122, allocations: 0.7431 MB / 1.228 GB, free: 50.68 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005218/8.127, allocations: 0.7972 MB / 1.229 GB, free: 49.93 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1091 * Number of states: 0 () * Number of discrete variables: 108 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],bodyBox8.color[3],bodyBox8.color[2],bodyBox8.color[1],bodyBox8.body.sphereColor[3],bodyBox8.body.sphereColor[2],bodyBox8.body.sphereColor[1],bodyBox7.color[3],bodyBox7.color[2],bodyBox7.color[1],bodyBox7.body.sphereColor[3],bodyBox7.body.sphereColor[2],bodyBox7.body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],bodyBox6.color[3],bodyBox6.color[2],bodyBox6.color[1],bodyBox6.body.sphereColor[3],bodyBox6.body.sphereColor[2],bodyBox6.body.sphereColor[1],planar.cylinderColor[3],planar.cylinderColor[2],planar.cylinderColor[1],planar.boxColor[3],planar.boxColor[2],planar.boxColor[1],planar.revolute.cylinderColor[3],planar.revolute.cylinderColor[2],planar.revolute.cylinderColor[1],planar.prismatic_y.boxColor[3],planar.prismatic_y.boxColor[2],planar.prismatic_y.boxColor[1],planar.prismatic_x.boxColor[3],planar.prismatic_x.boxColor[2],planar.prismatic_x.boxColor[1],bodyBox5.color[3],bodyBox5.color[2],bodyBox5.color[1],bodyBox5.body.sphereColor[3],bodyBox5.body.sphereColor[2],bodyBox5.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],bodyBox4.color[3],bodyBox4.color[2],bodyBox4.color[1],bodyBox4.body.sphereColor[3],bodyBox4.body.sphereColor[2],bodyBox4.body.sphereColor[1],bodyBox3.color[3],bodyBox3.color[2],bodyBox3.color[1],bodyBox3.body.sphereColor[3],bodyBox3.body.sphereColor[2],bodyBox3.body.sphereColor[1],cylindrical.cylinderColor[3],cylindrical.cylinderColor[2],cylindrical.cylinderColor[1],cylindrical.revolute.cylinderColor[3],cylindrical.revolute.cylinderColor[2],cylindrical.revolute.cylinderColor[1],cylindrical.prismatic.boxColor[3],cylindrical.prismatic.boxColor[2],cylindrical.prismatic.boxColor[1],actuatedPrismatic.boxColor[3],actuatedPrismatic.boxColor[2],actuatedPrismatic.boxColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],actuatedRevolute.cylinderColor[3],actuatedRevolute.cylinderColor[2],actuatedRevolute.cylinderColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (1626): * Single equations (assignments): 1614 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(20,67.5%) 194} * Non-linear torn systems: 2 {4 9,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.009099/8.136, allocations: 0.7535 MB / 1.229 GB, free: 49.58 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.006925/8.143, allocations: 1.027 MB / 1.23 GB, free: 49.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3607/8.504, allocations: 27.83 MB / 1.258 GB, free: 81.58 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1279/8.632, allocations: 25.03 MB / 1.282 GB, free: 81.32 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001506/8.632, allocations: 40.12 kB / 1.282 GB, free: 81.32 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002849/8.632, allocations: 37.14 kB / 1.282 GB, free: 81.32 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2451/8.877, allocations: 56.1 MB / 1.337 GB, free: 72.75 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001281/8.877, allocations: 6.406 kB / 1.337 GB, free: 72.75 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.02162/8.899, allocations: 1.07 MB / 1.338 GB, free: 72.71 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.09191/8.991, allocations: 10.97 MB / 1.349 GB, free: 70.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004351/8.996, allocations: 55.53 kB / 1.349 GB, free: 70.52 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2167/9.212, allocations: 48.25 MB / 1.396 GB, free: 36.42 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00291/9.215, allocations: 1.607 MB / 1.397 GB, free: 34.8 MB / 462.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4047/9.62, allocations: 41.95 MB / 1.438 GB, free: 80.96 MB / 462.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1824/9.803, allocations: 55 MB / 1.492 GB, free: 72.25 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01256/9.815, allocations: 2.792 MB / 1.495 GB, free: 71.19 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006847/9.822, allocations: 24.89 kB / 1.495 GB, free: 71.18 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02196/9.844, allocations: 400.9 kB / 1.495 GB, free: 71.18 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003585/9.848, allocations: 366 kB / 1.496 GB, free: 71.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002238/9.85, allocations: 193.4 kB / 1.496 GB, free: 71.07 MB / 462.1 MB Notification: Performance of sort global known variables: time 0.01741/9.867, allocations: 5.911 MB / 1.502 GB, free: 69.05 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.02998/9.898, allocations: 3.789 MB / 1.505 GB, free: 69.05 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 40 ($STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],revolute.phi,revolute.w,actuatedRevolute.phi,actuatedRevolute.w,prismatic.s,prismatic.v,actuatedPrismatic.s,actuatedPrismatic.v,cylindrical.s,cylindrical.phi,cylindrical.v,cylindrical.w,universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,planar.s_x,planar.s_y,planar.phi,planar.v_x,planar.v_y,planar.w,bodyBox7.body.w_a[1],bodyBox7.body.w_a[2],bodyBox7.body.w_a[3],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 (519): * Single equations (assignments): 510 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(21,63.9%) 190} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003163/9.901, allocations: 206 kB / 1.505 GB, free: 68.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.09681/9.998, allocations: 25 MB / 1.53 GB, free: 47.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/9.998, allocations: 0.7812 kB / 1.53 GB, free: 47.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.04907/10.05, allocations: 12.4 MB / 1.542 GB, free: 36.52 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01584/10.06, allocations: 1.327 MB / 1.543 GB, free: 35.46 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3857/10.45, allocations: 33.2 MB / 1.576 GB, free: 72.38 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.05493/10.5, allocations: 10.31 MB / 1.586 GB, free: 71.33 MB / 462.1 MB Notification: Performance of SimCode: time 1.753e-06/10.5, allocations: 0 / 1.586 GB, free: 71.33 MB / 462.1 MB