Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.InitializationConversion.Bodies,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_InitializationConversion_Bodies",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.362/2.362, allocations: 235 MB / 241.9 MB, free: 9.77 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1484/2.511, allocations: 57.21 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/2.786, allocations: 54.84 MB / 354 MB, free: 13.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3771/3.163, allocations: 94.54 MB / 448.5 MB, free: 31.06 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002725/3.163, allocations: 71.94 kB / 448.6 MB, free: 31.06 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: 1495 * Number of variables: 1495 Notification: Performance of Generate backend data structure: time 0.5243/3.688, allocations: 105.1 MB / 0.5407 GB, free: 12.84 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.371e-05/3.688, allocations: 16 kB / 0.5407 GB, free: 12.82 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05684/3.745, allocations: 6.802 MB / 0.5474 GB, free: 6 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.08249/3.827, allocations: 18.28 MB / 0.5652 GB, free: 3.613 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003687/3.828, allocations: 132 kB / 0.5654 GB, free: 3.484 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002948/3.831, allocations: 267.7 kB / 0.5656 GB, free: 3.223 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02094/3.852, allocations: 6.54 MB / 0.572 GB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03641/3.888, allocations: 9.866 MB / 0.5816 GB, free: 1.715 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005133/3.889, allocations: 87.2 kB / 0.5817 GB, free: 1.629 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002527/3.891, allocations: 32 kB / 0.5818 GB, free: 1.598 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003484/3.895, allocations: 1.139 MB / 0.5829 GB, free: 464 kB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3081/4.203, allocations: 51.31 MB / 0.633 GB, free: 114.3 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0104/4.213, allocations: 3.609 MB / 0.6365 GB, free: 113.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006236/4.22, allocations: 2.515 MB / 0.639 GB, free: 113.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03368/4.253, allocations: 9.289 MB / 0.648 GB, free: 110.9 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.715e-05/4.254, allocations: 63.8 kB / 0.6481 GB, free: 110.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=182): time 7.754e-06/4.254, allocations: 0 / 0.6481 GB, free: 110.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=210): time 0.0943/4.348, allocations: 18.92 MB / 0.6666 GB, free: 104.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000108/4.348, allocations: 330.2 kB / 0.6669 GB, free: 104.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01369/4.362, allocations: 4.037 MB / 0.6708 GB, free: 104 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001058/4.363, allocations: 25.7 kB / 0.6708 GB, free: 104 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004672/4.368, allocations: 3.121 MB / 0.6739 GB, free: 102.3 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002925/4.371, allocations: 0.8653 MB / 0.6747 GB, free: 101.8 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001661/4.372, allocations: 0 / 0.6747 GB, free: 101.8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001018/4.373, allocations: 0.6184 MB / 0.6753 GB, free: 101.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009327/4.383, allocations: 3.002 MB / 0.6783 GB, free: 101.5 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01418/4.397, allocations: 7.378 MB / 0.6855 GB, free: 95.79 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01735/4.414, allocations: 4.813 MB / 0.6902 GB, free: 94.45 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001942/4.415, allocations: 46.66 kB / 0.6902 GB, free: 94.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=964) (initialization): time 0.105/4.52, allocations: 13.73 MB / 0.7036 GB, free: 91.31 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.217e-05/4.52, allocations: 3.531 kB / 0.7036 GB, free: 91.31 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08682/4.607, allocations: 7.672 MB / 0.7111 GB, free: 89.7 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.08125/4.688, allocations: 5.177 MB / 0.7162 GB, free: 89.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01116/4.699, allocations: 1.705 MB / 0.7178 GB, free: 88.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0366/4.736, allocations: 14.22 MB / 0.7317 GB, free: 75.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01348/4.749, allocations: 492.3 kB / 0.7322 GB, free: 75.32 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00225/4.752, allocations: 466 kB / 0.7327 GB, free: 74.89 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 713 * Number of states: 0 () * Number of discrete variables: 36 (body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],body1.frameTranslation.color[3],body1.frameTranslation.color[2],body1.frameTranslation.color[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],body.sphereColor[3],body.sphereColor[2],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 (888): * Single equations (assignments): 863 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,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.003419/4.755, allocations: 0.4927 MB / 0.7331 GB, free: 74.39 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00276/4.758, allocations: 426.5 kB / 0.7335 GB, free: 73.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002942/4.761, allocations: 0.5687 MB / 0.7341 GB, free: 73.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03727/4.798, allocations: 5.606 MB / 0.7396 GB, free: 69.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.284e-05/4.798, allocations: 8 kB / 0.7396 GB, free: 69.16 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.231e-05/4.798, allocations: 17.53 kB / 0.7396 GB, free: 69.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03232/4.831, allocations: 9.132 MB / 0.7485 GB, free: 62.12 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.014e-05/4.831, allocations: 4 kB / 0.7485 GB, free: 62.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004638/4.836, allocations: 397.2 kB / 0.7489 GB, free: 61.81 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02644/4.862, allocations: 3.255 MB / 0.7521 GB, free: 59.61 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008444/4.863, allocations: 72.28 kB / 0.7521 GB, free: 59.57 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02641/4.889, allocations: 14.43 MB / 0.7662 GB, free: 46.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004261/4.894, allocations: 5.471 MB / 0.7716 GB, free: 40.06 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03931/4.933, allocations: 10.33 MB / 0.7817 GB, free: 29.59 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05592/4.989, allocations: 13.55 MB / 0.7949 GB, free: 15.89 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002431/4.991, allocations: 0.4956 MB / 0.7954 GB, free: 15.37 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00375/4.995, allocations: 47.88 kB / 0.7954 GB, free: 15.32 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01082/5.006, allocations: 187.7 kB / 0.7956 GB, free: 15.14 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001312/5.008, allocations: 123.5 kB / 0.7957 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005666/5.008, allocations: 71.94 kB / 0.7958 GB, free: 14.95 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01114/5.019, allocations: 2.761 MB / 0.7985 GB, free: 12.19 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01672/5.036, allocations: 1.544 MB / 0.8 GB, free: 10.65 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.body.frame_a.r_0[1],body1.body.frame_a.r_0[2],body1.body.frame_a.r_0[3],body1.body.w_a[1],body1.body.w_a[2],body1.body.w_a[3],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.body.frame_a.r_0[1],body2.body.frame_a.r_0[2],body2.body.frame_a.r_0[3],body2.body.w_a[1],body2.body.w_a[2],body2.body.w_a[3],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body3.v_0[1],body3.v_0[2],body3.v_0[3],body3.body.frame_a.r_0[1],body3.body.frame_a.r_0[2],body3.body.frame_a.r_0[3],body3.body.w_a[1],body3.body.w_a[2],body3.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(4,100.0%),(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 1,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001356/5.038, allocations: 198.8 kB / 0.8002 GB, free: 10.46 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03758/5.075, allocations: 8.911 MB / 0.8089 GB, free: 1.344 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.204e-05/5.075, allocations: 256 / 0.8089 GB, free: 1.344 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.2217/5.297, allocations: 4.44 MB / 0.8132 GB, free: 135.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006158/5.303, allocations: 0.5337 MB / 0.8137 GB, free: 135.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04351/5.347, allocations: 12.25 MB / 0.8257 GB, free: 132.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01808/5.365, allocations: 4.243 MB / 0.8298 GB, free: 132.1 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/5.365, allocations: 0 / 0.8298 GB, free: 132.1 MB / 474.7 MB