Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces",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.044/2.044, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2477/2.292, allocations: 51.03 MB / 267.3 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/2.435, allocations: 48.69 MB / 316 MB, free: 4.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3878/2.823, allocations: 93.26 MB / 409.2 MB, free: 15.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002762/2.823, allocations: 73.34 kB / 409.3 MB, free: 15.78 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: 1883 * Number of variables: 1883 Notification: Performance of Generate backend data structure: time 0.8088/3.632, allocations: 112.4 MB / 0.5095 GB, free: 82.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/3.632, allocations: 7.156 kB / 0.5095 GB, free: 82.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05994/3.692, allocations: 6.554 MB / 0.5159 GB, free: 81.79 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03175/3.724, allocations: 6.848 MB / 0.5226 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003892/3.724, allocations: 175.9 kB / 0.5227 GB, free: 80.99 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002889/3.727, allocations: 317.5 kB / 0.523 GB, free: 80.98 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02054/3.748, allocations: 7.462 MB / 0.5303 GB, free: 80.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03651/3.784, allocations: 11.63 MB / 0.5417 GB, free: 74.13 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004839/3.785, allocations: 81.11 kB / 0.5418 GB, free: 74.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002825/3.788, allocations: 43.91 kB / 0.5418 GB, free: 74.12 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003135/3.791, allocations: 1.286 MB / 0.5431 GB, free: 73.9 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1453/3.936, allocations: 57.43 MB / 0.5991 GB, free: 25.42 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01158/3.948, allocations: 3.73 MB / 0.6028 GB, free: 21.55 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007685/3.956, allocations: 2.393 MB / 0.6051 GB, free: 19.15 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01988/3.976, allocations: 6.775 MB / 0.6117 GB, free: 12.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.264e-05/3.976, allocations: 43.56 kB / 0.6118 GB, free: 12.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=172): time 6.071e-06/3.976, allocations: 0 / 0.6118 GB, free: 12.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=185): time 0.05669/4.032, allocations: 15.25 MB / 0.6267 GB, free: 12.85 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001649/4.033, allocations: 201.2 kB / 0.6269 GB, free: 12.61 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0194/4.052, allocations: 4.145 MB / 0.6309 GB, free: 8.469 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005933/4.053, allocations: 25.7 kB / 0.6309 GB, free: 8.438 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006126/4.059, allocations: 3.719 MB / 0.6346 GB, free: 4.656 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00202/4.061, allocations: 0.7213 MB / 0.6353 GB, free: 3.926 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001334/4.062, allocations: 0 / 0.6353 GB, free: 3.926 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001576/4.064, allocations: 0.6119 MB / 0.6359 GB, free: 3.309 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01024/4.074, allocations: 2.197 MB / 0.638 GB, free: 1.105 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1914/4.266, allocations: 6.734 MB / 0.6446 GB, free: 129.9 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009854/4.276, allocations: 3.86 MB / 0.6484 GB, free: 129.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003096/4.276, allocations: 47.12 kB / 0.6484 GB, free: 129.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=949) (initialization): time 0.0262/4.302, allocations: 8.228 MB / 0.6564 GB, free: 129.4 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.651e-05/4.302, allocations: 10.88 kB / 0.6565 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003189/4.303, allocations: 161.7 kB / 0.6566 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/4.305, allocations: 0.5904 MB / 0.6572 GB, free: 129.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01099/4.316, allocations: 1.654 MB / 0.6588 GB, free: 129.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01328/4.33, allocations: 5.312 MB / 0.664 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/4.341, allocations: 224 kB / 0.6642 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001974/4.343, allocations: 455.7 kB / 0.6646 GB, free: 126.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 744 * Number of states: 0 () * Number of discrete variables: 42 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (899): * Single equations (assignments): 894 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002093/4.345, allocations: 0.4993 MB / 0.6651 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001102/4.346, allocations: 416.4 kB / 0.6655 GB, free: 126.3 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008641/4.355, allocations: 2.83 MB / 0.6683 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.558e-05/4.355, allocations: 16.72 kB / 0.6683 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.91e-05/4.355, allocations: 7.75 kB / 0.6683 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.564e-05/4.355, allocations: 6.891 kB / 0.6683 GB, free: 126.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.025/4.38, allocations: 6.979 MB / 0.6751 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.115e-05/4.38, allocations: 0 / 0.6751 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003018/4.383, allocations: 257.1 kB / 0.6754 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001787/4.385, allocations: 350.5 kB / 0.6757 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004457/4.385, allocations: 9.781 kB / 0.6757 GB, free: 125.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008174/4.393, allocations: 4.626 MB / 0.6802 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.312e-06/4.393, allocations: 0 / 0.6802 GB, free: 123.1 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.01328/4.407, allocations: 5.426 MB / 0.6855 GB, free: 121 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.01886/4.426, allocations: 7.72 MB / 0.6931 GB, free: 117.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002781/4.428, allocations: 0.6925 MB / 0.6938 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001387/4.43, allocations: 3 kB / 0.6938 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004248/4.434, allocations: 44.3 kB / 0.6938 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006047/4.435, allocations: 78.84 kB / 0.6939 GB, free: 117.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002146/4.435, allocations: 47.16 kB / 0.6939 GB, free: 117.2 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007795/4.443, allocations: 2.812 MB / 0.6967 GB, free: 116.2 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01072/4.454, allocations: 1.02 MB / 0.6977 GB, free: 116.2 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (146): * Single equations (assignments): 141 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008509/4.455, allocations: 141.6 kB / 0.6978 GB, free: 116.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01483/4.469, allocations: 5.341 MB / 0.703 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/4.469, allocations: 1.031 kB / 0.703 GB, free: 114.2 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004406/4.474, allocations: 1.588 MB / 0.7046 GB, free: 113.5 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004482/4.478, allocations: 467.1 kB / 0.705 GB, free: 113.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04596/4.524, allocations: 9.271 MB / 0.7141 GB, free: 105.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01605/4.541, allocations: 4.45 MB / 0.7184 GB, free: 101.9 MB / 426.7 MB Notification: Performance of SimCode: time 2.034e-06/4.541, allocations: 3.938 kB / 0.7184 GB, free: 101.9 MB / 426.7 MB