Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_ForcesAndTorques",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.005/2.005, allocations: 209.3 MB / 216.3 MB, free: 6.863 MB / 186.8 MB Notification: Performance of FrontEnd - loaded program: time 0.2247/2.23, allocations: 51.03 MB / 267.3 MB, free: 5.223 MB / 218.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1211/2.351, allocations: 48.69 MB / 316 MB, free: 4.441 MB / 266.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3842/2.735, allocations: 96.65 MB / 412.6 MB, free: 12.42 MB / 346.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002999/2.736, allocations: 82.7 kB / 412.7 MB, free: 12.38 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.8515/3.587, allocations: 151 MB / 0.5505 GB, free: 75.03 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/3.587, allocations: 9.344 kB / 0.5505 GB, free: 75.03 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05461/3.642, allocations: 6.94 MB / 0.5573 GB, free: 71.16 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03899/3.681, allocations: 7.959 MB / 0.565 GB, free: 64.86 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007286/3.682, allocations: 252 kB / 0.5653 GB, free: 64.61 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004899/3.687, allocations: 459.9 kB / 0.5657 GB, free: 64.16 MB / 410.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03436/3.721, allocations: 11.29 MB / 0.5767 GB, free: 52.87 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04688/3.768, allocations: 16.73 MB / 0.5931 GB, free: 34.65 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005399/3.768, allocations: 87.22 kB / 0.5932 GB, free: 34.57 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003933/3.772, allocations: 44 kB / 0.5932 GB, free: 34.52 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003876/3.776, allocations: 1.945 MB / 0.5951 GB, free: 32.58 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3316/4.108, allocations: 78.96 MB / 0.6722 GB, free: 77.84 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02017/4.128, allocations: 7.082 MB / 0.6791 GB, free: 76.58 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01383/4.142, allocations: 4.701 MB / 0.6837 GB, free: 76.53 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04808/4.19, allocations: 13.21 MB / 0.6966 GB, free: 74.28 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.006e-05/4.19, allocations: 70.25 kB / 0.6967 GB, free: 74.23 MB / 426.8 MB Notification: Performance of pre-optimization done (n=310): time 8.887e-06/4.19, allocations: 3.156 kB / 0.6967 GB, free: 74.23 MB / 426.8 MB Notification: Performance of matching and sorting (n=352): time 0.1215/4.312, allocations: 29.41 MB / 0.7254 GB, free: 63.22 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001706/4.312, allocations: 242.2 kB / 0.7256 GB, free: 62.97 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02167/4.334, allocations: 5.196 MB / 0.7307 GB, free: 61 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001324/4.335, allocations: 25.7 kB / 0.7307 GB, free: 60.96 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.006075/4.341, allocations: 5.017 MB / 0.7356 GB, free: 57.13 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003282/4.345, allocations: 1.284 MB / 0.7369 GB, free: 56.18 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002274/4.347, allocations: 0 / 0.7369 GB, free: 56.18 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.001429/4.349, allocations: 0.7393 MB / 0.7376 GB, free: 55.7 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0159/4.365, allocations: 3.994 MB / 0.7415 GB, free: 54.29 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01573/4.38, allocations: 9.753 MB / 0.751 GB, free: 45.14 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01604/4.396, allocations: 6.217 MB / 0.7571 GB, free: 41.69 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003221/4.397, allocations: 60 kB / 0.7572 GB, free: 41.63 MB / 426.8 MB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.04364/4.44, allocations: 13.85 MB / 0.7707 GB, free: 30 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.713e-05/4.441, allocations: 7.609 kB / 0.7707 GB, free: 30 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004201/4.441, allocations: 207.9 kB / 0.7709 GB, free: 29.79 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007959/4.449, allocations: 1.648 MB / 0.7725 GB, free: 28.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0178/4.467, allocations: 2.42 MB / 0.7749 GB, free: 26.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02459/4.491, allocations: 10.41 MB / 0.785 GB, free: 17.02 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01627/4.508, allocations: 330 kB / 0.7854 GB, free: 16.75 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003331/4.511, allocations: 0.5957 MB / 0.7859 GB, free: 16.17 MB / 426.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 934 * Number of states: 0 () * Number of discrete variables: 66 (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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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 (1261): * Single equations (assignments): 1256 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005244/4.517, allocations: 0.6278 MB / 0.7866 GB, free: 15.54 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002946/4.519, allocations: 0.5503 MB / 0.7871 GB, free: 14.99 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02757/4.547, allocations: 7.307 MB / 0.7942 GB, free: 9.012 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001353/4.547, allocations: 32 kB / 0.7943 GB, free: 8.98 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.885e-05/4.547, allocations: 11.94 kB / 0.7943 GB, free: 8.969 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.782e-05/4.547, allocations: 15.09 kB / 0.7943 GB, free: 8.969 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2803/4.828, allocations: 15.44 MB / 0.8094 GB, free: 108.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.672e-05/4.828, allocations: 4.406 kB / 0.8094 GB, free: 108.5 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01229/4.84, allocations: 0.6197 MB / 0.81 GB, free: 108.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008234/4.848, allocations: 1.317 MB / 0.8113 GB, free: 108.5 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001335/4.85, allocations: 9.469 kB / 0.8113 GB, free: 108.5 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02294/4.873, allocations: 9.66 MB / 0.8207 GB, free: 106 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.852e-06/4.873, allocations: 0 / 0.8207 GB, free: 106 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0338/4.907, allocations: 12.28 MB / 0.8327 GB, free: 105.2 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04359/4.95, allocations: 17.17 MB / 0.8495 GB, free: 101.2 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004831/4.955, allocations: 1.145 MB / 0.8506 GB, free: 100.8 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002703/4.958, allocations: 2.656 kB / 0.8506 GB, free: 100.8 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007169/4.965, allocations: 121.6 kB / 0.8507 GB, free: 100.8 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001364/4.967, allocations: 160.6 kB / 0.8508 GB, free: 100.8 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008532/4.967, allocations: 88.19 kB / 0.8509 GB, free: 100.8 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.01017/4.978, allocations: 3.497 MB / 0.8543 GB, free: 99.55 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01454/4.992, allocations: 1.582 MB / 0.8559 GB, free: 99.54 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 291 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.001519/4.994, allocations: 163.5 kB / 0.856 GB, free: 99.46 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.03135/5.025, allocations: 9.697 MB / 0.8655 GB, free: 96.53 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/5.025, allocations: 0 / 0.8655 GB, free: 96.53 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01113/5.036, allocations: 3.678 MB / 0.8691 GB, free: 95.17 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006064/5.043, allocations: 0.5428 MB / 0.8696 GB, free: 94.94 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05261/5.095, allocations: 14.8 MB / 0.8841 GB, free: 89.39 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02/5.115, allocations: 6.095 MB / 0.89 GB, free: 84.85 MB / 426.8 MB Notification: Performance of SimCode: time 1.573e-06/5.115, allocations: 0 / 0.89 GB, free: 84.85 MB / 426.8 MB