Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque3",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.175/2.175, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2785/2.454, allocations: 51.04 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/2.597, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3535/2.951, allocations: 96.56 MB / 412.5 MB, free: 12.43 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/2.951, allocations: 80.72 kB / 412.6 MB, free: 12.39 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4176 * Number of variables: 4176 Notification: Performance of Generate backend data structure: time 1.359/4.31, allocations: 227.3 MB / 0.6249 GB, free: 8.664 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.22e-05/4.31, allocations: 12 kB / 0.6249 GB, free: 8.652 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1191/4.429, allocations: 12.2 MB / 0.6369 GB, free: 12.41 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4448/4.874, allocations: 12.65 MB / 0.6492 GB, free: 90.21 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0011/4.875, allocations: 395.6 kB / 0.6496 GB, free: 90.21 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00732/4.882, allocations: 0.6985 MB / 0.6503 GB, free: 90.21 MB / 442.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05402/4.936, allocations: 17.25 MB / 0.6671 GB, free: 90.15 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09442/5.031, allocations: 24.96 MB / 0.6915 GB, free: 84.82 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0009468/5.032, allocations: 143.1 kB / 0.6916 GB, free: 84.82 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006262/5.038, allocations: 56.88 kB / 0.6917 GB, free: 84.82 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006126/5.044, allocations: 2.865 MB / 0.6945 GB, free: 84.8 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2477/5.292, allocations: 112.6 MB / 0.8044 GB, free: 32.55 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0263/5.318, allocations: 11.44 MB / 0.8156 GB, free: 23.18 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01653/5.335, allocations: 8.153 MB / 0.8236 GB, free: 15.7 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3179/5.653, allocations: 23.11 MB / 0.8461 GB, free: 103.3 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001241/5.653, allocations: 98.19 kB / 0.8462 GB, free: 103.3 MB / 458.8 MB Notification: Performance of pre-optimization done (n=524): time 1.019e-05/5.653, allocations: 0 / 0.8462 GB, free: 103.3 MB / 458.8 MB Notification: Performance of matching and sorting (n=609): time 0.2303/5.884, allocations: 51.63 MB / 0.8967 GB, free: 95.93 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/5.884, allocations: 319.7 kB / 0.897 GB, free: 95.61 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02984/5.914, allocations: 7.194 MB / 0.904 GB, free: 94.99 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001932/5.916, allocations: 25.7 kB / 0.904 GB, free: 94.96 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006886/5.923, allocations: 7.149 MB / 0.911 GB, free: 90.66 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004465/5.927, allocations: 2.161 MB / 0.9131 GB, free: 89.35 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003404/5.931, allocations: 3.391 kB / 0.9131 GB, free: 89.35 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.002217/5.933, allocations: 0.9256 MB / 0.914 GB, free: 89.01 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02052/5.953, allocations: 6.35 MB / 0.9202 GB, free: 88.98 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02656/5.98, allocations: 14.15 MB / 0.934 GB, free: 78.27 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02903/6.009, allocations: 9.42 MB / 0.9432 GB, free: 75.32 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005118/6.01, allocations: 87.03 kB / 0.9433 GB, free: 75.32 MB / 458.8 MB Notification: Performance of matching and sorting (n=1904) (initialization): time 0.1014/6.111, allocations: 21.59 MB / 0.9644 GB, free: 64.08 MB / 458.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.495e-05/6.111, allocations: 11.94 kB / 0.9644 GB, free: 64.07 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0008208/6.112, allocations: 272 kB / 0.9647 GB, free: 63.8 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02425/6.136, allocations: 3.114 MB / 0.9677 GB, free: 61.4 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02752/6.164, allocations: 3.465 MB / 0.9711 GB, free: 58.44 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3109/6.475, allocations: 20.69 MB / 0.9913 GB, free: 84.18 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02058/6.496, allocations: 483.5 kB / 0.9918 GB, free: 84.18 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004749/6.501, allocations: 0.8386 MB / 0.9926 GB, free: 84.18 MB / 458.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1255 * Number of states: 0 () * Number of discrete variables: 105 (fixed8.color[3],fixed8.color[2],fixed8.color[1],fixed7.color[3],fixed7.color[2],fixed7.color[1],Revolute8.cylinderColor[3],Revolute8.cylinderColor[2],Revolute8.cylinderColor[1],Revolute7.cylinderColor[3],Revolute7.cylinderColor[2],Revolute7.cylinderColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],torque4.connectionLineColor[3],torque4.connectionLineColor[2],torque4.connectionLineColor[1],torque4.torqueColor[3],torque4.torqueColor[2],torque4.torqueColor[1],torque4.forceColor[3],torque4.forceColor[2],torque4.forceColor[1],torque3.connectionLineColor[3],torque3.connectionLineColor[2],torque3.connectionLineColor[1],torque3.torqueColor[3],torque3.torqueColor[2],torque3.torqueColor[1],torque3.forceColor[3],torque3.forceColor[2],torque3.forceColor[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[1],fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.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 (1784): * Single equations (assignments): 1777 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008015/6.509, allocations: 0.8259 MB / 0.9934 GB, free: 84.06 MB / 458.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.004092/6.513, allocations: 0.8098 MB / 0.9942 GB, free: 84.06 MB / 458.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0516/6.564, allocations: 13.54 MB / 1.007 GB, free: 83.79 MB / 458.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001864/6.565, allocations: 63.36 kB / 1.007 GB, free: 83.79 MB / 458.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.048e-05/6.565, allocations: 16.62 kB / 1.007 GB, free: 83.79 MB / 458.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001578/6.565, allocations: 26.11 kB / 1.008 GB, free: 83.79 MB / 458.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1069/6.672, allocations: 27.18 MB / 1.034 GB, free: 82.9 MB / 458.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001221/6.672, allocations: 1.094 kB / 1.034 GB, free: 82.9 MB / 458.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0209/6.693, allocations: 1.088 MB / 1.035 GB, free: 82.9 MB / 458.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02212/6.715, allocations: 2.626 MB / 1.038 GB, free: 82.86 MB / 458.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002681/6.718, allocations: 15.27 kB / 1.038 GB, free: 82.86 MB / 458.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06904/6.787, allocations: 19.24 MB / 1.056 GB, free: 77.3 MB / 458.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/6.787, allocations: 0 / 1.056 GB, free: 77.3 MB / 458.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.08638/6.873, allocations: 21.54 MB / 1.078 GB, free: 69.55 MB / 458.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.1049/6.978, allocations: 29.88 MB / 1.107 GB, free: 53.67 MB / 458.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007851/6.986, allocations: 1.816 MB / 1.108 GB, free: 52.01 MB / 458.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004363/6.991, allocations: 4 kB / 1.108 GB, free: 52.01 MB / 458.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01133/7.002, allocations: 262.8 kB / 1.109 GB, free: 51.86 MB / 458.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003277/7.005, allocations: 288.4 kB / 1.109 GB, free: 51.69 MB / 458.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002384/7.008, allocations: 147.8 kB / 1.109 GB, free: 51.55 MB / 458.8 MB Notification: Performance of sort global known variables: time 0.01867/7.027, allocations: 4.878 MB / 1.114 GB, free: 47.32 MB / 458.8 MB Notification: Performance of remove unused functions: time 0.02254/7.049, allocations: 2.483 MB / 1.116 GB, free: 44.84 MB / 458.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 16 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute7.phi,Revolute7.w,Revolute8.phi,Revolute8.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (522): * Single equations (assignments): 515 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(4,75.0%) 18,(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.002393/7.052, allocations: 189.3 kB / 1.117 GB, free: 44.71 MB / 458.8 MB Notification: Performance of simCode: created initialization part: time 0.04417/7.096, allocations: 15.85 MB / 1.132 GB, free: 31.06 MB / 458.8 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/7.096, allocations: 0 / 1.132 GB, free: 31.06 MB / 458.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2456/7.342, allocations: 7.23 MB / 1.139 GB, free: 91.58 MB / 458.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01193/7.354, allocations: 0.8359 MB / 1.14 GB, free: 91.55 MB / 458.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09421/7.448, allocations: 23.71 MB / 1.163 GB, free: 87.68 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.03675/7.485, allocations: 8.991 MB / 1.172 GB, free: 86.66 MB / 458.8 MB Notification: Performance of SimCode: time 2.404e-06/7.485, allocations: 0 / 1.172 GB, free: 86.66 MB / 458.8 MB