Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.ForcesAndTorques,fileNamePrefix="ModelicaTest_3_2_2_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.358/2.358, allocations: 235 MB / 241.9 MB, free: 9.773 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.16/2.518, allocations: 57.21 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/2.783, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3938/3.177, allocations: 103.2 MB / 457.2 MB, free: 34.8 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002206/3.177, allocations: 77.2 kB / 457.3 MB, free: 34.8 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: 2760 * Number of variables: 2760 Notification: Performance of Generate backend data structure: time 0.7032/3.881, allocations: 151.2 MB / 0.5942 GB, free: 6.09 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/3.881, allocations: 12 kB / 0.5942 GB, free: 6.078 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07121/3.952, allocations: 6.934 MB / 0.601 GB, free: 15.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03792/3.99, allocations: 7.96 MB / 0.6087 GB, free: 7.074 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006494/3.991, allocations: 255.9 kB / 0.609 GB, free: 6.824 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004438/3.995, allocations: 463.9 kB / 0.6094 GB, free: 6.371 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2091/4.204, allocations: 11.3 MB / 0.6205 GB, free: 109.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04733/4.252, allocations: 16.74 MB / 0.6368 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007784/4.252, allocations: 90.42 kB / 0.6369 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004181/4.257, allocations: 45.75 kB / 0.6369 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004098/4.261, allocations: 1.94 MB / 0.6388 GB, free: 105.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1481/4.409, allocations: 79.01 MB / 0.716 GB, free: 62.21 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0139/4.423, allocations: 7.09 MB / 0.7229 GB, free: 58.74 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009506/4.433, allocations: 4.695 MB / 0.7275 GB, free: 56.83 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03513/4.468, allocations: 13.22 MB / 0.7404 GB, free: 50.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.389e-05/4.468, allocations: 76.38 kB / 0.7405 GB, free: 50.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=310): time 7.965e-06/4.468, allocations: 0 / 0.7405 GB, free: 50.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=352): time 0.1212/4.589, allocations: 29.4 MB / 0.7692 GB, free: 39.12 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001024/4.589, allocations: 247.6 kB / 0.7694 GB, free: 38.87 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01513/4.604, allocations: 5.187 MB / 0.7745 GB, free: 34.82 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001053/4.606, allocations: 28.05 kB / 0.7745 GB, free: 34.79 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004261/4.61, allocations: 5.027 MB / 0.7794 GB, free: 30.27 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002474/4.612, allocations: 1.283 MB / 0.7807 GB, free: 29.12 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001893/4.614, allocations: 0 / 0.7807 GB, free: 29.12 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001158/4.615, allocations: 0.74 MB / 0.7814 GB, free: 28.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01249/4.628, allocations: 3.995 MB / 0.7853 GB, free: 24.91 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01906/4.647, allocations: 9.745 MB / 0.7948 GB, free: 13.14 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01494/4.662, allocations: 6.216 MB / 0.8009 GB, free: 8.129 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001973/4.662, allocations: 60 kB / 0.801 GB, free: 8.07 MB / 474.7 MB Notification: Performance of matching and sorting (n=1333) (initialization): time 0.4168/5.079, allocations: 13.9 MB / 0.8145 GB, free: 94.43 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.35e-05/5.079, allocations: 7.844 kB / 0.8146 GB, free: 94.43 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003374/5.08, allocations: 201.2 kB / 0.8147 GB, free: 94.43 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007976/5.088, allocations: 1.657 MB / 0.8164 GB, free: 94.41 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0179/5.106, allocations: 2.425 MB / 0.8187 GB, free: 94.41 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02351/5.129, allocations: 10.4 MB / 0.8289 GB, free: 91.89 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01384/5.143, allocations: 335.1 kB / 0.8292 GB, free: 91.89 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002935/5.146, allocations: 0.5926 MB / 0.8298 GB, free: 91.89 MB / 474.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.004361/5.15, allocations: 0.6283 MB / 0.8304 GB, free: 91.79 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00202/5.152, allocations: 0.5419 MB / 0.8309 GB, free: 91.79 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0308/5.183, allocations: 7.306 MB / 0.8381 GB, free: 91.64 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001373/5.183, allocations: 37.22 kB / 0.8381 GB, free: 91.64 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.222e-05/5.183, allocations: 10.83 kB / 0.8381 GB, free: 91.64 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.455e-05/5.184, allocations: 17.95 kB / 0.8381 GB, free: 91.64 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05209/5.236, allocations: 15.29 MB / 0.8531 GB, free: 91.05 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.526e-05/5.236, allocations: 2.625 kB / 0.8531 GB, free: 91.05 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009506/5.245, allocations: 0.6204 MB / 0.8537 GB, free: 91.05 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/5.256, allocations: 1.316 MB / 0.855 GB, free: 91.04 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00139/5.258, allocations: 10.78 kB / 0.855 GB, free: 91.04 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02332/5.281, allocations: 9.654 MB / 0.8644 GB, free: 88.51 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/5.281, allocations: 2.734 kB / 0.8644 GB, free: 88.51 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04248/5.324, allocations: 12.29 MB / 0.8764 GB, free: 87.73 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.06359/5.388, allocations: 17.16 MB / 0.8932 GB, free: 81.78 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.007297/5.395, allocations: 1.143 MB / 0.8943 GB, free: 81.15 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.008298/5.403, allocations: 3.438 kB / 0.8943 GB, free: 81.15 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00992/5.413, allocations: 117.8 kB / 0.8944 GB, free: 81.15 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002074/5.415, allocations: 167 kB / 0.8945 GB, free: 81.12 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001035/5.416, allocations: 85.22 kB / 0.8946 GB, free: 81.11 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.01497/5.431, allocations: 3.499 MB / 0.898 GB, free: 79.85 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.02353/5.455, allocations: 1.582 MB / 0.8996 GB, free: 79.85 MB / 474.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.001937/5.457, allocations: 161.4 kB / 0.8997 GB, free: 79.76 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.02794/5.485, allocations: 9.699 MB / 0.9092 GB, free: 76.84 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 7.875e-06/5.485, allocations: 3.719 kB / 0.9092 GB, free: 76.84 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01155/5.497, allocations: 3.675 MB / 0.9128 GB, free: 75.47 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006247/5.503, allocations: 0.5251 MB / 0.9133 GB, free: 75.24 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0481/5.551, allocations: 14.82 MB / 0.9278 GB, free: 64.67 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01858/5.57, allocations: 6.089 MB / 0.9337 GB, free: 60.14 MB / 474.8 MB Notification: Performance of SimCode: time 1.653e-06/5.57, allocations: 0 / 0.9337 GB, free: 60.14 MB / 474.8 MB