Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.JointUSP2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_JointUSP2",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.403/2.403, allocations: 235 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1634/2.567, allocations: 57.21 MB / 299.1 MB, free: 472 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2873/2.854, allocations: 54.84 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/3.285, allocations: 107.6 MB / 461.6 MB, free: 35.55 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/3.286, allocations: 76.52 kB / 461.7 MB, free: 35.55 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: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.62/3.906, allocations: 124.6 MB / 0.5726 GB, free: 12.97 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/3.906, allocations: 8 kB / 0.5726 GB, free: 12.96 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03652/3.942, allocations: 4.305 MB / 0.5768 GB, free: 8.641 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02989/3.972, allocations: 6.692 MB / 0.5833 GB, free: 1.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005812/3.973, allocations: 260.8 kB / 0.5836 GB, free: 1.621 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/3.976, allocations: 327.8 kB / 0.5839 GB, free: 1.301 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02755/4.004, allocations: 8.718 MB / 0.5924 GB, free: 8.578 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04062/4.045, allocations: 12.28 MB / 0.6044 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003926/4.045, allocations: 71.39 kB / 0.6044 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002661/4.048, allocations: 32 kB / 0.6045 GB, free: 11.06 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003439/4.051, allocations: 1.371 MB / 0.6058 GB, free: 9.688 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2939/4.345, allocations: 58.74 MB / 0.6632 GB, free: 99.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008053/4.353, allocations: 3.875 MB / 0.667 GB, free: 98.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006148/4.36, allocations: 2.933 MB / 0.6698 GB, free: 98.56 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03118/4.391, allocations: 12.6 MB / 0.6821 GB, free: 94.31 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/4.391, allocations: 53.72 kB / 0.6822 GB, free: 94.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 6.191e-06/4.391, allocations: 3.5 kB / 0.6822 GB, free: 94.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.1694/4.56, allocations: 30.68 MB / 0.7121 GB, free: 85.57 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.181e-05/4.561, allocations: 235.2 kB / 0.7124 GB, free: 85.31 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01077/4.571, allocations: 3.702 MB / 0.716 GB, free: 83.96 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008256/4.572, allocations: 28.52 kB / 0.716 GB, free: 83.93 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00331/4.576, allocations: 3.652 MB / 0.7196 GB, free: 81.45 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001834/4.578, allocations: 0.8827 MB / 0.7204 GB, free: 80.79 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001207/4.579, allocations: 0 / 0.7204 GB, free: 80.79 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0007069/4.58, allocations: 0.6237 MB / 0.7211 GB, free: 80.35 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008217/4.588, allocations: 3.155 MB / 0.7241 GB, free: 79.18 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01201/4.6, allocations: 7.531 MB / 0.7315 GB, free: 72.1 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01256/4.612, allocations: 4.801 MB / 0.7362 GB, free: 70.58 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002105/4.613, allocations: 44.72 kB / 0.7362 GB, free: 70.58 MB / 474.7 MB Notification: Performance of matching and sorting (n=965) (initialization): time 0.05649/4.669, allocations: 12.71 MB / 0.7486 GB, free: 65.09 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.164e-05/4.669, allocations: 4 kB / 0.7486 GB, free: 65.08 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004337/4.67, allocations: 156.8 kB / 0.7488 GB, free: 64.93 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02594/4.696, allocations: 3.584 MB / 0.7523 GB, free: 62.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01117/4.707, allocations: 1.643 MB / 0.7539 GB, free: 60.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04947/4.756, allocations: 16.07 MB / 0.7696 GB, free: 47.05 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/4.768, allocations: 286.6 kB / 0.7699 GB, free: 46.82 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003122/4.771, allocations: 450.4 kB / 0.7703 GB, free: 46.39 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (882): * Single equations (assignments): 878 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004496/4.776, allocations: 492.6 kB / 0.7708 GB, free: 45.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002025/4.778, allocations: 402.8 kB / 0.7711 GB, free: 45.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05188/4.83, allocations: 7.762 MB / 0.7787 GB, free: 39.47 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000149/4.83, allocations: 24 kB / 0.7787 GB, free: 39.45 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.853e-05/4.83, allocations: 12 kB / 0.7788 GB, free: 39.43 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.307e-05/4.83, allocations: 10.69 kB / 0.7788 GB, free: 39.43 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06937/4.899, allocations: 15.96 MB / 0.7943 GB, free: 26.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.68e-05/4.899, allocations: 0 / 0.7943 GB, free: 26.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004117/4.904, allocations: 351.2 kB / 0.7947 GB, free: 26.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02457/4.928, allocations: 3.503 MB / 0.7981 GB, free: 24.01 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001504/4.93, allocations: 6.531 kB / 0.7981 GB, free: 24 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04281/4.973, allocations: 14.68 MB / 0.8124 GB, free: 11.33 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.069e-05/4.973, allocations: 10.17 kB / 0.8125 GB, free: 11.32 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.282/5.255, allocations: 12.24 MB / 0.8244 GB, free: 121.6 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06991/5.325, allocations: 16.32 MB / 0.8403 GB, free: 120.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003483/5.328, allocations: 0.8947 MB / 0.8412 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002879/5.331, allocations: 5.406 kB / 0.8412 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005426/5.337, allocations: 115.3 kB / 0.8413 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001025/5.338, allocations: 109.2 kB / 0.8414 GB, free: 120.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004533/5.338, allocations: 60.06 kB / 0.8415 GB, free: 120.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.007403/5.346, allocations: 2.491 MB / 0.8439 GB, free: 120.3 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01084/5.357, allocations: 1.251 MB / 0.8452 GB, free: 120.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/5.358, allocations: 187.2 kB / 0.8453 GB, free: 120.2 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01837/5.376, allocations: 7.504 MB / 0.8527 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/5.376, allocations: 0 / 0.8527 GB, free: 120.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007021/5.383, allocations: 2.799 MB / 0.8554 GB, free: 120 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00421/5.388, allocations: 394.8 kB / 0.8558 GB, free: 120 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03754/5.425, allocations: 10.76 MB / 0.8663 GB, free: 118.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01261/5.438, allocations: 4.5 MB / 0.8707 GB, free: 117.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.402e-06/5.438, allocations: 0 / 0.8707 GB, free: 117.3 MB / 474.7 MB