Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit5",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.034/2.034, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2857/2.319, allocations: 51.02 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1255/2.445, allocations: 48.7 MB / 316 MB, free: 4.359 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.382/2.827, allocations: 90.83 MB / 406.8 MB, free: 2.125 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002835/2.827, allocations: 88.44 kB / 406.9 MB, free: 2.078 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.7207/3.548, allocations: 96.21 MB / 0.4913 GB, free: 86.92 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.991e-05/3.548, allocations: 11.28 kB / 0.4913 GB, free: 86.92 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02706/3.575, allocations: 2.884 MB / 0.4941 GB, free: 86.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02039/3.596, allocations: 4.838 MB / 0.4989 GB, free: 86.06 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004324/3.596, allocations: 151.4 kB / 0.499 GB, free: 86.06 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003318/3.599, allocations: 276 kB / 0.4993 GB, free: 86.06 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02211/3.622, allocations: 8.239 MB / 0.5073 GB, free: 86.03 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04231/3.664, allocations: 10.75 MB / 0.5178 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006414/3.665, allocations: 29.06 kB / 0.5178 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003478/3.668, allocations: 18.03 kB / 0.5179 GB, free: 84.69 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002723/3.671, allocations: 1.322 MB / 0.5192 GB, free: 84.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1034/3.774, allocations: 36.19 MB / 0.5545 GB, free: 64.64 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006495/3.781, allocations: 2.469 MB / 0.5569 GB, free: 63.72 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005659/3.787, allocations: 2.2 MB / 0.5591 GB, free: 62.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02488/3.812, allocations: 9.512 MB / 0.5683 GB, free: 54.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.591e-05/3.812, allocations: 55.39 kB / 0.5684 GB, free: 54.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=213): time 6.071e-06/3.812, allocations: 0 / 0.5684 GB, free: 54.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=233): time 0.0517/3.864, allocations: 10.79 MB / 0.5789 GB, free: 45.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.77e-05/3.864, allocations: 73.41 kB / 0.579 GB, free: 45.45 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007098/3.871, allocations: 2.768 MB / 0.5817 GB, free: 43.02 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005561/3.871, allocations: 25.7 kB / 0.5817 GB, free: 42.98 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002534/3.874, allocations: 3.157 MB / 0.5848 GB, free: 40.14 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001592/3.876, allocations: 0.8587 MB / 0.5857 GB, free: 39.37 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008549/3.876, allocations: 0 / 0.5857 GB, free: 39.37 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001906/3.878, allocations: 0.5782 MB / 0.5862 GB, free: 38.86 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006858/3.885, allocations: 2.371 MB / 0.5885 GB, free: 36.73 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009433/3.895, allocations: 5.88 MB / 0.5943 GB, free: 29.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01021/3.905, allocations: 3.808 MB / 0.598 GB, free: 26.18 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001156/3.905, allocations: 36.66 kB / 0.598 GB, free: 26.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.03016/3.935, allocations: 8.246 MB / 0.6061 GB, free: 18.83 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/3.936, allocations: 8 kB / 0.6061 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000196/3.936, allocations: 124 kB / 0.6062 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007487/3.943, allocations: 0.9465 MB / 0.6071 GB, free: 17.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0106/3.954, allocations: 1.431 MB / 0.6085 GB, free: 16.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/3.958, allocations: 2.367 MB / 0.6108 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007219/3.965, allocations: 171.9 kB / 0.611 GB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001671/3.967, allocations: 376 kB / 0.6114 GB, free: 13.3 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 566 * Number of states: 0 () * Number of discrete variables: 24 (freeMotionScalarInit2.arrowColor[3],freeMotionScalarInit2.arrowColor[2],freeMotionScalarInit2.arrowColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (786): * Single equations (assignments): 777 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002069/3.969, allocations: 420.3 kB / 0.6118 GB, free: 12.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007465/3.97, allocations: 300.1 kB / 0.6121 GB, free: 12.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01799/3.988, allocations: 4.522 MB / 0.6165 GB, free: 8.035 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001778/3.988, allocations: 39.98 kB / 0.6165 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.704e-05/3.988, allocations: 0 / 0.6165 GB, free: 7.996 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.539e-05/3.988, allocations: 11.97 kB / 0.6165 GB, free: 7.984 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03487/4.023, allocations: 8.996 MB / 0.6253 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.99e-05/4.023, allocations: 0 / 0.6253 GB, free: 14.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004116/4.027, allocations: 347.5 kB / 0.6256 GB, free: 14.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007722/4.035, allocations: 0.7631 MB / 0.6264 GB, free: 13.86 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006318/4.036, allocations: 23.98 kB / 0.6264 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004462/4.04, allocations: 2.13 MB / 0.6285 GB, free: 11.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.205e-06/4.04, allocations: 4 kB / 0.6285 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0234/4.064, allocations: 6.869 MB / 0.6352 GB, free: 4.645 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1757/4.24, allocations: 9.728 MB / 0.6447 GB, free: 133.4 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009361/4.241, allocations: 344.1 kB / 0.645 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001128/4.242, allocations: 6.531 kB / 0.645 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002985/4.245, allocations: 63.25 kB / 0.6451 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000658/4.245, allocations: 101.5 kB / 0.6452 GB, free: 133.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002725/4.246, allocations: 66.19 kB / 0.6453 GB, free: 133.3 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.004593/4.25, allocations: 1.819 MB / 0.647 GB, free: 133.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.007813/4.258, allocations: 0.9188 MB / 0.6479 GB, free: 133.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 (freeMotionScalarInit1.r_rel_a_1,freeMotionScalarInit1.r_rel_a_2,freeMotionScalarInit1.r_rel_a_3,freeMotionScalarInit1.v_rel_a_1,freeMotionScalarInit1.v_rel_a_2,freeMotionScalarInit1.v_rel_a_3,freeMotionScalarInit2.angle_1,freeMotionScalarInit2.angle_2,freeMotionScalarInit2.angle_3,freeMotionScalarInit2.angle_d_1,freeMotionScalarInit2.angle_d_2,freeMotionScalarInit2.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (186): * Single equations (assignments): 177 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001201/4.259, allocations: 147.9 kB / 0.6481 GB, free: 133.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02119/4.281, allocations: 5.993 MB / 0.6539 GB, free: 132.8 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.806e-06/4.281, allocations: 2.625 kB / 0.6539 GB, free: 132.8 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01173/4.293, allocations: 2.361 MB / 0.6562 GB, free: 132.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004946/4.298, allocations: 329.4 kB / 0.6565 GB, free: 132.4 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0381/4.336, allocations: 9.227 MB / 0.6656 GB, free: 130.9 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01338/4.349, allocations: 4.051 MB / 0.6695 GB, free: 130.1 MB / 426.7 MB Notification: Performance of SimCode: time 1.774e-06/4.349, allocations: 0 / 0.6695 GB, free: 130.1 MB / 426.7 MB