Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",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 1.981/1.981, allocations: 209.3 MB / 216.3 MB, free: 6.789 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2918/2.272, allocations: 51.03 MB / 267.3 MB, free: 5.129 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1196/2.392, allocations: 48.69 MB / 316 MB, free: 4.344 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.334/2.726, allocations: 92.06 MB / 408 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002574/2.726, allocations: 80.33 kB / 408.1 MB, free: 0.8711 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.8529/3.579, allocations: 145.6 MB / 0.5407 GB, free: 76.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.037e-05/3.579, allocations: 8.031 kB / 0.5407 GB, free: 76.95 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05804/3.638, allocations: 7.136 MB / 0.5477 GB, free: 75.04 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04503/3.683, allocations: 10.96 MB / 0.5584 GB, free: 69.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005839/3.683, allocations: 247.6 kB / 0.5586 GB, free: 69.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004359/3.688, allocations: 465.7 kB / 0.5591 GB, free: 69.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02871/3.716, allocations: 10.45 MB / 0.5693 GB, free: 58.76 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04353/3.76, allocations: 15.53 MB / 0.5845 GB, free: 41.72 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006802/3.761, allocations: 107 kB / 0.5846 GB, free: 41.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003729/3.764, allocations: 51.91 kB / 0.5846 GB, free: 41.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004071/3.769, allocations: 1.709 MB / 0.5863 GB, free: 39.86 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3311/4.1, allocations: 79.88 MB / 0.6643 GB, free: 85.64 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01092/4.111, allocations: 4.647 MB / 0.6688 GB, free: 84.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01219/4.123, allocations: 3.695 MB / 0.6724 GB, free: 84.95 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04645/4.169, allocations: 10.93 MB / 0.6831 GB, free: 82.96 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001035/4.17, allocations: 69.47 kB / 0.6832 GB, free: 82.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=259): time 1.185e-05/4.17, allocations: 0 / 0.6832 GB, free: 82.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=287): time 0.118/4.288, allocations: 22.22 MB / 0.7049 GB, free: 75.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.731e-05/4.288, allocations: 234.6 kB / 0.7051 GB, free: 75.22 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0151/4.303, allocations: 5.218 MB / 0.7102 GB, free: 73.29 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009542/4.304, allocations: 27.86 kB / 0.7102 GB, free: 73.26 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004363/4.308, allocations: 4.749 MB / 0.7149 GB, free: 69.64 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002741/4.311, allocations: 1.153 MB / 0.716 GB, free: 68.8 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/4.313, allocations: 0 / 0.716 GB, free: 68.8 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009237/4.314, allocations: 0.7255 MB / 0.7167 GB, free: 68.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01046/4.324, allocations: 3.805 MB / 0.7204 GB, free: 66.99 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01529/4.34, allocations: 9.678 MB / 0.7299 GB, free: 57.73 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01791/4.358, allocations: 6.151 MB / 0.7359 GB, free: 54.82 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0009841/4.359, allocations: 60 kB / 0.7359 GB, free: 54.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.07375/4.433, allocations: 14.3 MB / 0.7499 GB, free: 42.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.801e-05/4.433, allocations: 4 kB / 0.7499 GB, free: 42.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03894/4.472, allocations: 6.872 MB / 0.7566 GB, free: 37.04 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02314/4.495, allocations: 2.7 MB / 0.7592 GB, free: 35.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01687/4.512, allocations: 2.358 MB / 0.7615 GB, free: 32.97 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0149/4.527, allocations: 10.73 MB / 0.772 GB, free: 22.36 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01565/4.542, allocations: 0.5127 MB / 0.7725 GB, free: 21.97 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002838/4.545, allocations: 0.6057 MB / 0.7731 GB, free: 21.39 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.004118/4.55, allocations: 0.6398 MB / 0.7737 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001757/4.551, allocations: 0.5475 MB / 0.7743 GB, free: 20.19 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03093/4.582, allocations: 7.538 MB / 0.7816 GB, free: 14.21 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02761/4.61, allocations: 6.719 MB / 0.7882 GB, free: 8.828 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-05/4.61, allocations: 4 kB / 0.7882 GB, free: 8.824 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001076/4.61, allocations: 19.53 kB / 0.7882 GB, free: 8.816 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02032/4.631, allocations: 6.198 MB / 0.7943 GB, free: 4.156 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-05/4.631, allocations: 4 kB / 0.7943 GB, free: 4.152 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01033/4.641, allocations: 0.5735 MB / 0.7948 GB, free: 3.699 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.026/4.667, allocations: 2.957 MB / 0.7977 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001409/4.668, allocations: 67.91 kB / 0.7978 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2224/4.891, allocations: 13.46 MB / 0.8109 GB, free: 109 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004534/4.896, allocations: 5.654 MB / 0.8164 GB, free: 103.9 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03757/4.933, allocations: 11.78 MB / 0.828 GB, free: 103.1 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04681/4.98, allocations: 15.94 MB / 0.8435 GB, free: 100.9 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004988/4.985, allocations: 1.095 MB / 0.8446 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002849/4.988, allocations: 46.81 kB / 0.8446 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008473/4.996, allocations: 211 kB / 0.8448 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001883/4.998, allocations: 150.9 kB / 0.845 GB, free: 100.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001608/5, allocations: 99.36 kB / 0.8451 GB, free: 100.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01556/5.016, allocations: 3.512 MB / 0.8485 GB, free: 99.3 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.02252/5.038, allocations: 1.858 MB / 0.8503 GB, free: 99.3 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.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],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],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_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.002034/5.04, allocations: 212.1 kB / 0.8505 GB, free: 99.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0489/5.089, allocations: 10.52 MB / 0.8608 GB, free: 95.56 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.339e-05/5.089, allocations: 3.969 kB / 0.8608 GB, free: 95.56 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02609/5.116, allocations: 5.085 MB / 0.8658 GB, free: 93.03 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01859/5.134, allocations: 0.6824 MB / 0.8664 GB, free: 92.77 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06715/5.201, allocations: 16.52 MB / 0.8826 GB, free: 83.21 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01783/5.219, allocations: 6.028 MB / 0.8884 GB, free: 78.7 MB / 426.7 MB Notification: Performance of SimCode: time 2.565e-06/5.219, allocations: 0 / 0.8884 GB, free: 78.7 MB / 426.7 MB