Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,fileNamePrefix="ModelicaTest_3_2_2_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 2.256/2.256, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1545/2.411, allocations: 57.21 MB / 299.1 MB, free: 488 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2829/2.694, allocations: 54.84 MB / 354 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4318/3.126, allocations: 100.8 MB / 454.7 MB, free: 33.88 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003763/3.126, allocations: 73.97 kB / 454.8 MB, free: 33.88 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: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 1.252/4.378, allocations: 181.9 MB / 0.6218 GB, free: 97.52 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/4.378, allocations: 10.75 kB / 0.6218 GB, free: 97.52 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08808/4.466, allocations: 9.456 MB / 0.631 GB, free: 96.9 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05096/4.517, allocations: 9.939 MB / 0.6407 GB, free: 96.43 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006979/4.518, allocations: 304.4 kB / 0.641 GB, free: 96.43 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005011/4.523, allocations: 0.5405 MB / 0.6416 GB, free: 96.43 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04276/4.566, allocations: 13.33 MB / 0.6546 GB, free: 96.38 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05604/4.622, allocations: 19.59 MB / 0.6737 GB, free: 91.92 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008843/4.623, allocations: 113.3 kB / 0.6738 GB, free: 91.91 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005076/4.628, allocations: 46.69 kB / 0.6739 GB, free: 91.91 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004548/4.633, allocations: 2.232 MB / 0.676 GB, free: 91.89 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1685/4.801, allocations: 88.95 MB / 0.7629 GB, free: 53.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02069/4.822, allocations: 8.259 MB / 0.771 GB, free: 49.67 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01264/4.835, allocations: 5.972 MB / 0.7768 GB, free: 45.13 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04114/4.876, allocations: 15.38 MB / 0.7918 GB, free: 32.09 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.354e-05/4.876, allocations: 78.45 kB / 0.7919 GB, free: 32.02 MB / 490.8 MB Notification: Performance of pre-optimization done (n=394): time 8.436e-06/4.876, allocations: 4 kB / 0.7919 GB, free: 32.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=460): time 0.3994/5.275, allocations: 38.2 MB / 0.8292 GB, free: 105.7 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001694/5.276, allocations: 281.4 kB / 0.8295 GB, free: 105.4 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0214/5.297, allocations: 5.66 MB / 0.835 GB, free: 105.1 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001375/5.298, allocations: 25.7 kB / 0.835 GB, free: 105 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004945/5.303, allocations: 5.696 MB / 0.8406 GB, free: 103.1 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003293/5.307, allocations: 1.644 MB / 0.8422 GB, free: 102.1 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002446/5.309, allocations: 0 / 0.8422 GB, free: 102.1 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001539/5.311, allocations: 0.8005 MB / 0.843 GB, free: 101.8 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01532/5.326, allocations: 4.93 MB / 0.8478 GB, free: 101.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0186/5.345, allocations: 11.22 MB / 0.8587 GB, free: 93.74 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01876/5.364, allocations: 7.4 MB / 0.866 GB, free: 93.68 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000285/5.364, allocations: 65 kB / 0.866 GB, free: 93.68 MB / 490.8 MB Notification: Performance of matching and sorting (n=1506) (initialization): time 0.09744/5.461, allocations: 16.87 MB / 0.8825 GB, free: 93.16 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.667e-05/5.461, allocations: 10.28 kB / 0.8825 GB, free: 93.16 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004132/5.462, allocations: 219.5 kB / 0.8827 GB, free: 93.16 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01169/5.474, allocations: 2.372 MB / 0.8851 GB, free: 93.12 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02107/5.495, allocations: 2.697 MB / 0.8877 GB, free: 92.92 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04607/5.541, allocations: 15.52 MB / 0.9028 GB, free: 88.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02121/5.562, allocations: 393 kB / 0.9032 GB, free: 88.77 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003454/5.566, allocations: 0.6642 MB / 0.9039 GB, free: 88.77 MB / 490.8 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.00527/5.571, allocations: 0.6693 MB / 0.9045 GB, free: 88.29 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002259/5.573, allocations: 0.6368 MB / 0.9051 GB, free: 87.95 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.038/5.611, allocations: 10.17 MB / 0.9151 GB, free: 87.67 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001549/5.611, allocations: 44.34 kB / 0.9151 GB, free: 87.67 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.125e-05/5.612, allocations: 14.36 kB / 0.9151 GB, free: 87.67 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001154/5.612, allocations: 27.59 kB / 0.9152 GB, free: 87.67 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1094/5.721, allocations: 20.36 MB / 0.935 GB, free: 80.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.743e-05/5.721, allocations: 3.594 kB / 0.935 GB, free: 80.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009665/5.731, allocations: 0.7759 MB / 0.9358 GB, free: 80.62 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01514/5.746, allocations: 1.984 MB / 0.9377 GB, free: 80.21 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001284/5.747, allocations: 15.23 kB / 0.9377 GB, free: 80.21 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03397/5.781, allocations: 14.35 MB / 0.9518 GB, free: 72.56 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.632e-06/5.781, allocations: 2 kB / 0.9518 GB, free: 72.56 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04373/5.825, allocations: 16.49 MB / 0.9679 GB, free: 61.09 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05895/5.884, allocations: 22.95 MB / 0.9903 GB, free: 40.83 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.008627/5.893, allocations: 1.423 MB / 0.9917 GB, free: 39.52 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003149/5.896, allocations: 6.469 kB / 0.9917 GB, free: 39.52 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008561/5.905, allocations: 187.7 kB / 0.9919 GB, free: 39.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001872/5.907, allocations: 215.9 kB / 0.9921 GB, free: 39.29 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009249/5.908, allocations: 115.5 kB / 0.9922 GB, free: 39.18 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.01055/5.918, allocations: 3.824 MB / 0.9959 GB, free: 35.85 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01641/5.935, allocations: 1.941 MB / 0.9978 GB, free: 33.91 MB / 490.8 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.001759/5.936, allocations: 173.4 kB / 0.998 GB, free: 33.75 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.2666/6.203, allocations: 12.66 MB / 1.01 GB, free: 98.83 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/6.203, allocations: 0 / 1.01 GB, free: 98.83 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01899/6.222, allocations: 5.042 MB / 1.015 GB, free: 98.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007126/6.229, allocations: 0.6464 MB / 1.016 GB, free: 98.47 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06386/6.293, allocations: 18.24 MB / 1.034 GB, free: 95.45 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02191/6.315, allocations: 7.139 MB / 1.041 GB, free: 94.52 MB / 490.8 MB Notification: Performance of SimCode: time 1.683e-06/6.315, allocations: 0 / 1.041 GB, free: 94.52 MB / 490.8 MB