Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_FreeMotionScalarInit",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.168/2.168, allocations: 209.3 MB / 216.3 MB, free: 6.871 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2562/2.425, allocations: 51.04 MB / 267.3 MB, free: 5.227 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/2.547, allocations: 48.67 MB / 316 MB, free: 4.457 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4091/2.956, allocations: 90.65 MB / 406.6 MB, free: 2.379 MB / 330.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002334/2.956, allocations: 80.56 kB / 406.7 MB, free: 2.34 MB / 330.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.6474/3.604, allocations: 92.12 MB / 498.8 MB, free: 88.39 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.246e-05/3.604, allocations: 10.88 kB / 498.8 MB, free: 88.39 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06808/3.672, allocations: 2.845 MB / 0.4899 GB, free: 88.1 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02703/3.699, allocations: 4.699 MB / 0.4945 GB, free: 87.58 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005733/3.699, allocations: 144.6 kB / 0.4946 GB, free: 87.58 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004139/3.704, allocations: 257.8 kB / 0.4949 GB, free: 87.58 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02147/3.725, allocations: 7.965 MB / 0.5027 GB, free: 87.55 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02891/3.754, allocations: 10.37 MB / 0.5128 GB, free: 86.24 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002095/3.754, allocations: 26.44 kB / 0.5128 GB, free: 86.23 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002148/3.757, allocations: 10.91 kB / 0.5128 GB, free: 86.23 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002325/3.759, allocations: 1.306 MB / 0.5141 GB, free: 86.22 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.102/3.861, allocations: 35.16 MB / 0.5484 GB, free: 67.39 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01021/3.871, allocations: 2.667 MB / 0.5511 GB, free: 66.43 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00857/3.88, allocations: 2.205 MB / 0.5532 GB, free: 65.59 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0256/3.906, allocations: 9.475 MB / 0.5625 GB, free: 59.76 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.092e-05/3.906, allocations: 51.88 kB / 0.5625 GB, free: 59.7 MB / 410.8 MB Notification: Performance of pre-optimization done (n=213): time 1.01e-05/3.906, allocations: 0 / 0.5625 GB, free: 59.7 MB / 410.8 MB Notification: Performance of matching and sorting (n=240): time 0.04123/3.947, allocations: 10.37 MB / 0.5726 GB, free: 50.89 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.963e-05/3.947, allocations: 73.34 kB / 0.5727 GB, free: 50.81 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008048/3.955, allocations: 2.64 MB / 0.5753 GB, free: 48.48 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0008704/3.956, allocations: 29.64 kB / 0.5753 GB, free: 48.45 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004385/3.96, allocations: 2.995 MB / 0.5782 GB, free: 45.74 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002109/3.963, allocations: 0.8868 MB / 0.5791 GB, free: 44.95 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001128/3.964, allocations: 0 / 0.5791 GB, free: 44.95 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 0.000835/3.965, allocations: 0.5739 MB / 0.5797 GB, free: 44.44 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006544/3.971, allocations: 2.404 MB / 0.582 GB, free: 42.27 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008611/3.98, allocations: 5.779 MB / 0.5877 GB, free: 35.15 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00933/3.989, allocations: 3.818 MB / 0.5914 GB, free: 31.89 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.996e-05/3.99, allocations: 32 kB / 0.5914 GB, free: 31.86 MB / 410.8 MB Notification: Performance of matching and sorting (n=825) (initialization): time 0.02811/4.018, allocations: 8.241 MB / 0.5995 GB, free: 24.74 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/4.018, allocations: 4 kB / 0.5995 GB, free: 24.73 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002/4.018, allocations: 120 kB / 0.5996 GB, free: 24.62 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007544/4.025, allocations: 0.9396 MB / 0.6005 GB, free: 23.95 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01003/4.036, allocations: 1.411 MB / 0.6019 GB, free: 22.71 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/4.04, allocations: 2.36 MB / 0.6042 GB, free: 20.4 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007148/4.047, allocations: 175.8 kB / 0.6043 GB, free: 20.23 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001647/4.049, allocations: 371.9 kB / 0.6047 GB, free: 19.86 MB / 410.8 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 (772): * Single equations (assignments): 763 * 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.001874/4.051, allocations: 416.9 kB / 0.6051 GB, free: 19.45 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007467/4.051, allocations: 284.2 kB / 0.6054 GB, free: 19.16 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01769/4.069, allocations: 4.685 MB / 0.6099 GB, free: 14.45 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001407/4.069, allocations: 39.98 kB / 0.61 GB, free: 14.41 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.443e-05/4.069, allocations: 4 kB / 0.61 GB, free: 14.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.147e-05/4.069, allocations: 7.969 kB / 0.61 GB, free: 14.4 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03529/4.105, allocations: 9.119 MB / 0.6189 GB, free: 5.262 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.114e-05/4.105, allocations: 0 / 0.6189 GB, free: 5.262 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003994/4.109, allocations: 359.4 kB / 0.6192 GB, free: 4.91 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006833/4.116, allocations: 0.7631 MB / 0.62 GB, free: 4.141 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006279/4.116, allocations: 35.77 kB / 0.62 GB, free: 4.109 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003595/4.12, allocations: 2.142 MB / 0.6221 GB, free: 1.852 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.574e-06/4.12, allocations: 3.938 kB / 0.6221 GB, free: 1.848 MB / 410.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02227/4.142, allocations: 7.078 MB / 0.629 GB, free: 10.7 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03188/4.174, allocations: 10.04 MB / 0.6388 GB, free: 0.5898 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/4.175, allocations: 333.3 kB / 0.6391 GB, free: 248 kB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001414/4.177, allocations: 11.94 kB / 0.6392 GB, free: 240 kB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003563/4.18, allocations: 63.89 kB / 0.6392 GB, free: 176 kB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001132/4.182, allocations: 105.8 kB / 0.6393 GB, free: 72 kB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006964/4.182, allocations: 71.97 kB / 0.6394 GB, free: 0 / 426.8 MB Notification: Performance of sort global known variables: time 0.1829/4.365, allocations: 1.733 MB / 0.6411 GB, free: 137.9 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01029/4.376, allocations: 0.8981 MB / 0.642 GB, free: 137.9 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.angle_d_1,freeMotionScalarInit.angle_d_2,freeMotionScalarInit.angle_d_3) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (193): * Single equations (assignments): 184 * 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.001184/4.377, allocations: 147.4 kB / 0.6421 GB, free: 137.8 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.01935/4.396, allocations: 6.073 MB / 0.648 GB, free: 137.5 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.038e-05/4.396, allocations: 0 / 0.648 GB, free: 137.5 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008071/4.404, allocations: 2.45 MB / 0.6504 GB, free: 137.2 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003081/4.408, allocations: 277 kB / 0.6507 GB, free: 137.2 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03574/4.443, allocations: 9.021 MB / 0.6595 GB, free: 135.7 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01296/4.456, allocations: 3.909 MB / 0.6633 GB, free: 134.9 MB / 426.8 MB Notification: Performance of SimCode: time 2.645e-06/4.456, allocations: 0 / 0.6633 GB, free: 134.9 MB / 426.8 MB