Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit5,fileNamePrefix="ModelicaTest_3_2_2_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.505/2.505, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1611/2.667, allocations: 57.21 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2839/2.951, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4277/3.378, allocations: 97.32 MB / 451.3 MB, free: 32.64 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004154/3.379, allocations: 75.31 kB / 451.4 MB, free: 32.63 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.5735/3.952, allocations: 96.24 MB / 0.5348 GB, free: 3.043 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.289e-05/3.952, allocations: 12 kB / 0.5348 GB, free: 3.031 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02854/3.981, allocations: 2.887 MB / 0.5376 GB, free: 136 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02288/4.004, allocations: 4.843 MB / 0.5423 GB, free: 11.24 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004658/4.005, allocations: 152 kB / 0.5425 GB, free: 11.09 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003882/4.008, allocations: 275.9 kB / 0.5427 GB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02607/4.035, allocations: 8.235 MB / 0.5508 GB, free: 2.574 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03941/4.074, allocations: 10.75 MB / 0.5613 GB, free: 7.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002855/4.074, allocations: 27.72 kB / 0.5613 GB, free: 7.328 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00308/4.077, allocations: 16 kB / 0.5613 GB, free: 7.312 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003075/4.081, allocations: 1.314 MB / 0.5626 GB, free: 5.996 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1032/4.184, allocations: 36.2 MB / 0.598 GB, free: 1.152 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/4.195, allocations: 2.462 MB / 0.6004 GB, free: 14.69 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007623/4.202, allocations: 2.201 MB / 0.6025 GB, free: 12.48 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0286/4.231, allocations: 9.514 MB / 0.6118 GB, free: 2.398 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.255e-05/4.231, allocations: 51.81 kB / 0.6119 GB, free: 2.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 6.171e-06/4.231, allocations: 4 kB / 0.6119 GB, free: 2.336 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.241/4.472, allocations: 10.8 MB / 0.6224 GB, free: 148.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/4.472, allocations: 69.03 kB / 0.6225 GB, free: 148.8 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007787/4.48, allocations: 2.761 MB / 0.6252 GB, free: 148.5 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005809/4.481, allocations: 25.7 kB / 0.6252 GB, free: 148.4 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002823/4.484, allocations: 3.153 MB / 0.6283 GB, free: 146.8 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001551/4.485, allocations: 0.8651 MB / 0.6291 GB, free: 146.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000873/4.486, allocations: 0 / 0.6291 GB, free: 146.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000679/4.487, allocations: 0.5813 MB / 0.6297 GB, free: 145.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006478/4.493, allocations: 2.371 MB / 0.632 GB, free: 145.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009472/4.503, allocations: 5.869 MB / 0.6377 GB, free: 141.4 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009921/4.513, allocations: 3.816 MB / 0.6415 GB, free: 141.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001753/4.513, allocations: 35.06 kB / 0.6415 GB, free: 141.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=839) (initialization): time 0.02912/4.542, allocations: 8.248 MB / 0.6495 GB, free: 141 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/4.542, allocations: 7.156 kB / 0.6496 GB, free: 141 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002608/4.543, allocations: 125.2 kB / 0.6497 GB, free: 141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007656/4.55, allocations: 0.9357 MB / 0.6506 GB, free: 141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009943/4.56, allocations: 1.43 MB / 0.652 GB, free: 140.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004212/4.565, allocations: 2.379 MB / 0.6543 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00807/4.573, allocations: 173.2 kB / 0.6545 GB, free: 139.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/4.575, allocations: 370.2 kB / 0.6548 GB, free: 139.6 MB / 474.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.003063/4.578, allocations: 413.2 kB / 0.6552 GB, free: 139.2 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009838/4.579, allocations: 302 kB / 0.6555 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01807/4.597, allocations: 4.523 MB / 0.6599 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001676/4.597, allocations: 44.77 kB / 0.66 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.727e-05/4.597, allocations: 3.172 kB / 0.66 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.506e-05/4.597, allocations: 13.77 kB / 0.66 GB, free: 138.9 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03449/4.632, allocations: 8.985 MB / 0.6688 GB, free: 138.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.69e-05/4.632, allocations: 0 / 0.6688 GB, free: 138.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003799/4.636, allocations: 338.8 kB / 0.6691 GB, free: 138.3 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007297/4.643, allocations: 0.7664 MB / 0.6698 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006663/4.644, allocations: 22.05 kB / 0.6699 GB, free: 138.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00379/4.648, allocations: 2.138 MB / 0.6719 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.374e-06/4.648, allocations: 0 / 0.6719 GB, free: 136.8 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02123/4.669, allocations: 6.873 MB / 0.6787 GB, free: 134.4 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02832/4.697, allocations: 9.733 MB / 0.6882 GB, free: 130.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001126/4.698, allocations: 342.3 kB / 0.6885 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001814/4.7, allocations: 9.562 kB / 0.6885 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003428/4.704, allocations: 63.41 kB / 0.6886 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008204/4.705, allocations: 100 kB / 0.6886 GB, free: 130.5 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000446/4.705, allocations: 61.61 kB / 0.6887 GB, free: 130.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009308/4.714, allocations: 1.818 MB / 0.6905 GB, free: 129.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01179/4.726, allocations: 0.9222 MB / 0.6914 GB, free: 129.8 MB / 474.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.001157/4.728, allocations: 147 kB / 0.6915 GB, free: 129.7 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01942/4.747, allocations: 6.006 MB / 0.6974 GB, free: 126.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.198e-05/4.747, allocations: 0 / 0.6974 GB, free: 126.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01273/4.76, allocations: 2.366 MB / 0.6997 GB, free: 123.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00565/4.766, allocations: 327.8 kB / 0.7 GB, free: 123.7 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04534/4.811, allocations: 9.232 MB / 0.709 GB, free: 115.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01761/4.829, allocations: 4.059 MB / 0.713 GB, free: 112.4 MB / 474.7 MB Notification: Performance of SimCode: time 2.695e-06/4.829, allocations: 4 kB / 0.713 GB, free: 112.4 MB / 474.7 MB