Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces",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.028/2.028, allocations: 209.3 MB / 216.3 MB, free: 6.805 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2769/2.305, allocations: 51.02 MB / 267.3 MB, free: 5.168 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/2.433, allocations: 48.69 MB / 316 MB, free: 4.379 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4435/2.877, allocations: 95.22 MB / 411.2 MB, free: 13.74 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003567/2.877, allocations: 76.16 kB / 411.3 MB, free: 13.7 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: 2698 * Number of variables: 2698 Notification: Performance of Generate backend data structure: time 0.9915/3.869, allocations: 154.2 MB / 0.5522 GB, free: 73.56 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.744e-05/3.869, allocations: 9.094 kB / 0.5523 GB, free: 73.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1022/3.971, allocations: 9.227 MB / 0.5613 GB, free: 68.03 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04737/4.019, allocations: 9.204 MB / 0.5703 GB, free: 58.84 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005613/4.019, allocations: 248 kB / 0.5705 GB, free: 58.6 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004635/4.024, allocations: 467.8 kB / 0.5709 GB, free: 58.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03528/4.059, allocations: 10.78 MB / 0.5815 GB, free: 47.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05938/4.119, allocations: 16.45 MB / 0.5975 GB, free: 29.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008991/4.12, allocations: 106.9 kB / 0.5976 GB, free: 29.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00563/4.125, allocations: 51.91 kB / 0.5977 GB, free: 29.11 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005454/4.131, allocations: 1.819 MB / 0.5995 GB, free: 27.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.373/4.504, allocations: 79.27 MB / 0.6769 GB, free: 72.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01302/4.517, allocations: 6.289 MB / 0.683 GB, free: 71.82 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009345/4.526, allocations: 4.419 MB / 0.6873 GB, free: 71.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0337/4.56, allocations: 11.96 MB / 0.699 GB, free: 69.79 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.76e-05/4.56, allocations: 68.19 kB / 0.6991 GB, free: 69.75 MB / 426.7 MB Notification: Performance of pre-optimization done (n=301): time 8.736e-06/4.56, allocations: 0 / 0.6991 GB, free: 69.75 MB / 426.7 MB Notification: Performance of matching and sorting (n=337): time 0.1127/4.673, allocations: 30.24 MB / 0.7286 GB, free: 56.99 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001654/4.673, allocations: 300.4 kB / 0.7289 GB, free: 56.68 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01555/4.689, allocations: 5.189 MB / 0.734 GB, free: 54.71 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009733/4.69, allocations: 25.7 kB / 0.734 GB, free: 54.68 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004452/4.694, allocations: 4.931 MB / 0.7388 GB, free: 50.93 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003255/4.698, allocations: 1.239 MB / 0.74 GB, free: 50.01 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001943/4.7, allocations: 0 / 0.74 GB, free: 50.01 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001643/4.701, allocations: 0.7253 MB / 0.7407 GB, free: 49.53 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01015/4.712, allocations: 3.59 MB / 0.7442 GB, free: 48.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01462/4.726, allocations: 9.372 MB / 0.7534 GB, free: 39.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02008/4.746, allocations: 5.774 MB / 0.759 GB, free: 37.48 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004121/4.747, allocations: 65.16 kB / 0.7591 GB, free: 37.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=1286) (initialization): time 0.04389/4.791, allocations: 12.73 MB / 0.7715 GB, free: 27.69 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.157e-05/4.791, allocations: 8 kB / 0.7715 GB, free: 27.68 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006841/4.792, allocations: 204 kB / 0.7717 GB, free: 27.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007831/4.799, allocations: 1.35 MB / 0.773 GB, free: 26.39 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01965/4.819, allocations: 2.277 MB / 0.7753 GB, free: 24.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02576/4.845, allocations: 10.49 MB / 0.7855 GB, free: 14.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01729/4.862, allocations: 305.5 kB / 0.7858 GB, free: 14.43 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002795/4.865, allocations: 0.5905 MB / 0.7864 GB, free: 13.85 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 941 * Number of states: 0 () * Number of discrete variables: 60 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.color[3],worldTorque1.color[2],worldTorque1.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce.color[3],worldForce.color[2],worldForce.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 (1211): * Single equations (assignments): 1205 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 21,(1,100.0%) 14,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004377/4.87, allocations: 0.6113 MB / 0.787 GB, free: 13.24 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002818/4.872, allocations: 0.5554 MB / 0.7875 GB, free: 12.68 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02469/4.897, allocations: 6.419 MB / 0.7938 GB, free: 7.387 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001274/4.897, allocations: 32 kB / 0.7938 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.742e-05/4.897, allocations: 15.91 kB / 0.7938 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.797e-05/4.898, allocations: 16.03 kB / 0.7938 GB, free: 7.34 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2528/5.15, allocations: 13.87 MB / 0.8074 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.878e-05/5.151, allocations: 3.125 kB / 0.8074 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0069/5.157, allocations: 0.5417 MB / 0.8079 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007027/5.165, allocations: 1.005 MB / 0.8089 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001522/5.166, allocations: 18.86 kB / 0.8089 GB, free: 107 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02409/5.19, allocations: 9.49 MB / 0.8182 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.444e-06/5.19, allocations: 0 / 0.8182 GB, free: 103.3 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03231/5.223, allocations: 11.02 MB / 0.8289 GB, free: 102.4 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03841/5.261, allocations: 15.39 MB / 0.844 GB, free: 99.63 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004729/5.266, allocations: 1.077 MB / 0.845 GB, free: 99.33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002534/5.269, allocations: 0 / 0.845 GB, free: 99.33 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006409/5.275, allocations: 96.95 kB / 0.8451 GB, free: 99.33 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/5.276, allocations: 153.9 kB / 0.8453 GB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004674/5.277, allocations: 92.42 kB / 0.8453 GB, free: 99.29 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.01046/5.287, allocations: 3.521 MB / 0.8488 GB, free: 98.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01613/5.303, allocations: 1.527 MB / 0.8503 GB, free: 98.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (283): * Single equations (assignments): 277 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 10,(1,100.0%) 11,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001539/5.305, allocations: 158.1 kB / 0.8504 GB, free: 97.93 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.02319/5.328, allocations: 8.937 MB / 0.8592 GB, free: 95.22 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/5.328, allocations: 0 / 0.8592 GB, free: 95.22 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009344/5.338, allocations: 3.336 MB / 0.8624 GB, free: 93.9 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006869/5.345, allocations: 0.6145 MB / 0.863 GB, free: 93.65 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05103/5.396, allocations: 14.3 MB / 0.877 GB, free: 88.88 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02173/5.417, allocations: 6.08 MB / 0.8829 GB, free: 87.06 MB / 426.7 MB Notification: Performance of SimCode: time 2.165e-06/5.417, allocations: 0 / 0.8829 GB, free: 87.06 MB / 426.7 MB