Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForces2",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.305/2.305, allocations: 209.3 MB / 216.3 MB, free: 8.617 MB / 174.1 MB Notification: Performance of FrontEnd - loaded program: time 0.1324/2.437, allocations: 51.04 MB / 267.3 MB, free: 5.934 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/2.704, allocations: 48.69 MB / 316 MB, free: 15.57 MB / 270.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2017/2.906, allocations: 91.81 MB / 407.8 MB, free: 9.324 MB / 350.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003834/2.906, allocations: 81.59 kB / 407.9 MB, free: 9.246 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2802 * Number of variables: 2802 Notification: Performance of Generate backend data structure: time 0.9746/3.881, allocations: 165.1 MB / 0.5595 GB, free: 3.484 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.957e-05/3.881, allocations: 12 kB / 0.5595 GB, free: 3.473 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1116/3.993, allocations: 11.6 MB / 0.5709 GB, free: 7.84 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04902/4.042, allocations: 10.91 MB / 0.5815 GB, free: 12.84 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009284/4.043, allocations: 264 kB / 0.5818 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005574/4.049, allocations: 491.8 kB / 0.5822 GB, free: 12.1 MB / 414.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04634/4.095, allocations: 11.4 MB / 0.5934 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3733/4.468, allocations: 16.91 MB / 0.6099 GB, free: 89.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006825/4.469, allocations: 106 kB / 0.61 GB, free: 89.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003692/4.473, allocations: 44.16 kB / 0.61 GB, free: 89.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00398/4.477, allocations: 1.863 MB / 0.6119 GB, free: 89.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1358/4.613, allocations: 78.52 MB / 0.6885 GB, free: 45.03 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/4.626, allocations: 6.417 MB / 0.6948 GB, free: 42.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0114/4.637, allocations: 4.539 MB / 0.6992 GB, free: 40.12 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03885/4.676, allocations: 13.89 MB / 0.7128 GB, free: 32.84 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/4.676, allocations: 65.81 kB / 0.7129 GB, free: 32.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=296): time 7.134e-06/4.676, allocations: 0 / 0.7129 GB, free: 32.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=322): time 0.1105/4.787, allocations: 29.73 MB / 0.7419 GB, free: 14.17 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001133/4.787, allocations: 298.2 kB / 0.7422 GB, free: 13.82 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01614/4.803, allocations: 5.47 MB / 0.7475 GB, free: 9.02 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001084/4.804, allocations: 29.36 kB / 0.7476 GB, free: 8.988 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004882/4.809, allocations: 5.081 MB / 0.7525 GB, free: 4.438 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002439/4.812, allocations: 1.185 MB / 0.7537 GB, free: 3.375 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/4.814, allocations: 0 / 0.7537 GB, free: 3.375 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0009413/4.815, allocations: 0.7124 MB / 0.7544 GB, free: 2.77 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/4.826, allocations: 3.426 MB / 0.7577 GB, free: 0 / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.206/5.032, allocations: 8.989 MB / 0.7665 GB, free: 84.85 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01427/5.046, allocations: 5.46 MB / 0.7718 GB, free: 84.81 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002808/5.046, allocations: 62.06 kB / 0.7719 GB, free: 84.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.04171/5.088, allocations: 11.85 MB / 0.7834 GB, free: 84.46 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.468e-05/5.088, allocations: 5.281 kB / 0.7835 GB, free: 84.46 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003658/5.089, allocations: 203 kB / 0.7836 GB, free: 84.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004618/5.093, allocations: 1.015 MB / 0.7846 GB, free: 84.43 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02058/5.114, allocations: 2.192 MB / 0.7868 GB, free: 84.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01883/5.133, allocations: 10.38 MB / 0.7969 GB, free: 79.11 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01272/5.146, allocations: 304.6 kB / 0.7972 GB, free: 79.11 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002836/5.148, allocations: 0.5683 MB / 0.7978 GB, free: 79.11 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 918 * Number of states: 0 () * Number of discrete variables: 63 (frameForce4.color[3],frameForce4.color[2],frameForce4.color[1],BodyCylinder4.color[3],BodyCylinder4.color[2],BodyCylinder4.color[1],BodyCylinder4.body.sphereColor[3],BodyCylinder4.body.sphereColor[2],BodyCylinder4.body.sphereColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameForce3.color[3],frameForce3.color[2],frameForce3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[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 (1181): * Single equations (assignments): 1174 * 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 {(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00413/5.153, allocations: 0.6089 MB / 0.7984 GB, free: 78.8 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001957/5.155, allocations: 0.5833 MB / 0.7989 GB, free: 78.8 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02006/5.175, allocations: 5.569 MB / 0.8044 GB, free: 78.62 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001253/5.175, allocations: 34.34 kB / 0.8044 GB, free: 78.62 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-05/5.175, allocations: 12.44 kB / 0.8044 GB, free: 78.62 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.291e-05/5.175, allocations: 16.3 kB / 0.8044 GB, free: 78.62 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04416/5.219, allocations: 12.84 MB / 0.817 GB, free: 78.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.824e-05/5.219, allocations: 6.719 kB / 0.817 GB, free: 78.01 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005799/5.225, allocations: 495.5 kB / 0.8174 GB, free: 77.98 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003762/5.229, allocations: 0.6654 MB / 0.8181 GB, free: 77.95 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008868/5.23, allocations: 13.95 kB / 0.8181 GB, free: 77.95 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01607/5.246, allocations: 9.248 MB / 0.8271 GB, free: 72.1 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.422e-06/5.246, allocations: 3.875 kB / 0.8271 GB, free: 72.1 MB / 414.1 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03396/5.28, allocations: 9.64 MB / 0.8366 GB, free: 68.48 MB / 414.1 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05178/5.332, allocations: 13.56 MB / 0.8498 GB, free: 61.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006247/5.338, allocations: 1.049 MB / 0.8508 GB, free: 60.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003516/5.342, allocations: 4 kB / 0.8508 GB, free: 60.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008168/5.35, allocations: 105.8 kB / 0.8509 GB, free: 60.73 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001194/5.351, allocations: 150.5 kB / 0.8511 GB, free: 60.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003908/5.352, allocations: 83.38 kB / 0.8511 GB, free: 60.57 MB / 414.1 MB Notification: Performance of sort global known variables: time 0.01051/5.362, allocations: 3.747 MB / 0.8548 GB, free: 57.3 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.01421/5.376, allocations: 1.545 MB / 0.8563 GB, free: 55.77 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (269): * Single equations (assignments): 262 * 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 {(1,100.0%) 10,(1,100.0%) 10,(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.001302/5.378, allocations: 160.1 kB / 0.8565 GB, free: 55.62 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.02028/5.398, allocations: 8.303 MB / 0.8646 GB, free: 48.1 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 9.348e-06/5.398, allocations: 0 / 0.8646 GB, free: 48.1 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.006522/5.405, allocations: 2.986 MB / 0.8675 GB, free: 45.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007308/5.412, allocations: 0.7045 MB / 0.8682 GB, free: 44.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04919/5.461, allocations: 14.45 MB / 0.8823 GB, free: 31.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01956/5.481, allocations: 6.375 MB / 0.8885 GB, free: 27.11 MB / 414.1 MB Notification: Performance of SimCode: time 2.054e-06/5.481, allocations: 0 / 0.8885 GB, free: 27.11 MB / 414.1 MB