Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Forces_FrameTorques2",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.174/2.174, allocations: 234.9 MB / 241.9 MB, free: 9.793 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1902/2.364, allocations: 57.2 MB / 299.1 MB, free: 484 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2822/2.646, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4205/3.067, allocations: 98.82 MB / 452.8 MB, free: 32.97 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002783/3.067, allocations: 78.47 kB / 452.9 MB, free: 32.97 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: 2948 * Number of variables: 2948 Notification: Performance of Generate backend data structure: time 0.8356/3.903, allocations: 172.8 MB / 0.611 GB, free: 4.551 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/3.903, allocations: 8 kB / 0.6111 GB, free: 4.543 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4884/4.391, allocations: 11.65 MB / 0.6224 GB, free: 100.6 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04227/4.433, allocations: 11.05 MB / 0.6332 GB, free: 100.1 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006303/4.434, allocations: 280.4 kB / 0.6335 GB, free: 100.1 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004833/4.439, allocations: 0.5036 MB / 0.634 GB, free: 100.1 MB / 474.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.04018/4.479, allocations: 11.86 MB / 0.6456 GB, free: 100 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06631/4.546, allocations: 17.59 MB / 0.6628 GB, free: 95.89 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001347/4.547, allocations: 109.5 kB / 0.6629 GB, free: 95.88 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005899/4.553, allocations: 47.09 kB / 0.6629 GB, free: 95.88 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006702/4.56, allocations: 1.96 MB / 0.6648 GB, free: 95.87 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1519/4.712, allocations: 80.91 MB / 0.7438 GB, free: 63.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01898/4.731, allocations: 6.383 MB / 0.7501 GB, free: 60.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01366/4.745, allocations: 4.538 MB / 0.7545 GB, free: 58.38 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04095/4.786, allocations: 14 MB / 0.7682 GB, free: 51.01 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.005e-05/4.786, allocations: 73.33 kB / 0.7682 GB, free: 50.95 MB / 490.8 MB Notification: Performance of pre-optimization done (n=300): time 9.147e-06/4.786, allocations: 0 / 0.7682 GB, free: 50.95 MB / 490.8 MB Notification: Performance of matching and sorting (n=327): time 0.1152/4.901, allocations: 30.88 MB / 0.7984 GB, free: 26.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/4.901, allocations: 291.3 kB / 0.7987 GB, free: 25.72 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/4.918, allocations: 5.637 MB / 0.8042 GB, free: 20.78 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009772/4.919, allocations: 29.7 kB / 0.8042 GB, free: 20.74 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.004658/4.924, allocations: 5.333 MB / 0.8094 GB, free: 15.97 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002255/4.926, allocations: 1.21 MB / 0.8106 GB, free: 14.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001706/4.928, allocations: 0 / 0.8106 GB, free: 14.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.001095/4.929, allocations: 0.7252 MB / 0.8113 GB, free: 14.27 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01142/4.94, allocations: 3.44 MB / 0.8147 GB, free: 11.19 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2389/5.179, allocations: 9.33 MB / 0.8238 GB, free: 99.85 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01384/5.193, allocations: 5.638 MB / 0.8293 GB, free: 99.82 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002297/5.194, allocations: 61.09 kB / 0.8293 GB, free: 99.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=1304) (initialization): time 0.03905/5.233, allocations: 12.26 MB / 0.8413 GB, free: 99.72 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/5.233, allocations: 3.406 kB / 0.8413 GB, free: 99.72 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003915/5.233, allocations: 212.4 kB / 0.8415 GB, free: 99.72 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004773/5.238, allocations: 1.063 MB / 0.8426 GB, free: 99.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02074/5.259, allocations: 2.296 MB / 0.8448 GB, free: 99.55 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01998/5.279, allocations: 10.64 MB / 0.8552 GB, free: 94.43 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01446/5.293, allocations: 313.8 kB / 0.8555 GB, free: 94.43 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002662/5.296, allocations: 0.5911 MB / 0.8561 GB, free: 94.43 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 63 (Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],frameTorque4.color[3],frameTorque4.color[2],frameTorque4.color[1],frameTorque3.color[3],frameTorque3.color[2],frameTorque3.color[1],body4.color[3],body4.color[2],body4.color[1],body4.body.sphereColor[3],body4.body.sphereColor[2],body4.body.sphereColor[1],body3.color[3],body3.color[2],body3.color[1],body3.body.sphereColor[3],body3.body.sphereColor[2],body3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[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 (1224): * Single equations (assignments): 1217 * 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%) 14,(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003659/5.3, allocations: 0.6275 MB / 0.8567 GB, free: 94.11 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002228/5.302, allocations: 0.5978 MB / 0.8573 GB, free: 94.11 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02068/5.323, allocations: 5.713 MB / 0.8628 GB, free: 93.92 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001696/5.323, allocations: 34.84 kB / 0.8629 GB, free: 93.92 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-05/5.323, allocations: 10.31 kB / 0.8629 GB, free: 93.92 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001156/5.323, allocations: 14.34 kB / 0.8629 GB, free: 93.92 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05307/5.376, allocations: 13.21 MB / 0.8758 GB, free: 93.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.705e-05/5.376, allocations: 2.469 kB / 0.8758 GB, free: 93.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01012/5.386, allocations: 0.5122 MB / 0.8763 GB, free: 93.28 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005463/5.392, allocations: 0.6998 MB / 0.877 GB, free: 93.25 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001042/5.393, allocations: 17.44 kB / 0.877 GB, free: 93.25 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01758/5.411, allocations: 9.515 MB / 0.8863 GB, free: 88.21 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.895e-06/5.411, allocations: 0 / 0.8863 GB, free: 88.21 MB / 490.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03272/5.443, allocations: 9.845 MB / 0.8959 GB, free: 87.42 MB / 490.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.04587/5.489, allocations: 13.83 MB / 0.9094 GB, free: 84.52 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004425/5.494, allocations: 1.075 MB / 0.9105 GB, free: 83.9 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002484/5.496, allocations: 11.22 kB / 0.9105 GB, free: 83.89 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006456/5.503, allocations: 105.8 kB / 0.9106 GB, free: 83.89 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00117/5.504, allocations: 148.6 kB / 0.9107 GB, free: 83.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004011/5.505, allocations: 82.55 kB / 0.9108 GB, free: 83.86 MB / 490.8 MB Notification: Performance of sort global known variables: time 0.01116/5.516, allocations: 3.85 MB / 0.9145 GB, free: 82.5 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.01666/5.532, allocations: 1.6 MB / 0.9161 GB, free: 82.49 MB / 490.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 (270): * Single equations (assignments): 263 * 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%) 11,(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00138/5.534, allocations: 167.5 kB / 0.9163 GB, free: 82.38 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.02299/5.557, allocations: 8.558 MB / 0.9246 GB, free: 79.26 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.085e-05/5.557, allocations: 0 / 0.9246 GB, free: 79.26 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.008616/5.566, allocations: 3.052 MB / 0.9276 GB, free: 77.91 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007532/5.573, allocations: 0.7148 MB / 0.9283 GB, free: 77.63 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05932/5.633, allocations: 14.97 MB / 0.9429 GB, free: 71.33 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0219/5.655, allocations: 6.601 MB / 0.9494 GB, free: 66.41 MB / 490.8 MB Notification: Performance of SimCode: time 1.783e-06/5.655, allocations: 0 / 0.9494 GB, free: 66.41 MB / 490.8 MB