Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.292/2.292, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2898/2.581, allocations: 51.03 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/2.708, allocations: 48.69 MB / 316 MB, free: 4.363 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3292/3.038, allocations: 93.96 MB / 409.9 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/3.038, allocations: 81.89 kB / 410 MB, free: 14.95 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: 2406 * Number of variables: 2406 Notification: Performance of Generate backend data structure: time 0.8534/3.891, allocations: 134.9 MB / 0.5322 GB, free: 79.75 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/3.891, allocations: 13.38 kB / 0.5322 GB, free: 79.75 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06083/3.952, allocations: 6.749 MB / 0.5388 GB, free: 78.62 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03268/3.985, allocations: 7.294 MB / 0.5459 GB, free: 75.94 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006805/3.986, allocations: 218.7 kB / 0.5461 GB, free: 75.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004014/3.99, allocations: 400.6 kB / 0.5465 GB, free: 75.93 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03139/4.021, allocations: 9.802 MB / 0.5561 GB, free: 72.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04257/4.064, allocations: 14.67 MB / 0.5704 GB, free: 56.86 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004155/4.064, allocations: 75.28 kB / 0.5705 GB, free: 56.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002679/4.067, allocations: 40 kB / 0.5705 GB, free: 56.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00335/4.07, allocations: 1.674 MB / 0.5721 GB, free: 55.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1226/4.193, allocations: 68.38 MB / 0.6389 GB, free: 1.379 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1917/4.385, allocations: 5.916 MB / 0.6447 GB, free: 133.1 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008451/4.393, allocations: 4.115 MB / 0.6487 GB, free: 133.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03224/4.426, allocations: 11.26 MB / 0.6597 GB, free: 131.5 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.204e-05/4.426, allocations: 65.67 kB / 0.6598 GB, free: 131.5 MB / 426.7 MB Notification: Performance of pre-optimization done (n=272): time 6.713e-06/4.426, allocations: 2.281 kB / 0.6598 GB, free: 131.5 MB / 426.7 MB Notification: Performance of matching and sorting (n=314): time 0.1126/4.538, allocations: 26.29 MB / 0.6854 GB, free: 123.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001187/4.539, allocations: 209.2 kB / 0.6856 GB, free: 123.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01298/4.552, allocations: 4.396 MB / 0.6899 GB, free: 121.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001038/4.553, allocations: 29.42 kB / 0.69 GB, free: 121.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003739/4.556, allocations: 4.361 MB / 0.6942 GB, free: 118.4 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002239/4.559, allocations: 1.144 MB / 0.6953 GB, free: 117.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001119/4.56, allocations: 0 / 0.6953 GB, free: 117.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006026/4.56, allocations: 0.682 MB / 0.696 GB, free: 117.1 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01045/4.571, allocations: 3.704 MB / 0.6996 GB, free: 115.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0151/4.586, allocations: 8.701 MB / 0.7081 GB, free: 107.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01579/4.602, allocations: 5.629 MB / 0.7136 GB, free: 106 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003105/4.602, allocations: 51.53 kB / 0.7137 GB, free: 106 MB / 426.7 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.0412/4.644, allocations: 12.66 MB / 0.726 GB, free: 96.12 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.645e-05/4.644, allocations: 4.938 kB / 0.726 GB, free: 96.12 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003079/4.644, allocations: 180 kB / 0.7262 GB, free: 95.95 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007636/4.652, allocations: 1.615 MB / 0.7278 GB, free: 94.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0159/4.668, allocations: 2.103 MB / 0.7298 GB, free: 92.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02384/4.691, allocations: 10.43 MB / 0.74 GB, free: 83.49 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01236/4.704, allocations: 305.4 kB / 0.7403 GB, free: 83.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002703/4.707, allocations: 0.5256 MB / 0.7408 GB, free: 82.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * Number of states: 0 () * Number of discrete variables: 51 (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],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.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 (1083): * Single equations (assignments): 1078 * 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.00359/4.71, allocations: 0.5513 MB / 0.7414 GB, free: 82.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001566/4.712, allocations: 477.8 kB / 0.7418 GB, free: 81.71 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03031/4.742, allocations: 7.02 MB / 0.7487 GB, free: 75.93 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001725/4.742, allocations: 35.94 kB / 0.7487 GB, free: 75.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.165e-05/4.743, allocations: 11.47 kB / 0.7487 GB, free: 75.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001234/4.743, allocations: 14.81 kB / 0.7487 GB, free: 75.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0718/4.814, allocations: 14.29 MB / 0.7627 GB, free: 64.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.516e-05/4.815, allocations: 0 / 0.7627 GB, free: 64.22 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009309/4.824, allocations: 0.5588 MB / 0.7632 GB, free: 63.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009578/4.834, allocations: 1.31 MB / 0.7645 GB, free: 62.81 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001296/4.835, allocations: 11.84 kB / 0.7645 GB, free: 62.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03144/4.866, allocations: 9.65 MB / 0.7739 GB, free: 54.08 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/4.866, allocations: 8 kB / 0.774 GB, free: 54.07 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04601/4.912, allocations: 11.76 MB / 0.7854 GB, free: 43.2 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04424/4.957, allocations: 16.49 MB / 0.8015 GB, free: 26.61 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004445/4.961, allocations: 1.057 MB / 0.8026 GB, free: 25.53 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002118/4.963, allocations: 4 kB / 0.8026 GB, free: 25.52 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006331/4.97, allocations: 147.8 kB / 0.8027 GB, free: 25.38 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001333/4.971, allocations: 141.8 kB / 0.8029 GB, free: 25.24 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004855/4.972, allocations: 82.41 kB / 0.8029 GB, free: 25.16 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.2145/5.186, allocations: 2.954 MB / 0.8058 GB, free: 120.1 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01846/5.205, allocations: 1.425 MB / 0.8072 GB, free: 120.1 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.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 (258): * Single equations (assignments): 253 * 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.001842/5.207, allocations: 152.3 kB / 0.8074 GB, free: 120 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02699/5.234, allocations: 9.065 MB / 0.8162 GB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.769e-06/5.234, allocations: 0 / 0.8162 GB, free: 119.7 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01122/5.245, allocations: 3.563 MB / 0.8197 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005293/5.25, allocations: 489.1 kB / 0.8202 GB, free: 119.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0468/5.297, allocations: 13.18 MB / 0.833 GB, free: 117.2 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0169/5.314, allocations: 5.392 MB / 0.8383 GB, free: 116.4 MB / 426.7 MB Notification: Performance of SimCode: time 1.944e-06/5.314, allocations: 0 / 0.8383 GB, free: 116.4 MB / 426.7 MB