Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForces2,fileNamePrefix="ModelicaTest_3_2_2_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.215/2.215, allocations: 234.9 MB / 241.9 MB, free: 9.777 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1595/2.375, allocations: 57.21 MB / 299.1 MB, free: 468 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/2.689, allocations: 54.84 MB / 354 MB, free: 13.46 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4346/3.123, allocations: 98.63 MB / 452.6 MB, free: 32.95 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003897/3.124, allocations: 70.7 kB / 452.7 MB, free: 32.95 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: 2806 * Number of variables: 2806 Notification: Performance of Generate backend data structure: time 0.76/3.884, allocations: 165.2 MB / 0.6034 GB, free: 12.46 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.515e-05/3.884, allocations: 16 kB / 0.6035 GB, free: 12.44 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09763/3.981, allocations: 11.6 MB / 0.6148 GB, free: 0.8047 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4098/4.391, allocations: 10.92 MB / 0.6254 GB, free: 103.4 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007689/4.392, allocations: 263.3 kB / 0.6257 GB, free: 103.4 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005121/4.397, allocations: 0.4897 MB / 0.6262 GB, free: 103.4 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0414/4.439, allocations: 11.41 MB / 0.6373 GB, free: 103.3 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05623/4.495, allocations: 16.91 MB / 0.6538 GB, free: 99.31 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005488/4.496, allocations: 109.3 kB / 0.6539 GB, free: 99.3 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002986/4.499, allocations: 46.06 kB / 0.654 GB, free: 99.3 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003611/4.502, allocations: 1.858 MB / 0.6558 GB, free: 99.28 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1831/4.685, allocations: 78.56 MB / 0.7325 GB, free: 53.22 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01295/4.699, allocations: 6.413 MB / 0.7388 GB, free: 50.27 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0107/4.709, allocations: 4.542 MB / 0.7432 GB, free: 48.31 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03508/4.744, allocations: 13.9 MB / 0.7568 GB, free: 40.94 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.739e-05/4.745, allocations: 69.88 kB / 0.7568 GB, free: 40.88 MB / 474.8 MB Notification: Performance of pre-optimization done (n=296): time 1.784e-05/4.745, allocations: 1.969 kB / 0.7568 GB, free: 40.88 MB / 474.8 MB Notification: Performance of matching and sorting (n=322): time 0.1222/4.867, allocations: 29.73 MB / 0.7859 GB, free: 20.76 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/4.867, allocations: 294.3 kB / 0.7862 GB, free: 20.42 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01949/4.886, allocations: 5.466 MB / 0.7915 GB, free: 15.62 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009299/4.887, allocations: 29.7 kB / 0.7915 GB, free: 15.59 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005079/4.893, allocations: 5.085 MB / 0.7965 GB, free: 11.04 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002298/4.895, allocations: 1.191 MB / 0.7976 GB, free: 9.965 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001497/4.896, allocations: 0 / 0.7976 GB, free: 9.965 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0009393/4.897, allocations: 0.705 MB / 0.7983 GB, free: 9.367 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00891/4.906, allocations: 3.344 MB / 0.8016 GB, free: 6.375 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2817/5.188, allocations: 8.988 MB / 0.8104 GB, free: 89.35 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01889/5.207, allocations: 5.458 MB / 0.8157 GB, free: 89.32 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002976/5.207, allocations: 55.59 kB / 0.8158 GB, free: 89.32 MB / 474.8 MB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.05154/5.259, allocations: 11.85 MB / 0.8273 GB, free: 89.21 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.086e-05/5.259, allocations: 3.5 kB / 0.8273 GB, free: 89.21 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005696/5.26, allocations: 201.2 kB / 0.8275 GB, free: 89.21 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00674/5.267, allocations: 1.019 MB / 0.8285 GB, free: 89.18 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02228/5.289, allocations: 2.184 MB / 0.8307 GB, free: 89 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02611/5.315, allocations: 10.39 MB / 0.8408 GB, free: 83.89 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01265/5.328, allocations: 302.2 kB / 0.8411 GB, free: 83.89 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002702/5.33, allocations: 0.5699 MB / 0.8417 GB, free: 83.89 MB / 474.8 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.003992/5.335, allocations: 0.6159 MB / 0.8423 GB, free: 83.58 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001907/5.336, allocations: 0.5797 MB / 0.8428 GB, free: 83.58 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01834/5.355, allocations: 5.571 MB / 0.8483 GB, free: 83.39 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001233/5.355, allocations: 29.12 kB / 0.8483 GB, free: 83.39 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.818e-05/5.355, allocations: 11.69 kB / 0.8483 GB, free: 83.39 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.527e-05/5.355, allocations: 20.08 kB / 0.8483 GB, free: 83.39 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04379/5.399, allocations: 12.83 MB / 0.8608 GB, free: 82.79 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.303e-05/5.399, allocations: 0 / 0.8608 GB, free: 82.79 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005928/5.405, allocations: 0.4895 MB / 0.8613 GB, free: 82.76 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003849/5.409, allocations: 0.6742 MB / 0.862 GB, free: 82.73 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009837/5.41, allocations: 11.23 kB / 0.862 GB, free: 82.73 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01769/5.428, allocations: 9.24 MB / 0.871 GB, free: 77.69 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/5.428, allocations: 0 / 0.871 GB, free: 77.69 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02815/5.456, allocations: 9.653 MB / 0.8804 GB, free: 76.89 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03158/5.487, allocations: 13.55 MB / 0.8937 GB, free: 73.42 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004217/5.492, allocations: 1.046 MB / 0.8947 GB, free: 72.81 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002513/5.494, allocations: 3.5 kB / 0.8947 GB, free: 72.81 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009126/5.504, allocations: 108.7 kB / 0.8948 GB, free: 72.81 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001768/5.505, allocations: 150 kB / 0.8949 GB, free: 72.79 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008877/5.506, allocations: 85 kB / 0.895 GB, free: 72.77 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.01194/5.518, allocations: 3.74 MB / 0.8987 GB, free: 71.44 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.01411/5.532, allocations: 1.55 MB / 0.9002 GB, free: 71.43 MB / 474.8 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.001177/5.534, allocations: 155.6 kB / 0.9003 GB, free: 71.32 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0203/5.554, allocations: 8.309 MB / 0.9085 GB, free: 68.29 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/5.554, allocations: 0 / 0.9085 GB, free: 68.29 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007103/5.561, allocations: 2.979 MB / 0.9114 GB, free: 66.96 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007504/5.569, allocations: 0.7046 MB / 0.9121 GB, free: 66.68 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05896/5.628, allocations: 14.47 MB / 0.9262 GB, free: 60.67 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02153/5.649, allocations: 6.367 MB / 0.9324 GB, free: 55.92 MB / 474.8 MB Notification: Performance of SimCode: time 2.174e-06/5.649, allocations: 4 kB / 0.9324 GB, free: 55.92 MB / 474.8 MB