Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_FrameForcesAndTorques3",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 1.998/1.998, allocations: 209.3 MB / 216.3 MB, free: 6.793 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2327/2.23, allocations: 51.03 MB / 267.3 MB, free: 5.141 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/2.342, allocations: 48.69 MB / 316 MB, free: 4.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3481/2.69, allocations: 93.49 MB / 409.5 MB, free: 15.48 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003482/2.69, allocations: 76.16 kB / 409.5 MB, free: 15.44 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.8829/3.573, allocations: 132.9 MB / 0.5297 GB, free: 80.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/3.573, allocations: 7.5 kB / 0.5297 GB, free: 80.11 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07186/3.645, allocations: 6.716 MB / 0.5363 GB, free: 79.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03339/3.679, allocations: 7.305 MB / 0.5434 GB, free: 76.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008218/3.679, allocations: 223.5 kB / 0.5436 GB, free: 76.67 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004374/3.684, allocations: 390 kB / 0.544 GB, free: 76.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03085/3.715, allocations: 9.911 MB / 0.5537 GB, free: 73.23 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04271/3.758, allocations: 14.42 MB / 0.5677 GB, free: 59.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004484/3.758, allocations: 79.23 kB / 0.5678 GB, free: 59.72 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003532/3.762, allocations: 36 kB / 0.5679 GB, free: 59.68 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003407/3.765, allocations: 1.678 MB / 0.5695 GB, free: 58.01 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1303/3.895, allocations: 65.1 MB / 0.6331 GB, free: 7.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01728/3.913, allocations: 6.196 MB / 0.6391 GB, free: 1.312 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.1925/4.105, allocations: 4.37 MB / 0.6434 GB, free: 135.5 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04185/4.147, allocations: 11.63 MB / 0.6547 GB, free: 133.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.624e-05/4.147, allocations: 65.91 kB / 0.6548 GB, free: 133.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=306): time 8.015e-06/4.147, allocations: 0 / 0.6548 GB, free: 133.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=349): time 0.1039/4.251, allocations: 25.86 MB / 0.6801 GB, free: 127.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.032e-05/4.251, allocations: 212.2 kB / 0.6803 GB, free: 127.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01126/4.263, allocations: 3.955 MB / 0.6841 GB, free: 125.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001046/4.264, allocations: 31.61 kB / 0.6842 GB, free: 125.7 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003491/4.267, allocations: 4.123 MB / 0.6882 GB, free: 122.6 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002713/4.27, allocations: 1.239 MB / 0.6894 GB, free: 121.7 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001735/4.272, allocations: 0 / 0.6894 GB, free: 121.7 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009352/4.273, allocations: 0.6675 MB / 0.6901 GB, free: 121.2 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01009/4.283, allocations: 3.555 MB / 0.6935 GB, free: 119.9 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01336/4.296, allocations: 8.212 MB / 0.7015 GB, free: 112.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01402/4.31, allocations: 5.382 MB / 0.7068 GB, free: 110.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002151/4.311, allocations: 46.62 kB / 0.7068 GB, free: 110.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=1111) (initialization): time 0.04738/4.358, allocations: 12.14 MB / 0.7187 GB, free: 104.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.361e-05/4.358, allocations: 8 kB / 0.7187 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002962/4.358, allocations: 167.6 kB / 0.7189 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007834/4.366, allocations: 1.603 MB / 0.7204 GB, free: 102.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01477/4.381, allocations: 1.96 MB / 0.7223 GB, free: 101.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02483/4.406, allocations: 10.4 MB / 0.7325 GB, free: 91.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01221/4.418, allocations: 277.2 kB / 0.7328 GB, free: 91.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002641/4.421, allocations: 0.5003 MB / 0.7333 GB, free: 91.19 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 752 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],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],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[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 (1039): * Single equations (assignments): 1034 * 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.003875/4.425, allocations: 0.5203 MB / 0.7338 GB, free: 90.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001648/4.427, allocations: 466 kB / 0.7342 GB, free: 90.21 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02652/4.453, allocations: 7.141 MB / 0.7412 GB, free: 84.34 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001309/4.453, allocations: 32 kB / 0.7412 GB, free: 84.31 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.45e-05/4.453, allocations: 8 kB / 0.7412 GB, free: 84.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.734e-05/4.454, allocations: 18.34 kB / 0.7412 GB, free: 84.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05857/4.512, allocations: 14.63 MB / 0.7555 GB, free: 72.33 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.861e-05/4.512, allocations: 0 / 0.7555 GB, free: 72.33 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00705/4.519, allocations: 0.5689 MB / 0.7561 GB, free: 71.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007424/4.527, allocations: 1.308 MB / 0.7574 GB, free: 70.89 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001169/4.528, allocations: 15.84 kB / 0.7574 GB, free: 70.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0226/4.551, allocations: 9.632 MB / 0.7668 GB, free: 62.19 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.457e-06/4.551, allocations: 8.656 kB / 0.7668 GB, free: 62.18 MB / 426.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03415/4.585, allocations: 11.86 MB / 0.7784 GB, free: 51.22 MB / 426.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04278/4.628, allocations: 16.64 MB / 0.7946 GB, free: 34.49 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004378/4.632, allocations: 1.032 MB / 0.7956 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002257/4.634, allocations: 0 / 0.7956 GB, free: 33.44 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006335/4.641, allocations: 139.8 kB / 0.7958 GB, free: 33.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00142/4.642, allocations: 158.2 kB / 0.7959 GB, free: 33.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006461/4.643, allocations: 95.27 kB / 0.796 GB, free: 33.05 MB / 426.7 MB Notification: Performance of sort global known variables: time 0.007407/4.65, allocations: 2.666 MB / 0.7986 GB, free: 30.39 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01367/4.664, allocations: 1.381 MB / 0.8 GB, free: 29.02 MB / 426.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 (295): * Single equations (assignments): 290 * 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.001517/4.666, allocations: 153.5 kB / 0.8001 GB, free: 28.86 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.2229/4.889, allocations: 8.846 MB / 0.8087 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/4.889, allocations: 3.938 kB / 0.8087 GB, free: 127.5 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0123/4.901, allocations: 3.631 MB / 0.8123 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005237/4.906, allocations: 465.2 kB / 0.8127 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05076/4.957, allocations: 13.02 MB / 0.8254 GB, free: 125.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02517/4.982, allocations: 5.333 MB / 0.8307 GB, free: 124.2 MB / 426.7 MB Notification: Performance of SimCode: time 2.445e-06/4.982, allocations: 0 / 0.8307 GB, free: 124.2 MB / 426.7 MB