Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodies2",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.075/2.075, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2575/2.332, allocations: 51.03 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/2.455, allocations: 48.68 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3609/2.816, allocations: 92.06 MB / 408 MB, free: 0.9805 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002459/2.817, allocations: 80.52 kB / 408.1 MB, free: 0.9375 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.8984/3.715, allocations: 145.6 MB / 0.5407 GB, free: 75.7 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.919e-05/3.715, allocations: 9.312 kB / 0.5407 GB, free: 75.7 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07001/3.785, allocations: 7.135 MB / 0.5477 GB, free: 74.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05212/3.837, allocations: 10.97 MB / 0.5584 GB, free: 68.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006385/3.838, allocations: 247.7 kB / 0.5586 GB, free: 68.26 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005243/3.843, allocations: 448.6 kB / 0.5591 GB, free: 68.25 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04335/3.887, allocations: 10.46 MB / 0.5693 GB, free: 58.5 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04417/3.931, allocations: 15.53 MB / 0.5845 GB, free: 41.46 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005697/3.932, allocations: 99.12 kB / 0.5845 GB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003749/3.935, allocations: 44 kB / 0.5846 GB, free: 41.32 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004059/3.94, allocations: 1.721 MB / 0.5863 GB, free: 39.61 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4012/4.341, allocations: 79.78 MB / 0.6642 GB, free: 85.88 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01186/4.353, allocations: 4.63 MB / 0.6687 GB, free: 85.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00804/4.361, allocations: 3.678 MB / 0.6723 GB, free: 85.19 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03589/4.397, allocations: 10.87 MB / 0.6829 GB, free: 83.2 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.386e-05/4.397, allocations: 57.53 kB / 0.683 GB, free: 83.16 MB / 426.7 MB Notification: Performance of pre-optimization done (n=259): time 7.053e-06/4.397, allocations: 3.5 kB / 0.683 GB, free: 83.16 MB / 426.7 MB Notification: Performance of matching and sorting (n=287): time 0.1071/4.504, allocations: 22.11 MB / 0.7046 GB, free: 75.95 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.408e-05/4.504, allocations: 239.4 kB / 0.7048 GB, free: 75.7 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01489/4.519, allocations: 5.209 MB / 0.7099 GB, free: 73.77 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009852/4.52, allocations: 28.8 kB / 0.7099 GB, free: 73.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004398/4.525, allocations: 4.76 MB / 0.7146 GB, free: 70.11 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002542/4.527, allocations: 1.15 MB / 0.7157 GB, free: 69.26 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001575/4.529, allocations: 0 / 0.7157 GB, free: 69.26 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009603/4.53, allocations: 0.727 MB / 0.7164 GB, free: 68.78 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01012/4.54, allocations: 3.782 MB / 0.7201 GB, free: 67.47 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01583/4.556, allocations: 9.653 MB / 0.7295 GB, free: 58.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01722/4.573, allocations: 6.119 MB / 0.7355 GB, free: 55.58 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003363/4.573, allocations: 64 kB / 0.7355 GB, free: 55.52 MB / 426.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.06027/4.634, allocations: 14.26 MB / 0.7495 GB, free: 43.49 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/4.634, allocations: 6.656 kB / 0.7495 GB, free: 43.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02619/4.66, allocations: 6.829 MB / 0.7561 GB, free: 37.85 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02394/4.684, allocations: 2.703 MB / 0.7588 GB, free: 35.83 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02451/4.709, allocations: 2.362 MB / 0.7611 GB, free: 33.78 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0196/4.728, allocations: 10.73 MB / 0.7716 GB, free: 23.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01576/4.744, allocations: 0.5165 MB / 0.7721 GB, free: 22.77 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003224/4.747, allocations: 0.6084 MB / 0.7727 GB, free: 22.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (1228): * Single equations (assignments): 1203 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 11 * 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%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {1,1,1} * 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: 1 {3 1} Notification: Performance of prepare postOptimizeDAE: time 0.004929/4.752, allocations: 0.6394 MB / 0.7733 GB, free: 21.55 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001725/4.754, allocations: 0.5515 MB / 0.7738 GB, free: 20.99 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03734/4.791, allocations: 7.509 MB / 0.7812 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02771/4.819, allocations: 6.703 MB / 0.7877 GB, free: 9.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.916e-05/4.819, allocations: 8 kB / 0.7877 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001355/4.82, allocations: 15.38 kB / 0.7877 GB, free: 9.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02175/4.841, allocations: 6.166 MB / 0.7937 GB, free: 4.285 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.878e-05/4.841, allocations: 4 kB / 0.7938 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01088/4.852, allocations: 0.5695 MB / 0.7943 GB, free: 3.711 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02311/4.875, allocations: 2.95 MB / 0.7972 GB, free: 0.7148 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001232/4.877, allocations: 67.91 kB / 0.7973 GB, free: 0.6484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2324/5.109, allocations: 13.41 MB / 0.8103 GB, free: 109.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006657/5.116, allocations: 5.639 MB / 0.8159 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04082/5.157, allocations: 11.76 MB / 0.8273 GB, free: 103.2 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04891/5.206, allocations: 15.91 MB / 0.8429 GB, free: 101.1 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007349/5.213, allocations: 1.09 MB / 0.8439 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004155/5.217, allocations: 34.19 kB / 0.844 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008072/5.226, allocations: 211.3 kB / 0.8442 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001277/5.227, allocations: 151.4 kB / 0.8443 GB, free: 100.8 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006077/5.228, allocations: 99.72 kB / 0.8444 GB, free: 100.8 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01072/5.238, allocations: 3.511 MB / 0.8479 GB, free: 99.51 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01529/5.254, allocations: 1.862 MB / 0.8497 GB, free: 99.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.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]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (233): * Single equations (assignments): 216 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,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: 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.001528/5.255, allocations: 196.4 kB / 0.8499 GB, free: 99.42 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.03699/5.292, allocations: 10.49 MB / 0.8601 GB, free: 95.77 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.668e-06/5.292, allocations: 3.094 kB / 0.8601 GB, free: 95.77 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01819/5.31, allocations: 5.049 MB / 0.865 GB, free: 93.25 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007604/5.318, allocations: 0.6755 MB / 0.8657 GB, free: 92.99 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07854/5.397, allocations: 16.49 MB / 0.8818 GB, free: 83.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02564/5.422, allocations: 6.024 MB / 0.8877 GB, free: 79.14 MB / 426.7 MB Notification: Performance of SimCode: time 2.064e-06/5.423, allocations: 0 / 0.8877 GB, free: 79.14 MB / 426.7 MB