Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_2_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 2.323/2.323, allocations: 235 MB / 241.9 MB, free: 9.762 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2053/2.528, allocations: 57.2 MB / 299.1 MB, free: 456 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/2.822, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.384/3.206, allocations: 98.55 MB / 452.5 MB, free: 33.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/3.206, allocations: 71.83 kB / 452.6 MB, free: 33.12 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: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.7005/3.907, allocations: 145.7 MB / 0.5843 GB, free: 204 kB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/3.907, allocations: 12 kB / 0.5843 GB, free: 192 kB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07135/3.978, allocations: 7.185 MB / 0.5913 GB, free: 8.977 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05148/4.03, allocations: 11 MB / 0.6021 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008782/4.03, allocations: 244 kB / 0.6023 GB, free: 13.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005153/4.036, allocations: 459.7 kB / 0.6027 GB, free: 13.2 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03283/4.069, allocations: 10.46 MB / 0.613 GB, free: 2.734 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2199/4.289, allocations: 15.53 MB / 0.6281 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007101/4.289, allocations: 114.6 kB / 0.6282 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003846/4.293, allocations: 43 kB / 0.6283 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004165/4.297, allocations: 1.715 MB / 0.63 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1394/4.437, allocations: 79.9 MB / 0.708 GB, free: 59 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/4.448, allocations: 4.656 MB / 0.7125 GB, free: 58.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007768/4.455, allocations: 3.691 MB / 0.7161 GB, free: 56.42 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03216/4.488, allocations: 10.97 MB / 0.7268 GB, free: 51.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.084e-05/4.488, allocations: 62.34 kB / 0.7269 GB, free: 51.05 MB / 474.7 MB Notification: Performance of pre-optimization done (n=259): time 7.074e-06/4.488, allocations: 3.938 kB / 0.7269 GB, free: 51.05 MB / 474.7 MB Notification: Performance of matching and sorting (n=287): time 0.1053/4.593, allocations: 22.2 MB / 0.7486 GB, free: 42.76 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.375e-05/4.593, allocations: 237.6 kB / 0.7488 GB, free: 42.51 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01359/4.607, allocations: 5.217 MB / 0.7539 GB, free: 40.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001043/4.608, allocations: 25.7 kB / 0.7539 GB, free: 40.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004481/4.612, allocations: 4.75 MB / 0.7586 GB, free: 36.97 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002946/4.615, allocations: 1.155 MB / 0.7597 GB, free: 36.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001883/4.617, allocations: 0 / 0.7597 GB, free: 36.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001191/4.619, allocations: 0.7271 MB / 0.7604 GB, free: 35.64 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01043/4.629, allocations: 3.828 MB / 0.7641 GB, free: 34.3 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01448/4.644, allocations: 9.703 MB / 0.7736 GB, free: 25.04 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01676/4.66, allocations: 6.184 MB / 0.7797 GB, free: 22.89 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002418/4.661, allocations: 60.56 kB / 0.7797 GB, free: 22.89 MB / 474.7 MB Notification: Performance of matching and sorting (n=1295) (initialization): time 0.0872/4.748, allocations: 15.02 MB / 0.7944 GB, free: 13.82 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.399e-05/4.748, allocations: 6.812 kB / 0.7944 GB, free: 13.82 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05563/4.804, allocations: 7.547 MB / 0.8018 GB, free: 7.723 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03349/4.837, allocations: 3.441 MB / 0.8051 GB, free: 5.27 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01712/4.854, allocations: 2.316 MB / 0.8074 GB, free: 3.254 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2439/5.098, allocations: 12.67 MB / 0.8198 GB, free: 90.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0157/5.114, allocations: 0.5199 MB / 0.8203 GB, free: 90.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002825/5.117, allocations: 0.605 MB / 0.8209 GB, free: 90.04 MB / 474.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 (1219): * Single equations (assignments): 1194 * 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%),(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: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005225/5.122, allocations: 0.6388 MB / 0.8215 GB, free: 89.92 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001929/5.124, allocations: 0.5494 MB / 0.822 GB, free: 89.92 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03253/5.157, allocations: 7.525 MB / 0.8294 GB, free: 89.68 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03641/5.193, allocations: 6.727 MB / 0.8359 GB, free: 89.48 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.757e-05/5.193, allocations: 7.906 kB / 0.8359 GB, free: 89.48 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001228/5.194, allocations: 13.36 kB / 0.836 GB, free: 89.48 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02564/5.219, allocations: 6.201 MB / 0.842 GB, free: 89.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/5.219, allocations: 3.281 kB / 0.842 GB, free: 89.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00725/5.227, allocations: 0.5657 MB / 0.8426 GB, free: 89.23 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01914/5.246, allocations: 2.957 MB / 0.8455 GB, free: 89.12 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00112/5.247, allocations: 72.14 kB / 0.8455 GB, free: 89.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0335/5.281, allocations: 13.47 MB / 0.8587 GB, free: 81.79 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004858/5.285, allocations: 5.64 MB / 0.8642 GB, free: 76.64 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04854/5.334, allocations: 11.78 MB / 0.8757 GB, free: 75.89 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06081/5.395, allocations: 15.94 MB / 0.8913 GB, free: 74.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00228/5.397, allocations: 0.5952 MB / 0.8918 GB, free: 74.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002743/5.4, allocations: 41.77 kB / 0.8919 GB, free: 74.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007742/5.408, allocations: 217.9 kB / 0.8921 GB, free: 74.3 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001242/5.409, allocations: 141.9 kB / 0.8922 GB, free: 74.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004778/5.41, allocations: 99.61 kB / 0.8923 GB, free: 74.3 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.009815/5.419, allocations: 3.515 MB / 0.8958 GB, free: 73.42 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01731/5.437, allocations: 1.886 MB / 0.8976 GB, free: 73.42 MB / 474.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.002299/5.439, allocations: 212 kB / 0.8978 GB, free: 73.32 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.04679/5.486, allocations: 10.96 MB / 0.9085 GB, free: 69.33 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.183e-05/5.486, allocations: 0 / 0.9085 GB, free: 69.33 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.02311/5.509, allocations: 5.098 MB / 0.9135 GB, free: 66.84 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007228/5.517, allocations: 0.6679 MB / 0.9141 GB, free: 66.59 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05749/5.574, allocations: 16.54 MB / 0.9303 GB, free: 60.45 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01924/5.593, allocations: 6.016 MB / 0.9362 GB, free: 57.36 MB / 474.7 MB Notification: Performance of SimCode: time 1.984e-06/5.593, allocations: 0 / 0.9362 GB, free: 57.36 MB / 474.7 MB