Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit,fileNamePrefix="ModelicaTest_3_2_2_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.299/2.299, allocations: 235 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1624/2.461, allocations: 57.21 MB / 299.1 MB, free: 476 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2661/2.728, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4147/3.142, allocations: 97.15 MB / 451.1 MB, free: 32.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003682/3.143, allocations: 81.11 kB / 451.2 MB, free: 32.2 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: 1696 * Number of variables: 1696 Notification: Performance of Generate backend data structure: time 0.4121/3.555, allocations: 92.12 MB / 0.5306 GB, free: 7.273 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/3.555, allocations: 8 kB / 0.5306 GB, free: 7.266 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03738/3.592, allocations: 2.849 MB / 0.5334 GB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02254/3.615, allocations: 4.706 MB / 0.538 GB, free: 15.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003524/3.615, allocations: 140 kB / 0.5381 GB, free: 15.51 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003288/3.619, allocations: 251.9 kB / 0.5384 GB, free: 15.26 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02625/3.645, allocations: 7.976 MB / 0.5461 GB, free: 7.277 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0757/3.721, allocations: 10.36 MB / 0.5563 GB, free: 12.44 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002734/3.721, allocations: 35.66 kB / 0.5563 GB, free: 12.41 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002369/3.723, allocations: 19.98 kB / 0.5563 GB, free: 12.39 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003963/3.727, allocations: 1.294 MB / 0.5576 GB, free: 11.09 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09144/3.819, allocations: 35.16 MB / 0.5919 GB, free: 7.301 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007293/3.826, allocations: 2.67 MB / 0.5945 GB, free: 4.629 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00558/3.832, allocations: 2.209 MB / 0.5967 GB, free: 2.418 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02825/3.86, allocations: 9.468 MB / 0.6059 GB, free: 8.398 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001312/3.86, allocations: 47.88 kB / 0.606 GB, free: 8.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=213): time 1.756e-05/3.861, allocations: 7.984 kB / 0.606 GB, free: 8.332 MB / 474.7 MB Notification: Performance of matching and sorting (n=240): time 0.2276/4.088, allocations: 10.37 MB / 0.6161 GB, free: 152.2 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.194e-05/4.088, allocations: 77 kB / 0.6162 GB, free: 152.2 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006343/4.095, allocations: 2.643 MB / 0.6188 GB, free: 152 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00057/4.095, allocations: 29.67 kB / 0.6188 GB, free: 151.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002298/4.097, allocations: 2.996 MB / 0.6217 GB, free: 150.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001384/4.099, allocations: 0.8818 MB / 0.6226 GB, free: 150.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007772/4.1, allocations: 0 / 0.6226 GB, free: 150.5 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0005102/4.1, allocations: 0.5742 MB / 0.6231 GB, free: 150.2 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005817/4.106, allocations: 2.403 MB / 0.6255 GB, free: 150.2 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008814/4.115, allocations: 5.782 MB / 0.6311 GB, free: 145.8 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009412/4.124, allocations: 3.815 MB / 0.6349 GB, free: 145.8 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001259/4.125, allocations: 31.75 kB / 0.6349 GB, free: 145.8 MB / 474.7 MB Notification: Performance of matching and sorting (n=825) (initialization): time 0.0285/4.153, allocations: 8.237 MB / 0.6429 GB, free: 145.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/4.153, allocations: 6.75 kB / 0.6429 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/4.153, allocations: 121.9 kB / 0.6431 GB, free: 145.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007479/4.161, allocations: 0.9395 MB / 0.644 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0101/4.171, allocations: 1.408 MB / 0.6453 GB, free: 145.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006258/4.177, allocations: 2.368 MB / 0.6477 GB, free: 144 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/4.189, allocations: 172 kB / 0.6478 GB, free: 143.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002475/4.192, allocations: 373 kB / 0.6482 GB, free: 143.9 MB / 474.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 (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.003044/4.195, allocations: 406.3 kB / 0.6486 GB, free: 143.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001134/4.196, allocations: 283.5 kB / 0.6488 GB, free: 143.5 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02312/4.219, allocations: 4.688 MB / 0.6534 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002381/4.22, allocations: 39.12 kB / 0.6534 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.852e-05/4.22, allocations: 0 / 0.6534 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.101e-05/4.22, allocations: 10.95 kB / 0.6535 GB, free: 143.4 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03303/4.253, allocations: 9.12 MB / 0.6624 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.955e-05/4.253, allocations: 0 / 0.6624 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00406/4.257, allocations: 360.6 kB / 0.6627 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008272/4.265, allocations: 0.7637 MB / 0.6635 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007026/4.266, allocations: 32.08 kB / 0.6635 GB, free: 142.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005377/4.272, allocations: 2.14 MB / 0.6656 GB, free: 141.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.158e-06/4.272, allocations: 0 / 0.6656 GB, free: 141.6 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0312/4.303, allocations: 7.087 MB / 0.6725 GB, free: 139.3 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.0377/4.341, allocations: 10.03 MB / 0.6823 GB, free: 135.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/4.342, allocations: 334.2 kB / 0.6826 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002062/4.344, allocations: 9.469 kB / 0.6826 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005098/4.349, allocations: 59.06 kB / 0.6827 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001212/4.35, allocations: 108.3 kB / 0.6828 GB, free: 135.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009168/4.351, allocations: 67.22 kB / 0.6828 GB, free: 135.2 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.0078/4.359, allocations: 1.742 MB / 0.6845 GB, free: 134.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009232/4.368, allocations: 0.8969 MB / 0.6854 GB, free: 134.6 MB / 474.7 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.001046/4.37, allocations: 158.1 kB / 0.6856 GB, free: 134.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01995/4.39, allocations: 6.077 MB / 0.6915 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.248e-06/4.39, allocations: 0 / 0.6915 GB, free: 132.4 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008231/4.398, allocations: 2.442 MB / 0.6939 GB, free: 130.4 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003342/4.401, allocations: 270.2 kB / 0.6941 GB, free: 130.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03036/4.432, allocations: 9.02 MB / 0.703 GB, free: 122.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01446/4.446, allocations: 3.922 MB / 0.7068 GB, free: 119.3 MB / 474.7 MB Notification: Performance of SimCode: time 2.715e-06/4.446, allocations: 0 / 0.7068 GB, free: 119.3 MB / 474.7 MB