Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques2",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.299/2.299, allocations: 235 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1642/2.464, allocations: 57.21 MB / 299.1 MB, free: 480 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/2.744, allocations: 54.84 MB / 354 MB, free: 13.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4642/3.208, allocations: 100.5 MB / 454.5 MB, free: 33.92 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003512/3.208, allocations: 80.8 kB / 454.6 MB, free: 33.92 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: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.6865/3.895, allocations: 135.1 MB / 0.5759 GB, free: 8.906 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.665e-05/3.895, allocations: 8 kB / 0.5759 GB, free: 8.898 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0686/3.963, allocations: 6.749 MB / 0.5825 GB, free: 2.125 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0311/3.995, allocations: 7.311 MB / 0.5896 GB, free: 10.75 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005612/3.995, allocations: 223.9 kB / 0.5899 GB, free: 10.54 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004208/3.999, allocations: 395.9 kB / 0.5902 GB, free: 10.15 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03584/4.035, allocations: 9.809 MB / 0.5998 GB, free: 340 kB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05615/4.092, allocations: 14.67 MB / 0.6141 GB, free: 312 kB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008362/4.093, allocations: 87.12 kB / 0.6142 GB, free: 224 kB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004819/4.097, allocations: 40 kB / 0.6143 GB, free: 184 kB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.2181/4.316, allocations: 1.665 MB / 0.6159 GB, free: 120.6 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1215/4.437, allocations: 68.42 MB / 0.6827 GB, free: 83.5 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/4.449, allocations: 5.913 MB / 0.6885 GB, free: 82.83 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008335/4.457, allocations: 4.126 MB / 0.6925 GB, free: 82.79 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04282/4.5, allocations: 11.26 MB / 0.7035 GB, free: 79.04 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.178e-05/4.5, allocations: 63.47 kB / 0.7036 GB, free: 78.98 MB / 474.7 MB Notification: Performance of pre-optimization done (n=272): time 8.325e-06/4.5, allocations: 0 / 0.7036 GB, free: 78.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=314): time 0.1508/4.651, allocations: 26.3 MB / 0.7292 GB, free: 69.55 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001494/4.651, allocations: 219.6 kB / 0.7295 GB, free: 69.32 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01921/4.671, allocations: 4.384 MB / 0.7337 GB, free: 67.76 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001293/4.672, allocations: 31.48 kB / 0.7338 GB, free: 67.73 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005589/4.678, allocations: 4.363 MB / 0.738 GB, free: 64.41 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003176/4.681, allocations: 1.147 MB / 0.7391 GB, free: 63.56 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003043/4.684, allocations: 0 / 0.7391 GB, free: 63.56 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001605/4.686, allocations: 0.6829 MB / 0.7398 GB, free: 63.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0174/4.703, allocations: 3.693 MB / 0.7434 GB, free: 61.79 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01591/4.719, allocations: 8.705 MB / 0.7519 GB, free: 53.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01587/4.735, allocations: 5.635 MB / 0.7574 GB, free: 51.35 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003211/4.736, allocations: 52 kB / 0.7575 GB, free: 51.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1155) (initialization): time 0.04039/4.776, allocations: 12.65 MB / 0.7698 GB, free: 40.64 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.866e-05/4.776, allocations: 10.59 kB / 0.7698 GB, free: 40.63 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003477/4.776, allocations: 176 kB / 0.77 GB, free: 40.46 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01038/4.787, allocations: 1.618 MB / 0.7716 GB, free: 39.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01934/4.806, allocations: 2.104 MB / 0.7736 GB, free: 37.39 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02445/4.831, allocations: 10.42 MB / 0.7838 GB, free: 27.99 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01258/4.843, allocations: 305.7 kB / 0.7841 GB, free: 27.75 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002981/4.846, allocations: 0.5219 MB / 0.7846 GB, free: 27.24 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 812 * Number of states: 0 () * Number of discrete variables: 51 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (1083): * Single equations (assignments): 1078 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 21,(4,75.0%) 21} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004299/4.851, allocations: 0.5475 MB / 0.7852 GB, free: 26.69 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001655/4.852, allocations: 485.3 kB / 0.7856 GB, free: 26.21 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02359/4.876, allocations: 7.017 MB / 0.7925 GB, free: 20.44 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001289/4.876, allocations: 28 kB / 0.7925 GB, free: 20.41 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.561e-05/4.876, allocations: 15.91 kB / 0.7925 GB, free: 20.39 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.37e-05/4.876, allocations: 14.72 kB / 0.7925 GB, free: 20.39 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05004/4.926, allocations: 14.29 MB / 0.8065 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.734e-05/4.927, allocations: 3.469 kB / 0.8065 GB, free: 8.715 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009872/4.936, allocations: 0.5501 MB / 0.807 GB, free: 8.273 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007205/4.944, allocations: 1.324 MB / 0.8083 GB, free: 7.305 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001128/4.945, allocations: 15.8 kB / 0.8083 GB, free: 7.293 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2435/5.188, allocations: 9.694 MB / 0.8178 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.516e-06/5.189, allocations: 0 / 0.8178 GB, free: 109.4 MB / 474.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03302/5.222, allocations: 11.75 MB / 0.8293 GB, free: 108.7 MB / 474.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04251/5.264, allocations: 16.5 MB / 0.8454 GB, free: 107.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004642/5.269, allocations: 1.058 MB / 0.8464 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002676/5.272, allocations: 3.469 kB / 0.8464 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006555/5.278, allocations: 155 kB / 0.8466 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001369/5.28, allocations: 139.9 kB / 0.8467 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000742/5.28, allocations: 78.09 kB / 0.8468 GB, free: 107.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 0.008936/5.289, allocations: 2.952 MB / 0.8497 GB, free: 107.4 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01412/5.304, allocations: 1.42 MB / 0.851 GB, free: 107.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (258): * Single equations (assignments): 253 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001577/5.305, allocations: 155.2 kB / 0.8512 GB, free: 107.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02594/5.331, allocations: 9.06 MB / 0.86 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.093e-05/5.331, allocations: 0 / 0.86 GB, free: 107.1 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01142/5.343, allocations: 3.56 MB / 0.8635 GB, free: 106.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006479/5.349, allocations: 488 kB / 0.864 GB, free: 106.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05112/5.4, allocations: 13.18 MB / 0.8769 GB, free: 104.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01932/5.42, allocations: 5.388 MB / 0.8821 GB, free: 103 MB / 474.7 MB Notification: Performance of SimCode: time 2.464e-06/5.42, allocations: 0 / 0.8821 GB, free: 103 MB / 474.7 MB