Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.SphericalDoublePendulum,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_SphericalDoublePendulum",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.273/2.273, allocations: 234.9 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1792/2.452, allocations: 57.2 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/2.718, allocations: 54.85 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4069/3.125, allocations: 94.57 MB / 448.5 MB, free: 31.32 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003007/3.125, allocations: 65.25 kB / 448.6 MB, free: 31.32 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: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 0.8807/4.006, allocations: 176.2 MB / 0.6101 GB, free: 5.52 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.295e-05/4.006, allocations: 11.94 kB / 0.6101 GB, free: 5.508 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5943/4.6, allocations: 19.96 MB / 0.6296 GB, free: 105.6 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.09666/4.697, allocations: 19.9 MB / 0.6491 GB, free: 105 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007599/4.698, allocations: 239.8 kB / 0.6493 GB, free: 105 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005819/4.704, allocations: 481.4 kB / 0.6498 GB, free: 105 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03534/4.739, allocations: 10.88 MB / 0.6604 GB, free: 104.9 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05847/4.797, allocations: 16.7 MB / 0.6767 GB, free: 100.2 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001138/4.799, allocations: 136 kB / 0.6768 GB, free: 100.2 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005142/4.804, allocations: 52.47 kB / 0.6769 GB, free: 100.2 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006515/4.81, allocations: 1.791 MB / 0.6786 GB, free: 100.2 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1884/4.999, allocations: 90.68 MB / 0.7672 GB, free: 39.6 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02192/5.021, allocations: 6.53 MB / 0.7736 GB, free: 36.12 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01619/5.037, allocations: 5.51 MB / 0.7789 GB, free: 31 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05999/5.097, allocations: 19.56 MB / 0.798 GB, free: 13.91 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.05e-05/5.097, allocations: 78.95 kB / 0.7981 GB, free: 13.83 MB / 474.8 MB Notification: Performance of pre-optimization done (n=316): time 7.163e-06/5.097, allocations: 0 / 0.7981 GB, free: 13.83 MB / 474.8 MB Notification: Performance of matching and sorting (n=387): time 0.5185/5.616, allocations: 51.48 MB / 0.8484 GB, free: 97.64 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001625/5.616, allocations: 480.8 kB / 0.8488 GB, free: 97.11 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01995/5.636, allocations: 6.861 MB / 0.8555 GB, free: 96.52 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001812/5.638, allocations: 25.7 kB / 0.8556 GB, free: 96.49 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006359/5.644, allocations: 5.11 MB / 0.8606 GB, free: 93.75 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003853/5.648, allocations: 1.471 MB / 0.862 GB, free: 92.88 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002242/5.651, allocations: 0 / 0.862 GB, free: 92.88 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.001782/5.652, allocations: 0.7854 MB / 0.8628 GB, free: 92.55 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01742/5.67, allocations: 5.585 MB / 0.8682 GB, free: 92.53 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02482/5.695, allocations: 11.94 MB / 0.8799 GB, free: 84.34 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02527/5.72, allocations: 8.008 MB / 0.8877 GB, free: 84.27 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003173/5.721, allocations: 64.03 kB / 0.8878 GB, free: 84.27 MB / 474.8 MB Notification: Performance of matching and sorting (n=1466) (initialization): time 0.1656/5.886, allocations: 29.28 MB / 0.9163 GB, free: 81.54 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/5.886, allocations: 3.812 kB / 0.9164 GB, free: 81.54 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1347/6.021, allocations: 19.59 MB / 0.9355 GB, free: 76.67 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1021/6.123, allocations: 13.29 MB / 0.9485 GB, free: 68.31 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01916/6.142, allocations: 2.645 MB / 0.951 GB, free: 66.07 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3049/6.447, allocations: 33.74 MB / 0.984 GB, free: 86.11 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02039/6.468, allocations: 0.6794 MB / 0.9847 GB, free: 86.11 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003746/6.472, allocations: 0.6811 MB / 0.9853 GB, free: 86.11 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1020 * Number of states: 0 () * Number of discrete variables: 63 (Spherical6.sphereColor[3],Spherical6.sphereColor[2],Spherical6.sphereColor[1],Spherical5.sphereColor[3],Spherical5.sphereColor[2],Spherical5.sphereColor[1],boxBody6.color[3],boxBody6.color[2],boxBody6.color[1],boxBody6.body.sphereColor[3],boxBody6.body.sphereColor[2],boxBody6.body.sphereColor[1],boxBody5.color[3],boxBody5.color[2],boxBody5.color[1],boxBody5.body.sphereColor[3],boxBody5.body.sphereColor[2],boxBody5.body.sphereColor[1],Spherical4.sphereColor[3],Spherical4.sphereColor[2],Spherical4.sphereColor[1],Spherical3.sphereColor[3],Spherical3.sphereColor[2],Spherical3.sphereColor[1],boxBody4.color[3],boxBody4.color[2],boxBody4.color[1],boxBody4.body.sphereColor[3],boxBody4.body.sphereColor[2],boxBody4.body.sphereColor[1],boxBody3.color[3],boxBody3.color[2],boxBody3.color[1],boxBody3.body.sphereColor[3],boxBody3.body.sphereColor[2],boxBody3.body.sphereColor[1],Spherical2.sphereColor[3],Spherical2.sphereColor[2],Spherical2.sphereColor[1],Spherical1.sphereColor[3],Spherical1.sphereColor[2],Spherical1.sphereColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1318): * Single equations (assignments): 1294 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,59.4%) 13,(8,59.4%) 13} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.005623/6.477, allocations: 0.6745 MB / 0.986 GB, free: 85.99 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002737/6.48, allocations: 0.7505 MB / 0.9867 GB, free: 85.99 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.06225/6.542, allocations: 13.37 MB / 0.9998 GB, free: 85.69 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06008/6.602, allocations: 11.96 MB / 1.011 GB, free: 85.47 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-05/6.603, allocations: 19.03 kB / 1.011 GB, free: 85.47 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001333/6.603, allocations: 19.78 kB / 1.011 GB, free: 85.47 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1042/6.707, allocations: 27.5 MB / 1.038 GB, free: 84 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.249e-05/6.707, allocations: 3.906 kB / 1.038 GB, free: 84 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00966/6.717, allocations: 0.7543 MB / 1.039 GB, free: 83.99 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04651/6.763, allocations: 5.366 MB / 1.044 GB, free: 83.03 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001593/6.765, allocations: 56.09 kB / 1.044 GB, free: 83.02 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07654/6.841, allocations: 25.7 MB / 1.069 GB, free: 70.45 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006025/6.848, allocations: 4.377 MB / 1.074 GB, free: 66.39 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08363/6.931, allocations: 20.14 MB / 1.093 GB, free: 59.07 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.08996/7.021, allocations: 27.07 MB / 1.12 GB, free: 35.73 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004681/7.026, allocations: 0.7846 MB / 1.121 GB, free: 34.95 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00502/7.031, allocations: 23.84 kB / 1.121 GB, free: 34.93 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01406/7.045, allocations: 286.6 kB / 1.121 GB, free: 34.77 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001982/7.047, allocations: 204 kB / 1.121 GB, free: 34.66 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000776/7.048, allocations: 109.8 kB / 1.121 GB, free: 34.57 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.01479/7.063, allocations: 4.769 MB / 1.126 GB, free: 30.45 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.04008/7.103, allocations: 2.654 MB / 1.128 GB, free: 28.03 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[6],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],Spherical1.phi[1],Spherical1.phi[2],Spherical1.phi[3],Spherical1.phi_d[1],Spherical1.phi_d[2],Spherical1.phi_d[3],Spherical2.phi[1],Spherical2.phi[2],Spherical2.phi[3],Spherical2.phi_d[1],Spherical2.phi_d[2],Spherical2.phi_d[3],Spherical3.w_rel[1],Spherical3.w_rel[2],Spherical3.w_rel[3],Spherical4.w_rel[1],Spherical4.w_rel[2],Spherical4.w_rel[3],boxBody5.body.w_a[1],boxBody5.body.w_a[2],boxBody5.body.w_a[3],boxBody6.body.w_a[1],boxBody6.body.w_a[2],boxBody6.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (286): * Single equations (assignments): 271 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,59.4%) 13,(8,59.4%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2082/7.311, allocations: 183.8 kB / 1.129 GB, free: 88.3 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.04763/7.359, allocations: 15.32 MB / 1.144 GB, free: 86.67 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.203e-05/7.359, allocations: 2.781 kB / 1.144 GB, free: 86.67 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.02471/7.384, allocations: 6.948 MB / 1.15 GB, free: 85.37 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0112/7.395, allocations: 1.039 MB / 1.151 GB, free: 85.34 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08203/7.477, allocations: 20.58 MB / 1.172 GB, free: 81.75 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02492/7.502, allocations: 6.975 MB / 1.178 GB, free: 80.8 MB / 474.8 MB Notification: Performance of SimCode: time 1.953e-06/7.502, allocations: 0 / 1.178 GB, free: 80.8 MB / 474.8 MB