Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.WorldForces,fileNamePrefix="ModelicaTest_3_2_2_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.221/2.221, allocations: 235 MB / 241.9 MB, free: 9.789 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1851/2.406, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2972/2.703, allocations: 54.84 MB / 354 MB, free: 13.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4156/3.119, allocations: 101.8 MB / 455.8 MB, free: 34.58 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/3.119, allocations: 77.58 kB / 455.8 MB, free: 34.58 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: 2702 * Number of variables: 2702 Notification: Performance of Generate backend data structure: time 0.8185/3.938, allocations: 154.4 MB / 0.596 GB, free: 4.215 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/3.938, allocations: 8 kB / 0.596 GB, free: 4.207 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1004/4.038, allocations: 9.219 MB / 0.605 GB, free: 10.96 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05702/4.095, allocations: 9.219 MB / 0.614 GB, free: 1.656 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001082/4.097, allocations: 252 kB / 0.6142 GB, free: 1.41 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008716/4.105, allocations: 463.8 kB / 0.6147 GB, free: 0.9531 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2659/4.371, allocations: 10.79 MB / 0.6252 GB, free: 110.7 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05617/4.428, allocations: 16.46 MB / 0.6413 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006151/4.428, allocations: 111.7 kB / 0.6414 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003659/4.432, allocations: 45.44 kB / 0.6414 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003636/4.436, allocations: 1.815 MB / 0.6432 GB, free: 106.3 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1405/4.576, allocations: 79.32 MB / 0.7207 GB, free: 59.62 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01827/4.594, allocations: 6.303 MB / 0.7268 GB, free: 56.73 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0129/4.607, allocations: 4.42 MB / 0.7311 GB, free: 54.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0361/4.644, allocations: 11.96 MB / 0.7428 GB, free: 49.15 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.063e-05/4.644, allocations: 74.62 kB / 0.7429 GB, free: 49.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=301): time 7.074e-06/4.644, allocations: 0 / 0.7429 GB, free: 49.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=337): time 0.1366/4.78, allocations: 30.23 MB / 0.7724 GB, free: 34.79 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/4.78, allocations: 294.2 kB / 0.7727 GB, free: 34.45 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01331/4.794, allocations: 5.185 MB / 0.7777 GB, free: 30 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009193/4.795, allocations: 29.7 kB / 0.7778 GB, free: 29.97 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004275/4.799, allocations: 4.934 MB / 0.7826 GB, free: 25.57 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002223/4.801, allocations: 1.234 MB / 0.7838 GB, free: 24.46 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001582/4.803, allocations: 0 / 0.7838 GB, free: 24.46 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009612/4.804, allocations: 0.7253 MB / 0.7845 GB, free: 23.84 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01433/4.818, allocations: 3.598 MB / 0.788 GB, free: 20.62 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02004/4.838, allocations: 9.373 MB / 0.7972 GB, free: 9.145 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02086/4.859, allocations: 5.774 MB / 0.8028 GB, free: 4.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003051/4.86, allocations: 56 kB / 0.8029 GB, free: 4.465 MB / 474.7 MB Notification: Performance of matching and sorting (n=1286) (initialization): time 0.2842/5.144, allocations: 12.73 MB / 0.8153 GB, free: 94.86 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/5.144, allocations: 10.31 kB / 0.8153 GB, free: 94.86 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006118/5.145, allocations: 206.2 kB / 0.8155 GB, free: 94.86 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009714/5.154, allocations: 1.349 MB / 0.8168 GB, free: 94.84 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02266/5.177, allocations: 2.275 MB / 0.819 GB, free: 94.84 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03073/5.208, allocations: 10.5 MB / 0.8293 GB, free: 91.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01828/5.226, allocations: 307.4 kB / 0.8296 GB, free: 91.09 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003508/5.23, allocations: 0.5885 MB / 0.8302 GB, free: 91.09 MB / 474.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.005121/5.235, allocations: 0.6161 MB / 0.8308 GB, free: 90.97 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0026/5.238, allocations: 0.5547 MB / 0.8313 GB, free: 90.97 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02993/5.268, allocations: 6.407 MB / 0.8376 GB, free: 90.83 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001664/5.268, allocations: 34.25 kB / 0.8376 GB, free: 90.83 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.625e-05/5.268, allocations: 9.406 kB / 0.8376 GB, free: 90.83 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001001/5.268, allocations: 20.67 kB / 0.8376 GB, free: 90.83 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06474/5.333, allocations: 13.76 MB / 0.8511 GB, free: 90.21 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.2e-05/5.333, allocations: 0 / 0.8511 GB, free: 90.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009595/5.343, allocations: 0.5417 MB / 0.8516 GB, free: 90.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008039/5.351, allocations: 0.9989 MB / 0.8526 GB, free: 90.18 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001259/5.352, allocations: 14.53 kB / 0.8526 GB, free: 90.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03014/5.382, allocations: 9.497 MB / 0.8619 GB, free: 86.42 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.078e-05/5.382, allocations: 7.281 kB / 0.8619 GB, free: 86.42 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.04192/5.424, allocations: 11.03 MB / 0.8726 GB, free: 85.52 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.05336/5.478, allocations: 15.38 MB / 0.8876 GB, free: 81.38 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006394/5.484, allocations: 1.07 MB / 0.8887 GB, free: 80.78 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003532/5.488, allocations: 7.219 kB / 0.8887 GB, free: 80.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01273/5.5, allocations: 98.03 kB / 0.8888 GB, free: 80.78 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001753/5.502, allocations: 161 kB / 0.8889 GB, free: 80.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001321/5.504, allocations: 84.97 kB / 0.889 GB, free: 80.73 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.01477/5.518, allocations: 3.513 MB / 0.8925 GB, free: 79.47 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0173/5.536, allocations: 1.528 MB / 0.8939 GB, free: 79.47 MB / 474.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.001511/5.537, allocations: 159.9 kB / 0.8941 GB, free: 79.38 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.03142/5.569, allocations: 8.927 MB / 0.9028 GB, free: 76.62 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.299e-05/5.569, allocations: 0 / 0.9028 GB, free: 76.62 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01319/5.582, allocations: 3.347 MB / 0.9061 GB, free: 75.23 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007053/5.589, allocations: 0.6089 MB / 0.9067 GB, free: 74.98 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06507/5.654, allocations: 14.31 MB / 0.9207 GB, free: 67.34 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01916/5.674, allocations: 6.077 MB / 0.9266 GB, free: 62.82 MB / 474.7 MB Notification: Performance of SimCode: time 1.823e-06/5.674, allocations: 4 kB / 0.9266 GB, free: 62.82 MB / 474.7 MB