Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForceAndTorque",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.976/1.976, allocations: 209.3 MB / 216.3 MB, free: 6.867 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.3128/2.289, allocations: 51.03 MB / 267.3 MB, free: 5.223 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/2.415, allocations: 48.68 MB / 316 MB, free: 4.453 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3462/2.762, allocations: 94.17 MB / 410.1 MB, free: 14.89 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003967/2.762, allocations: 78.95 kB / 410.2 MB, free: 14.85 MB / 346.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 1.071/3.833, allocations: 181.6 MB / 0.578 GB, free: 50.6 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 6.443e-05/3.833, allocations: 8 kB / 0.578 GB, free: 50.59 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08217/3.916, allocations: 9.463 MB / 0.5872 GB, free: 41.1 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04071/3.956, allocations: 9.936 MB / 0.5969 GB, free: 31.16 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001217/3.958, allocations: 300 kB / 0.5972 GB, free: 30.87 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007181/3.965, allocations: 0.5311 MB / 0.5977 GB, free: 30.34 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04201/4.007, allocations: 13.32 MB / 0.6108 GB, free: 17.02 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07662/4.084, allocations: 19.58 MB / 0.6299 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001635/4.085, allocations: 114.9 kB / 0.63 GB, free: 11.68 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005349/4.091, allocations: 48 kB / 0.63 GB, free: 11.63 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005474/4.096, allocations: 2.217 MB / 0.6322 GB, free: 9.414 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5342/4.63, allocations: 88.89 MB / 0.719 GB, free: 60.36 MB / 426.9 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01708/4.648, allocations: 8.274 MB / 0.7271 GB, free: 57.48 MB / 426.9 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01235/4.66, allocations: 5.961 MB / 0.7329 GB, free: 55.03 MB / 426.9 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04266/4.703, allocations: 15.37 MB / 0.7479 GB, free: 48.05 MB / 426.9 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.951e-05/4.703, allocations: 78.62 kB / 0.748 GB, free: 47.99 MB / 426.9 MB Notification: Performance of pre-optimization done (n=394): time 8.125e-06/4.703, allocations: 0 / 0.748 GB, free: 47.99 MB / 426.9 MB Notification: Performance of matching and sorting (n=460): time 0.152/4.855, allocations: 38.12 MB / 0.7852 GB, free: 25.42 MB / 426.9 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/4.855, allocations: 281.5 kB / 0.7855 GB, free: 25.09 MB / 426.9 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01566/4.871, allocations: 5.672 MB / 0.791 GB, free: 20.14 MB / 426.9 MB Notification: Performance of collectPreVariables (initialization): time 0.001397/4.872, allocations: 25.7 kB / 0.7911 GB, free: 20.11 MB / 426.9 MB Notification: Performance of collectInitialEqns (initialization): time 0.0047/4.877, allocations: 5.681 MB / 0.7966 GB, free: 15.02 MB / 426.9 MB Notification: Performance of collectInitialBindings (initialization): time 0.003239/4.88, allocations: 1.65 MB / 0.7982 GB, free: 13.53 MB / 426.9 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003213/4.883, allocations: 0 / 0.7982 GB, free: 13.53 MB / 426.9 MB Notification: Performance of setup shared object (initialization): time 0.00142/4.885, allocations: 0.7947 MB / 0.799 GB, free: 12.87 MB / 426.9 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01377/4.899, allocations: 4.934 MB / 0.8038 GB, free: 8.449 MB / 426.9 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.241/5.14, allocations: 11.21 MB / 0.8148 GB, free: 95.2 MB / 426.9 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01824/5.158, allocations: 7.394 MB / 0.822 GB, free: 95.14 MB / 426.9 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002689/5.158, allocations: 62.88 kB / 0.822 GB, free: 95.14 MB / 426.9 MB Notification: Performance of matching and sorting (n=1506) (initialization): time 0.05938/5.218, allocations: 16.88 MB / 0.8385 GB, free: 94.52 MB / 426.9 MB Notification: Performance of prepare postOptimizeDAE: time 2.841e-05/5.218, allocations: 6.312 kB / 0.8385 GB, free: 94.52 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004367/5.218, allocations: 224.6 kB / 0.8387 GB, free: 94.52 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/5.231, allocations: 2.367 MB / 0.841 GB, free: 94.49 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02758/5.258, allocations: 2.699 MB / 0.8437 GB, free: 94.26 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05037/5.309, allocations: 15.54 MB / 0.8589 GB, free: 90.3 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02013/5.329, allocations: 393.5 kB / 0.8592 GB, free: 90.3 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004686/5.334, allocations: 0.6636 MB / 0.8599 GB, free: 90.3 MB / 426.9 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1014 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1410): * Single equations (assignments): 1404 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007778/5.341, allocations: 0.6748 MB / 0.8605 GB, free: 89.96 MB / 426.9 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003954/5.345, allocations: 0.6301 MB / 0.8612 GB, free: 89.96 MB / 426.9 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04399/5.39, allocations: 10.16 MB / 0.8711 GB, free: 88.22 MB / 426.9 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000166/5.39, allocations: 45.91 kB / 0.8711 GB, free: 88.22 MB / 426.9 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-05/5.39, allocations: 15.72 kB / 0.8711 GB, free: 88.22 MB / 426.9 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001232/5.39, allocations: 24.81 kB / 0.8712 GB, free: 88.21 MB / 426.9 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07923/5.469, allocations: 20.35 MB / 0.891 GB, free: 81.29 MB / 426.9 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-05/5.469, allocations: 4 kB / 0.891 GB, free: 81.28 MB / 426.9 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009857/5.479, allocations: 0.7678 MB / 0.8918 GB, free: 81.22 MB / 426.9 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01152/5.491, allocations: 1.98 MB / 0.8937 GB, free: 80.8 MB / 426.9 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001522/5.492, allocations: 19.08 kB / 0.8937 GB, free: 80.8 MB / 426.9 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04169/5.534, allocations: 14.36 MB / 0.9078 GB, free: 70.55 MB / 426.9 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/5.534, allocations: 4 kB / 0.9078 GB, free: 70.55 MB / 426.9 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.05658/5.591, allocations: 16.5 MB / 0.9239 GB, free: 56.27 MB / 426.9 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05977/5.651, allocations: 22.95 MB / 0.9463 GB, free: 35.99 MB / 426.9 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006213/5.657, allocations: 1.424 MB / 0.9477 GB, free: 34.69 MB / 426.9 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003501/5.66, allocations: 4 kB / 0.9477 GB, free: 34.68 MB / 426.9 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01387/5.674, allocations: 188.8 kB / 0.9479 GB, free: 34.57 MB / 426.9 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002484/5.677, allocations: 214.5 kB / 0.9481 GB, free: 34.45 MB / 426.9 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001302/5.678, allocations: 115.9 kB / 0.9482 GB, free: 34.34 MB / 426.9 MB Notification: Performance of sort global known variables: time 0.01125/5.69, allocations: 3.828 MB / 0.9519 GB, free: 31 MB / 426.9 MB Notification: Performance of remove unused functions: time 0.239/5.929, allocations: 2.314 MB / 0.9542 GB, free: 95.94 MB / 426.9 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (389): * Single equations (assignments): 383 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002506/5.931, allocations: 164.1 kB / 0.9543 GB, free: 95.86 MB / 426.9 MB Notification: Performance of simCode: created initialization part: time 0.0453/5.976, allocations: 12.28 MB / 0.9663 GB, free: 95.48 MB / 426.9 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-05/5.977, allocations: 0 / 0.9663 GB, free: 95.48 MB / 426.9 MB Notification: Performance of simCode: created simulation system equations: time 0.01632/5.993, allocations: 5.035 MB / 0.9712 GB, free: 95.15 MB / 426.9 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007804/6.001, allocations: 0.6609 MB / 0.9719 GB, free: 95.12 MB / 426.9 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08442/6.085, allocations: 18.23 MB / 0.9897 GB, free: 92.1 MB / 426.9 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02832/6.114, allocations: 7.145 MB / 0.9967 GB, free: 91.16 MB / 426.9 MB Notification: Performance of SimCode: time 2.315e-06/6.114, allocations: 0 / 0.9967 GB, free: 91.16 MB / 426.9 MB