Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.Spherical,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_Spherical",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.206/2.206, allocations: 235 MB / 241.9 MB, free: 9.797 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1573/2.363, allocations: 57.21 MB / 299.1 MB, free: 492 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3096/2.673, allocations: 54.84 MB / 354 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4034/3.076, allocations: 94.5 MB / 448.5 MB, free: 31.28 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/3.077, allocations: 76.44 kB / 448.6 MB, free: 31.27 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: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.4516/3.528, allocations: 83.94 MB / 0.52 GB, free: 2.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.103e-05/3.528, allocations: 12 kB / 0.52 GB, free: 2.156 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0412/3.57, allocations: 4.425 MB / 0.5243 GB, free: 13.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02432/3.594, allocations: 5.29 MB / 0.5295 GB, free: 8.371 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003041/3.594, allocations: 120 kB / 0.5296 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002779/3.597, allocations: 211.9 kB / 0.5298 GB, free: 8.047 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02216/3.619, allocations: 7.059 MB / 0.5367 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03124/3.651, allocations: 9.348 MB / 0.5458 GB, free: 7.125 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003359/3.651, allocations: 35.66 kB / 0.5459 GB, free: 7.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003554/3.655, allocations: 16 kB / 0.5459 GB, free: 7.074 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004728/3.659, allocations: 1.218 MB / 0.5471 GB, free: 5.855 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1053/3.765, allocations: 35.41 MB / 0.5817 GB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01051/3.775, allocations: 4.185 MB / 0.5858 GB, free: 13.32 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006097/3.782, allocations: 2.408 MB / 0.5881 GB, free: 10.91 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02916/3.811, allocations: 10.72 MB / 0.5986 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.916e-05/3.811, allocations: 51.88 kB / 0.5986 GB, free: 15.41 MB / 474.7 MB Notification: Performance of pre-optimization done (n=181): time 5.391e-06/3.811, allocations: 0 / 0.5986 GB, free: 15.41 MB / 474.7 MB Notification: Performance of matching and sorting (n=188): time 0.04484/3.856, allocations: 10.57 MB / 0.6089 GB, free: 4.758 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/3.856, allocations: 64.72 kB / 0.609 GB, free: 4.684 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007197/3.863, allocations: 2.619 MB / 0.6116 GB, free: 2.051 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006303/3.864, allocations: 25.7 kB / 0.6116 GB, free: 2.02 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1851/4.049, allocations: 2.753 MB / 0.6143 GB, free: 162 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/4.05, allocations: 0.6893 MB / 0.615 GB, free: 161.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006728/4.051, allocations: 5.219 kB / 0.615 GB, free: 161.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003871/4.051, allocations: 0.5621 MB / 0.6155 GB, free: 161.4 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006556/4.058, allocations: 2.537 MB / 0.618 GB, free: 161.4 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008752/4.067, allocations: 5.724 MB / 0.6236 GB, free: 157.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009069/4.076, allocations: 3.848 MB / 0.6273 GB, free: 157.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.706e-05/4.076, allocations: 38 kB / 0.6274 GB, free: 157.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.1694/4.245, allocations: 14.65 MB / 0.6417 GB, free: 156.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/4.245, allocations: 3.875 kB / 0.6417 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1058/4.351, allocations: 8.932 MB / 0.6504 GB, free: 156.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1089/4.46, allocations: 6.791 MB / 0.657 GB, free: 156.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008513/4.469, allocations: 1.255 MB / 0.6583 GB, free: 156.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05518/4.524, allocations: 14.03 MB / 0.672 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008116/4.532, allocations: 249.9 kB / 0.6722 GB, free: 154 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/4.534, allocations: 334.8 kB / 0.6725 GB, free: 154 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 516 * 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],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (681): * Single equations (assignments): 670 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.002787/4.537, allocations: 385.4 kB / 0.6729 GB, free: 153.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007495/4.538, allocations: 268 kB / 0.6731 GB, free: 153.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001865/4.539, allocations: 426.5 kB / 0.6735 GB, free: 153.3 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01459/4.554, allocations: 3.953 MB / 0.6774 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.287e-05/4.554, allocations: 6.703 kB / 0.6774 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.822e-05/4.554, allocations: 7.484 kB / 0.6774 GB, free: 152.2 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03798/4.592, allocations: 10.18 MB / 0.6874 GB, free: 146.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-05/4.592, allocations: 4 kB / 0.6874 GB, free: 146.1 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003122/4.595, allocations: 269.4 kB / 0.6876 GB, free: 145.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00577/4.601, allocations: 0.8601 MB / 0.6885 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005197/4.602, allocations: 15.28 kB / 0.6885 GB, free: 145.3 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0105/4.612, allocations: 5.173 MB / 0.6935 GB, free: 140.6 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00118/4.614, allocations: 1.363 MB / 0.6949 GB, free: 139.1 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01843/4.632, allocations: 6.822 MB / 0.7015 GB, free: 133.2 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02346/4.656, allocations: 9.704 MB / 0.711 GB, free: 124.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009765/4.657, allocations: 333.2 kB / 0.7113 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001285/4.658, allocations: 4 kB / 0.7113 GB, free: 124.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003423/4.661, allocations: 97.06 kB / 0.7114 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007488/4.662, allocations: 73.83 kB / 0.7115 GB, free: 124.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002974/4.662, allocations: 47.47 kB / 0.7115 GB, free: 124.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.004436/4.667, allocations: 1.734 MB / 0.7132 GB, free: 122.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008336/4.675, allocations: 0.9977 MB / 0.7142 GB, free: 121.6 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 120 * 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): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009266/4.676, allocations: 138 kB / 0.7143 GB, free: 121.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01736/4.694, allocations: 6.097 MB / 0.7203 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/4.694, allocations: 0 / 0.7203 GB, free: 115.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00605/4.7, allocations: 2.194 MB / 0.7224 GB, free: 113.6 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/4.702, allocations: 224.5 kB / 0.7226 GB, free: 113.4 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02734/4.73, allocations: 8.018 MB / 0.7305 GB, free: 105.4 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01021/4.74, allocations: 3.476 MB / 0.7339 GB, free: 101.9 MB / 474.7 MB Notification: Performance of SimCode: time 2.365e-06/4.74, allocations: 0 / 0.7339 GB, free: 101.9 MB / 474.7 MB