Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit2",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 1.974/1.974, allocations: 209.3 MB / 216.3 MB, free: 6.82 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.258/2.232, allocations: 51.03 MB / 267.3 MB, free: 5.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/2.365, allocations: 48.7 MB / 316 MB, free: 4.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3683/2.733, allocations: 90.65 MB / 406.6 MB, free: 2.285 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004252/2.734, allocations: 82.02 kB / 406.7 MB, free: 2.242 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: 1717 * Number of variables: 1717 Notification: Performance of Generate backend data structure: time 0.6688/3.402, allocations: 92.5 MB / 499.2 MB, free: 85.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/3.403, allocations: 7.562 kB / 499.2 MB, free: 85.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03358/3.436, allocations: 2.867 MB / 0.4903 GB, free: 85.23 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01961/3.456, allocations: 4.731 MB / 0.4949 GB, free: 84.71 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005864/3.456, allocations: 152.6 kB / 0.4951 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004483/3.461, allocations: 249.9 kB / 0.4953 GB, free: 84.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02745/3.488, allocations: 8.12 MB / 0.5033 GB, free: 84.68 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03598/3.525, allocations: 10.55 MB / 0.5136 GB, free: 83.36 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002771/3.525, allocations: 26.69 kB / 0.5136 GB, free: 83.36 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003605/3.528, allocations: 13.56 kB / 0.5136 GB, free: 83.36 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002722/3.531, allocations: 1.324 MB / 0.5149 GB, free: 83.35 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09011/3.621, allocations: 35.84 MB / 0.5499 GB, free: 64.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007695/3.629, allocations: 2.746 MB / 0.5526 GB, free: 63.62 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007775/3.637, allocations: 2.297 MB / 0.5548 GB, free: 62.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03803/3.675, allocations: 9.741 MB / 0.5643 GB, free: 56.78 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/3.675, allocations: 43.88 kB / 0.5644 GB, free: 56.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=213): time 9.208e-06/3.675, allocations: 0 / 0.5644 GB, free: 56.72 MB / 410.7 MB Notification: Performance of matching and sorting (n=234): time 0.07208/3.747, allocations: 11.17 MB / 0.5753 GB, free: 47.42 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.113e-05/3.748, allocations: 73.41 kB / 0.5753 GB, free: 47.33 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00928/3.757, allocations: 2.643 MB / 0.5779 GB, free: 45 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007828/3.758, allocations: 25.7 kB / 0.5779 GB, free: 44.97 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003504/3.761, allocations: 3.022 MB / 0.5809 GB, free: 42.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001929/3.763, allocations: 0.8648 MB / 0.5817 GB, free: 41.47 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001375/3.765, allocations: 3.938 kB / 0.5817 GB, free: 41.46 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001156/3.766, allocations: 0.5716 MB / 0.5823 GB, free: 40.96 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009895/3.776, allocations: 2.356 MB / 0.5846 GB, free: 38.84 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01206/3.788, allocations: 5.741 MB / 0.5902 GB, free: 31.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/3.802, allocations: 3.772 MB / 0.5939 GB, free: 28.53 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001458/3.802, allocations: 36 kB / 0.5939 GB, free: 28.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=819) (initialization): time 0.03389/3.836, allocations: 8.113 MB / 0.6019 GB, free: 21.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.976e-05/3.836, allocations: 8 kB / 0.6019 GB, free: 21.47 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002003/3.836, allocations: 116 kB / 0.602 GB, free: 21.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007242/3.843, allocations: 0.9014 MB / 0.6028 GB, free: 20.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01019/3.854, allocations: 1.401 MB / 0.6042 GB, free: 19.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004354/3.858, allocations: 2.363 MB / 0.6065 GB, free: 17.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007165/3.865, allocations: 171.8 kB / 0.6067 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001776/3.867, allocations: 368 kB / 0.607 GB, free: 16.7 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 545 * Number of states: 0 () * Number of discrete variables: 21 (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],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.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 (766): * Single equations (assignments): 757 * 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 {(3,100.0%),(2,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.002583/3.87, allocations: 404.5 kB / 0.6074 GB, free: 16.29 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007509/3.87, allocations: 284.2 kB / 0.6077 GB, free: 16.01 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01917/3.89, allocations: 4.567 MB / 0.6122 GB, free: 11.42 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002258/3.89, allocations: 43.98 kB / 0.6122 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.626e-05/3.89, allocations: 0 / 0.6122 GB, free: 11.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-05/3.89, allocations: 7.969 kB / 0.6122 GB, free: 11.37 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03218/3.922, allocations: 8.848 MB / 0.6208 GB, free: 2.473 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-05/3.922, allocations: 4.281 kB / 0.6209 GB, free: 2.469 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003918/3.926, allocations: 351.5 kB / 0.6212 GB, free: 2.125 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005892/3.932, allocations: 0.5369 MB / 0.6217 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000793/3.933, allocations: 31.91 kB / 0.6217 GB, free: 1.551 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004166/3.937, allocations: 1.931 MB / 0.6236 GB, free: 15.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.045e-05/3.937, allocations: 12.09 kB / 0.6236 GB, free: 15.48 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0228/3.96, allocations: 6.784 MB / 0.6303 GB, free: 8.57 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1879/4.148, allocations: 9.62 MB / 0.6397 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009711/4.149, allocations: 328.3 kB / 0.64 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001339/4.15, allocations: 11.62 kB / 0.64 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/4.154, allocations: 55.3 kB / 0.64 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007253/4.154, allocations: 107.3 kB / 0.6401 GB, free: 135.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002974/4.155, allocations: 64.72 kB / 0.6402 GB, free: 135.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.00646/4.161, allocations: 1.742 MB / 0.6419 GB, free: 135.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01392/4.175, allocations: 0.8926 MB / 0.6428 GB, free: 135.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.w_rel_b_1,freeMotionScalarInit.w_rel_b_2,freeMotionScalarInit.w_rel_b_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (187): * Single equations (assignments): 178 * 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.001409/4.177, allocations: 154.8 kB / 0.6429 GB, free: 135.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01675/4.193, allocations: 5.909 MB / 0.6487 GB, free: 135.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.047e-05/4.193, allocations: 0 / 0.6487 GB, free: 135.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007024/4.201, allocations: 2.274 MB / 0.6509 GB, free: 134.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003056/4.204, allocations: 268.5 kB / 0.6512 GB, free: 134.9 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03483/4.238, allocations: 8.977 MB / 0.6599 GB, free: 133.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01073/4.249, allocations: 3.932 MB / 0.6638 GB, free: 132.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.863e-06/4.249, allocations: 0 / 0.6638 GB, free: 132.5 MB / 426.7 MB