Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.LineForceWithMass,fileNamePrefix="ModelicaTest_3_2_2_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.216/2.216, allocations: 235 MB / 241.9 MB, free: 9.801 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.226/2.442, allocations: 57.2 MB / 299.1 MB, free: 500 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2799/2.722, allocations: 54.85 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4617/3.184, allocations: 104.1 MB / 458.1 MB, free: 34.76 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/3.185, allocations: 78 kB / 458.2 MB, free: 34.76 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: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.5465/3.731, allocations: 112.7 MB / 0.5575 GB, free: 12.03 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.675e-05/3.731, allocations: 8 kB / 0.5575 GB, free: 12.02 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0529/3.784, allocations: 6.528 MB / 0.5639 GB, free: 5.473 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03141/3.816, allocations: 7.125 MB / 0.5708 GB, free: 14.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004639/3.816, allocations: 176 kB / 0.571 GB, free: 14.09 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003255/3.819, allocations: 331.9 kB / 0.5713 GB, free: 13.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0262/3.846, allocations: 8.358 MB / 0.5795 GB, free: 5.402 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04367/3.889, allocations: 12.27 MB / 0.5915 GB, free: 7.988 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000402/3.89, allocations: 83.23 kB / 0.5915 GB, free: 7.906 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002499/3.892, allocations: 32 kB / 0.5916 GB, free: 7.875 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003861/3.896, allocations: 1.442 MB / 0.593 GB, free: 6.43 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3246/4.221, allocations: 61.85 MB / 0.6534 GB, free: 96.61 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008493/4.229, allocations: 4.233 MB / 0.6575 GB, free: 95.96 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006804/4.236, allocations: 3.329 MB / 0.6608 GB, free: 95.92 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03296/4.269, allocations: 13.19 MB / 0.6737 GB, free: 92.62 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.96e-05/4.269, allocations: 60 kB / 0.6737 GB, free: 92.59 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 7.293e-06/4.269, allocations: 0 / 0.6737 GB, free: 92.59 MB / 474.7 MB Notification: Performance of matching and sorting (n=264): time 0.1077/4.377, allocations: 23.11 MB / 0.6963 GB, free: 88.28 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/4.377, allocations: 260.5 kB / 0.6965 GB, free: 87.99 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01083/4.388, allocations: 3.906 MB / 0.7003 GB, free: 86.61 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007234/4.389, allocations: 25.7 kB / 0.7004 GB, free: 86.57 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003467/4.392, allocations: 3.643 MB / 0.7039 GB, free: 84.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001726/4.394, allocations: 0.9633 MB / 0.7049 GB, free: 83.37 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009388/4.395, allocations: 0 / 0.7049 GB, free: 83.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006389/4.396, allocations: 0.6265 MB / 0.7055 GB, free: 82.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007171/4.403, allocations: 2.516 MB / 0.7079 GB, free: 82.06 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01017/4.413, allocations: 6.972 MB / 0.7147 GB, free: 75.18 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01002/4.423, allocations: 4.18 MB / 0.7188 GB, free: 73.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000175/4.424, allocations: 44.69 kB / 0.7189 GB, free: 73.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=993) (initialization): time 0.0326/4.456, allocations: 8.898 MB / 0.7276 GB, free: 71.44 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.548e-05/4.456, allocations: 3.938 kB / 0.7276 GB, free: 71.44 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002343/4.457, allocations: 159.9 kB / 0.7277 GB, free: 71.44 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002404/4.459, allocations: 0.5987 MB / 0.7283 GB, free: 71.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01232/4.471, allocations: 1.762 MB / 0.73 GB, free: 71.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009528/4.481, allocations: 5.327 MB / 0.7352 GB, free: 67.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009952/4.491, allocations: 217.8 kB / 0.7354 GB, free: 67.48 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002395/4.493, allocations: 461.4 kB / 0.7359 GB, free: 67.43 MB / 474.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.004158/4.498, allocations: 0.5005 MB / 0.7364 GB, free: 67.01 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00136/4.499, allocations: 439.5 kB / 0.7368 GB, free: 66.78 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01394/4.513, allocations: 3.911 MB / 0.7406 GB, free: 65.34 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001258/4.513, allocations: 24.75 kB / 0.7406 GB, free: 65.34 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.452e-05/4.513, allocations: 8.344 kB / 0.7406 GB, free: 65.34 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.795e-05/4.513, allocations: 12.97 kB / 0.7406 GB, free: 65.34 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0335/4.547, allocations: 9.15 MB / 0.7496 GB, free: 61.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.419e-05/4.547, allocations: 0 / 0.7496 GB, free: 61.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005232/4.552, allocations: 431.9 kB / 0.75 GB, free: 61.08 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002039/4.554, allocations: 349.5 kB / 0.7503 GB, free: 60.82 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007168/4.555, allocations: 15.75 kB / 0.7503 GB, free: 60.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007786/4.563, allocations: 4.63 MB / 0.7549 GB, free: 56.32 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.605e-06/4.563, allocations: 4 kB / 0.7549 GB, free: 56.31 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01844/4.581, allocations: 7.164 MB / 0.7619 GB, free: 49.83 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02431/4.606, allocations: 10.19 MB / 0.7718 GB, free: 40.58 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003652/4.609, allocations: 0.7818 MB / 0.7726 GB, free: 39.84 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001774/4.611, allocations: 4 kB / 0.7726 GB, free: 39.83 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005545/4.617, allocations: 87.84 kB / 0.7727 GB, free: 39.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009454/4.618, allocations: 123.2 kB / 0.7728 GB, free: 39.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003346/4.618, allocations: 71.05 kB / 0.7728 GB, free: 39.64 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007477/4.626, allocations: 2.636 MB / 0.7754 GB, free: 37.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01079/4.636, allocations: 1.112 MB / 0.7765 GB, free: 36.24 MB / 474.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.001034/4.637, allocations: 151.1 kB / 0.7766 GB, free: 36.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0153/4.653, allocations: 6.206 MB / 0.7827 GB, free: 30.44 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.017e-05/4.653, allocations: 4 kB / 0.7827 GB, free: 30.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005145/4.658, allocations: 2.151 MB / 0.7848 GB, free: 28.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006119/4.664, allocations: 461.7 kB / 0.7852 GB, free: 28.05 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04417/4.708, allocations: 10.2 MB / 0.7952 GB, free: 18.93 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01921/4.728, allocations: 4.574 MB / 0.7997 GB, free: 15.46 MB / 474.7 MB Notification: Performance of SimCode: time 2.284e-06/4.728, allocations: 4 kB / 0.7997 GB, free: 15.45 MB / 474.7 MB