Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_WorldForces2",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.152/2.152, allocations: 209.3 MB / 216.3 MB, free: 4.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1441/2.296, allocations: 51.02 MB / 267.3 MB, free: 1.242 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/2.589, allocations: 48.7 MB / 316 MB, free: 13.44 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/2.789, allocations: 91.95 MB / 407.9 MB, free: 5.062 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003106/2.789, allocations: 75.95 kB / 408 MB, free: 4.988 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: 2364 * Number of variables: 2364 Notification: Performance of Generate backend data structure: time 0.8585/3.648, allocations: 139.1 MB / 0.5343 GB, free: 22.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/3.648, allocations: 8 kB / 0.5343 GB, free: 22.12 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07963/3.728, allocations: 9.088 MB / 0.5432 GB, free: 13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03569/3.763, allocations: 8.819 MB / 0.5518 GB, free: 4.102 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004506/3.764, allocations: 220 kB / 0.552 GB, free: 3.887 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003565/3.767, allocations: 407.8 kB / 0.5524 GB, free: 3.488 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02798/3.795, allocations: 9.376 MB / 0.5615 GB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04448/3.84, allocations: 14.39 MB / 0.5756 GB, free: 10.26 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004994/3.841, allocations: 95.12 kB / 0.5757 GB, free: 10.17 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002828/3.843, allocations: 40 kB / 0.5757 GB, free: 10.13 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003949/3.847, allocations: 1.58 MB / 0.5773 GB, free: 8.547 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3456/4.193, allocations: 69.22 MB / 0.6449 GB, free: 63.76 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01523/4.208, allocations: 5.043 MB / 0.6498 GB, free: 63.06 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01136/4.22, allocations: 3.396 MB / 0.6531 GB, free: 63.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03823/4.258, allocations: 9.658 MB / 0.6625 GB, free: 60 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.561e-05/4.258, allocations: 61.47 kB / 0.6626 GB, free: 59.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=236): time 1.045e-05/4.258, allocations: 0 / 0.6626 GB, free: 59.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=256): time 0.1105/4.369, allocations: 22.73 MB / 0.6848 GB, free: 49.95 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001032/4.369, allocations: 261.6 kB / 0.685 GB, free: 49.66 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01339/4.382, allocations: 4.867 MB / 0.6898 GB, free: 47.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006595/4.383, allocations: 32.17 kB / 0.6898 GB, free: 47.93 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005331/4.388, allocations: 4.456 MB / 0.6942 GB, free: 44.67 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002524/4.391, allocations: 0.9616 MB / 0.6951 GB, free: 43.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001669/4.393, allocations: 0 / 0.6951 GB, free: 43.96 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.001457/4.394, allocations: 0.6705 MB / 0.6958 GB, free: 43.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01109/4.405, allocations: 2.754 MB / 0.6984 GB, free: 42.55 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01523/4.421, allocations: 8.032 MB / 0.7063 GB, free: 34.45 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01491/4.436, allocations: 4.698 MB / 0.7109 GB, free: 31.29 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003049/4.436, allocations: 52 kB / 0.7109 GB, free: 31.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=1125) (initialization): time 0.03217/4.468, allocations: 10.13 MB / 0.7208 GB, free: 22.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/4.468, allocations: 8 kB / 0.7208 GB, free: 22.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004259/4.469, allocations: 188 kB / 0.721 GB, free: 22.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004051/4.473, allocations: 0.8094 MB / 0.7218 GB, free: 21.56 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01333/4.486, allocations: 1.958 MB / 0.7237 GB, free: 19.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0151/4.501, allocations: 7.849 MB / 0.7314 GB, free: 12.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0113/4.513, allocations: 269.3 kB / 0.7316 GB, free: 12.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002406/4.515, allocations: 0.5146 MB / 0.7321 GB, free: 11.6 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 861 * Number of states: 0 () * Number of discrete variables: 54 (worldForce2.color[3],worldForce2.color[2],worldForce2.color[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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.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 (1062): * Single equations (assignments): 1056 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003517/4.519, allocations: 0.5651 MB / 0.7327 GB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001544/4.52, allocations: 0.5091 MB / 0.7332 GB, free: 10.52 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01665/4.537, allocations: 4.152 MB / 0.7372 GB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000133/4.537, allocations: 24 kB / 0.7373 GB, free: 7.035 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-05/4.537, allocations: 8 kB / 0.7373 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.058e-05/4.537, allocations: 14.11 kB / 0.7373 GB, free: 7.027 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2288/4.766, allocations: 9.812 MB / 0.7469 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.323e-05/4.766, allocations: 3 kB / 0.7469 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005708/4.772, allocations: 382.8 kB / 0.7472 GB, free: 93.9 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003717/4.776, allocations: 0.5012 MB / 0.7477 GB, free: 93.88 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007123/4.777, allocations: 14.27 kB / 0.7477 GB, free: 93.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0154/4.792, allocations: 6.924 MB / 0.7545 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.125e-06/4.792, allocations: 0 / 0.7545 GB, free: 90.14 MB / 410.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02328/4.815, allocations: 7.522 MB / 0.7618 GB, free: 89.4 MB / 410.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.02538/4.841, allocations: 10.61 MB / 0.7722 GB, free: 88.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003561/4.844, allocations: 0.8708 MB / 0.7731 GB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001889/4.846, allocations: 2.781 kB / 0.7731 GB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005036/4.851, allocations: 79.58 kB / 0.7731 GB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008382/4.852, allocations: 119.6 kB / 0.7732 GB, free: 88.18 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002988/4.853, allocations: 66.44 kB / 0.7733 GB, free: 88.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 0.009051/4.862, allocations: 3.313 MB / 0.7765 GB, free: 88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01251/4.874, allocations: 1.296 MB / 0.7778 GB, free: 88 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 205 * 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%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001058/4.875, allocations: 145.3 kB / 0.7779 GB, free: 87.92 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01664/4.892, allocations: 6.84 MB / 0.7846 GB, free: 87.6 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/4.892, allocations: 0 / 0.7846 GB, free: 87.6 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005412/4.898, allocations: 2.276 MB / 0.7868 GB, free: 87.29 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006191/4.904, allocations: 0.5798 MB / 0.7874 GB, free: 87.27 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04191/4.946, allocations: 11.95 MB / 0.7991 GB, free: 85.04 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01683/4.963, allocations: 5.448 MB / 0.8044 GB, free: 83.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.635e-06/4.963, allocations: 0 / 0.8044 GB, free: 83.55 MB / 410.7 MB