Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravity,fileNamePrefix="Modelica_3_2_2_Modelica_Mechanics_MultiBody_Examples_Elementary_PointGravity",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(Modelica): time 1.609/1.609, allocations: 194.9 MB / 202.5 MB, free: 6.926 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1997/1.808, allocations: 46.84 MB / 249.3 MB, free: 5.379 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08647/1.895, allocations: 44.51 MB / 293.9 MB, free: 10.92 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2785/2.174, allocations: 80.58 MB / 374.4 MB, free: 7.047 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/2.174, allocations: 78.88 kB / 374.5 MB, free: 7.047 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 908 * Number of variables: 908 Notification: Performance of Generate backend data structure: time 0.2784/2.452, allocations: 60.54 MB / 435.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/2.452, allocations: 12 kB / 435.1 MB, free: 2.109 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01827/2.471, allocations: 1.818 MB / 436.9 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01979/2.49, allocations: 4.796 MB / 441.7 MB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001432/2.491, allocations: 72 kB / 441.7 MB, free: 11.41 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008666/2.492, allocations: 139.8 kB / 441.9 MB, free: 11.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01063/2.502, allocations: 4.185 MB / 446.1 MB, free: 7.078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01698/2.519, allocations: 6.441 MB / 452.5 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001628/2.519, allocations: 43.62 kB / 452.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009352/2.52, allocations: 24 kB / 452.6 MB, free: 15.73 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002039/2.522, allocations: 0.7764 MB / 453.4 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05265/2.575, allocations: 33.4 MB / 486.8 MB, free: 12.61 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005104/2.58, allocations: 2.273 MB / 489 MB, free: 10.19 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002959/2.583, allocations: 1.344 MB / 490.4 MB, free: 8.832 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001801/2.585, allocations: 0.6271 MB / 491 MB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.647e-05/2.585, allocations: 59.55 kB / 491.1 MB, free: 8.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 3.847e-06/2.585, allocations: 0 / 491.1 MB, free: 8.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=136): time 0.1137/2.699, allocations: 22.84 MB / 0.5019 GB, free: 1.016 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/2.699, allocations: 170.8 kB / 0.502 GB, free: 0.8125 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1339/2.833, allocations: 2.32 MB / 0.5043 GB, free: 157.3 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000504/2.834, allocations: 29.5 kB / 0.5043 GB, free: 157.3 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001713/2.835, allocations: 1.988 MB / 0.5062 GB, free: 156.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00113/2.836, allocations: 0.5473 MB / 0.5068 GB, free: 156.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007822/2.837, allocations: 0 / 0.5068 GB, free: 156.3 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004331/2.838, allocations: 0.5125 MB / 0.5073 GB, free: 156 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005292/2.843, allocations: 2.092 MB / 0.5093 GB, free: 156 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007267/2.85, allocations: 5.057 MB / 0.5143 GB, free: 152.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03018/2.881, allocations: 6.988 MB / 0.5211 GB, free: 152.1 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/2.881, allocations: 28.69 kB / 0.5211 GB, free: 152.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=648) (initialization): time 0.06645/2.947, allocations: 11.89 MB / 0.5327 GB, free: 151.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.414e-05/2.947, allocations: 7.781 kB / 0.5327 GB, free: 151.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04356/2.991, allocations: 7.744 MB / 0.5403 GB, free: 150.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01784/3.009, allocations: 2.049 MB / 0.5423 GB, free: 150.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007493/3.016, allocations: 1.131 MB / 0.5434 GB, free: 150 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01225/3.029, allocations: 7.656 MB / 0.5509 GB, free: 144.4 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008762/3.037, allocations: 351.9 kB / 0.5512 GB, free: 144.4 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001678/3.039, allocations: 318.1 kB / 0.5515 GB, free: 144.4 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 487 * Number of states: 0 () * Number of discrete variables: 15 (body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (596): * Single equations (assignments): 581 * Array equations: 7 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,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: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002371/3.042, allocations: 364.9 kB / 0.5519 GB, free: 144.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008735/3.043, allocations: 235.8 kB / 0.5521 GB, free: 144 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001685/3.044, allocations: 348 kB / 0.5524 GB, free: 143.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.04445/3.089, allocations: 7.603 MB / 0.5598 GB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.56e-05/3.089, allocations: 4 kB / 0.5599 GB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.913e-05/3.089, allocations: 9.188 kB / 0.5599 GB, free: 139.9 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/3.102, allocations: 4.64 MB / 0.5644 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.075e-05/3.102, allocations: 4 kB / 0.5644 GB, free: 136.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002635/3.105, allocations: 220.1 kB / 0.5646 GB, free: 136.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01707/3.122, allocations: 2.062 MB / 0.5666 GB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005429/3.123, allocations: 31.58 kB / 0.5666 GB, free: 134.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/3.141, allocations: 8.421 MB / 0.5749 GB, free: 126.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00192/3.143, allocations: 2.706 MB / 0.5775 GB, free: 123.9 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04934/3.193, allocations: 10.86 MB / 0.5881 GB, free: 115.1 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05216/3.245, allocations: 13.36 MB / 0.6012 GB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008674/3.246, allocations: 309.8 kB / 0.6015 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008297/3.247, allocations: 23.98 kB / 0.6015 GB, free: 102 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003461/3.25, allocations: 131.8 kB / 0.6016 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003817/3.25, allocations: 67.88 kB / 0.6017 GB, free: 101.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002494/3.251, allocations: 51.88 kB / 0.6017 GB, free: 101.7 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.003245/3.254, allocations: 1.553 MB / 0.6032 GB, free: 100.2 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006925/3.261, allocations: 0.8469 MB / 0.6041 GB, free: 99.32 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 24 ($STATESET139822830042729.x[3],$STATESET139822830042729.x[2],$STATESET139822830042729.x[1],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.w_a[3],$STATESET139822830042728.x[3],$STATESET139822830042728.x[2],$STATESET139822830042728.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (92): * Single equations (assignments): 81 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(3,100.0%),(4,100.0%),(3,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: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007449/3.262, allocations: 168.8 kB / 0.6042 GB, free: 99.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01737/3.279, allocations: 6.094 MB / 0.6102 GB, free: 92.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.233e-06/3.279, allocations: 0 / 0.6102 GB, free: 92.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009648/3.289, allocations: 2.968 MB / 0.6131 GB, free: 89.87 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002442/3.291, allocations: 241.6 kB / 0.6133 GB, free: 89.64 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02078/3.312, allocations: 6.829 MB / 0.62 GB, free: 82.84 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005762/3.318, allocations: 2.627 MB / 0.6225 GB, free: 80.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.934e-06/3.318, allocations: 8 kB / 0.6225 GB, free: 80.19 MB / 410.7 MB