Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_LineForceWithMass",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.063/2.063, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2164/2.279, allocations: 51.03 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/2.398, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3507/2.748, allocations: 97.5 MB / 413.5 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003551/2.749, allocations: 80.02 kB / 413.6 MB, free: 11.47 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.8125/3.561, allocations: 112.6 MB / 0.5138 GB, free: 84.19 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.413e-05/3.561, allocations: 10.47 kB / 0.5138 GB, free: 84.19 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0571/3.619, allocations: 6.525 MB / 0.5202 GB, free: 83.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02835/3.647, allocations: 7.13 MB / 0.5272 GB, free: 82.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003544/3.647, allocations: 174.9 kB / 0.5273 GB, free: 82.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003101/3.65, allocations: 335.5 kB / 0.5277 GB, free: 82.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02331/3.674, allocations: 8.348 MB / 0.5358 GB, free: 80.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03716/3.711, allocations: 12.27 MB / 0.5478 GB, free: 74.63 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003766/3.711, allocations: 72.02 kB / 0.5479 GB, free: 74.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002533/3.714, allocations: 38.28 kB / 0.5479 GB, free: 74.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003509/3.718, allocations: 1.447 MB / 0.5493 GB, free: 74.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/3.821, allocations: 61.85 MB / 0.6097 GB, free: 15.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008355/3.829, allocations: 4.221 MB / 0.6138 GB, free: 10.87 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006842/3.836, allocations: 3.343 MB / 0.6171 GB, free: 7.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03524/3.872, allocations: 13.18 MB / 0.63 GB, free: 9.977 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001083/3.872, allocations: 60.56 kB / 0.63 GB, free: 9.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 7.234e-06/3.872, allocations: 4 kB / 0.63 GB, free: 9.906 MB / 426.7 MB Notification: Performance of matching and sorting (n=264): time 0.275/4.147, allocations: 23.08 MB / 0.6526 GB, free: 136.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.419e-05/4.147, allocations: 264 kB / 0.6528 GB, free: 136.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00975/4.157, allocations: 3.904 MB / 0.6566 GB, free: 135.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007204/4.157, allocations: 28.64 kB / 0.6567 GB, free: 135.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003593/4.161, allocations: 3.637 MB / 0.6602 GB, free: 133.7 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001656/4.163, allocations: 0.9617 MB / 0.6612 GB, free: 133.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009764/4.164, allocations: 0 / 0.6612 GB, free: 133.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0008088/4.165, allocations: 0.6223 MB / 0.6618 GB, free: 132.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006802/4.171, allocations: 2.52 MB / 0.6642 GB, free: 132.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01002/4.181, allocations: 6.971 MB / 0.671 GB, free: 127.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/4.192, allocations: 4.175 MB / 0.6751 GB, free: 127 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002175/4.192, allocations: 45.88 kB / 0.6751 GB, free: 127 MB / 426.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.03194/4.224, allocations: 8.917 MB / 0.6839 GB, free: 124.8 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/4.224, allocations: 8.828 kB / 0.6839 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002806/4.224, allocations: 157.4 kB / 0.684 GB, free: 124.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002295/4.227, allocations: 0.5936 MB / 0.6846 GB, free: 124.7 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01222/4.239, allocations: 1.76 MB / 0.6863 GB, free: 124.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009165/4.248, allocations: 5.325 MB / 0.6915 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009119/4.257, allocations: 227.6 kB / 0.6917 GB, free: 120.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002011/4.259, allocations: 455.9 kB / 0.6922 GB, free: 120.8 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 723 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.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 (943): * Single equations (assignments): 938 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003154/4.262, allocations: 0.5079 MB / 0.6927 GB, free: 120.4 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001469/4.264, allocations: 432.7 kB / 0.6931 GB, free: 120.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01329/4.277, allocations: 3.903 MB / 0.6969 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001085/4.277, allocations: 23.5 kB / 0.6969 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.716e-05/4.277, allocations: 3.906 kB / 0.6969 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.27e-05/4.278, allocations: 14.86 kB / 0.6969 GB, free: 118.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03321/4.311, allocations: 9.156 MB / 0.7059 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.864e-05/4.311, allocations: 5.844 kB / 0.7059 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00528/4.316, allocations: 443 kB / 0.7063 GB, free: 115.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001999/4.318, allocations: 344.5 kB / 0.7066 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007255/4.319, allocations: 10.61 kB / 0.7066 GB, free: 115.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008155/4.327, allocations: 4.627 MB / 0.7112 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/4.327, allocations: 7.625 kB / 0.7112 GB, free: 111.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0183/4.346, allocations: 7.154 MB / 0.7181 GB, free: 106.2 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02346/4.369, allocations: 10.2 MB / 0.7281 GB, free: 96.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003134/4.372, allocations: 0.7846 MB / 0.7289 GB, free: 96.21 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001488/4.374, allocations: 3.844 kB / 0.7289 GB, free: 96.21 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004565/4.378, allocations: 89.8 kB / 0.729 GB, free: 96.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008392/4.379, allocations: 121.5 kB / 0.7291 GB, free: 96.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000386/4.38, allocations: 75.45 kB / 0.7292 GB, free: 96.02 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.008231/4.388, allocations: 2.637 MB / 0.7317 GB, free: 93.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01726/4.405, allocations: 1.105 MB / 0.7328 GB, free: 92.63 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 220 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/4.407, allocations: 152.5 kB / 0.733 GB, free: 92.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02208/4.429, allocations: 6.203 MB / 0.739 GB, free: 86.82 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.173e-05/4.429, allocations: 0 / 0.739 GB, free: 86.82 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007381/4.436, allocations: 2.146 MB / 0.7411 GB, free: 84.83 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006699/4.443, allocations: 457.2 kB / 0.7415 GB, free: 84.44 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04883/4.492, allocations: 10.18 MB / 0.7515 GB, free: 75.34 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01955/4.512, allocations: 4.584 MB / 0.756 GB, free: 71.87 MB / 426.7 MB Notification: Performance of SimCode: time 2.104e-06/4.512, allocations: 0 / 0.756 GB, free: 71.87 MB / 426.7 MB