Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.FrameTorques2,fileNamePrefix="ModelicaTest_3_2_1_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 1.984/1.984, allocations: 209.3 MB / 216.3 MB, free: 6.801 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2376/2.221, allocations: 51.03 MB / 267.3 MB, free: 5.164 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/2.328, allocations: 48.69 MB / 316 MB, free: 4.375 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3706/2.699, allocations: 92.24 MB / 408.2 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004127/2.699, allocations: 82.7 kB / 408.3 MB, free: 0.6328 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2944 * Number of variables: 2944 Notification: Performance of Generate backend data structure: time 1.011/3.71, allocations: 172.7 MB / 0.5673 GB, free: 62.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/3.711, allocations: 16 kB / 0.5674 GB, free: 62.13 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09055/3.801, allocations: 11.66 MB / 0.5787 GB, free: 50.44 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04527/3.846, allocations: 11.05 MB / 0.5895 GB, free: 39.41 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/3.847, allocations: 276 kB / 0.5898 GB, free: 39.14 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007422/3.855, allocations: 0.5037 MB / 0.5903 GB, free: 38.64 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03564/3.891, allocations: 11.85 MB / 0.6019 GB, free: 26.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05159/3.942, allocations: 17.59 MB / 0.619 GB, free: 7.664 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006934/3.943, allocations: 111 kB / 0.6191 GB, free: 7.555 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004436/3.947, allocations: 44 kB / 0.6192 GB, free: 7.512 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003952/3.951, allocations: 1.955 MB / 0.6211 GB, free: 5.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.509/4.461, allocations: 80.87 MB / 0.7001 GB, free: 68.03 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01722/4.478, allocations: 6.392 MB / 0.7063 GB, free: 67.34 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01084/4.489, allocations: 4.541 MB / 0.7108 GB, free: 67.29 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03709/4.526, allocations: 13.99 MB / 0.7244 GB, free: 61.28 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.047e-05/4.526, allocations: 71.84 kB / 0.7245 GB, free: 61.22 MB / 426.8 MB Notification: Performance of pre-optimization done (n=300): time 8.446e-06/4.526, allocations: 0 / 0.7245 GB, free: 61.22 MB / 426.8 MB Notification: Performance of matching and sorting (n=327): time 0.1442/4.67, allocations: 30.89 MB / 0.7546 GB, free: 48.15 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/4.671, allocations: 289.3 kB / 0.7549 GB, free: 47.84 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02063/4.691, allocations: 5.632 MB / 0.7604 GB, free: 45.79 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0009535/4.692, allocations: 29.02 kB / 0.7605 GB, free: 45.75 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005451/4.698, allocations: 5.332 MB / 0.7657 GB, free: 41.71 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002551/4.7, allocations: 1.211 MB / 0.7668 GB, free: 40.82 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001485/4.702, allocations: 0 / 0.7668 GB, free: 40.82 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0009789/4.703, allocations: 0.7282 MB / 0.7676 GB, free: 40.34 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0108/4.714, allocations: 3.435 MB / 0.7709 GB, free: 39.14 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01783/4.732, allocations: 9.336 MB / 0.78 GB, free: 28.2 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01666/4.748, allocations: 5.636 MB / 0.7855 GB, free: 23.69 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002137/4.749, allocations: 60 kB / 0.7856 GB, free: 23.63 MB / 426.8 MB Notification: Performance of matching and sorting (n=1304) (initialization): time 0.03589/4.784, allocations: 12.26 MB / 0.7976 GB, free: 12.97 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.586e-05/4.785, allocations: 8 kB / 0.7976 GB, free: 12.96 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003469/4.785, allocations: 208 kB / 0.7978 GB, free: 12.76 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004556/4.789, allocations: 1.063 MB / 0.7988 GB, free: 11.86 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0161/4.806, allocations: 2.296 MB / 0.801 GB, free: 9.859 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02004/4.826, allocations: 10.77 MB / 0.8116 GB, free: 0 / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.233/5.059, allocations: 320.4 kB / 0.8119 GB, free: 99.89 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002879/5.062, allocations: 0.5918 MB / 0.8124 GB, free: 99.89 MB / 426.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.004112/5.066, allocations: 0.63 MB / 0.8131 GB, free: 99.78 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002033/5.068, allocations: 0.5961 MB / 0.8136 GB, free: 99.78 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01959/5.087, allocations: 5.71 MB / 0.8192 GB, free: 99.62 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001352/5.088, allocations: 36.22 kB / 0.8193 GB, free: 99.62 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.841e-05/5.088, allocations: 6.594 kB / 0.8193 GB, free: 99.62 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-05/5.088, allocations: 17.59 kB / 0.8193 GB, free: 99.62 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05492/5.143, allocations: 13.2 MB / 0.8322 GB, free: 99.03 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.878e-05/5.143, allocations: 0 / 0.8322 GB, free: 99.03 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006386/5.149, allocations: 0.5241 MB / 0.8327 GB, free: 99.03 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00383/5.153, allocations: 0.698 MB / 0.8334 GB, free: 99 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009711/5.154, allocations: 11.78 kB / 0.8334 GB, free: 99 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01626/5.17, allocations: 9.507 MB / 0.8427 GB, free: 94 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/5.171, allocations: 6.188 kB / 0.8427 GB, free: 94 MB / 426.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02658/5.197, allocations: 9.848 MB / 0.8523 GB, free: 93.21 MB / 426.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03397/5.231, allocations: 13.84 MB / 0.8658 GB, free: 89.02 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004586/5.236, allocations: 1.076 MB / 0.8668 GB, free: 88.42 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002628/5.239, allocations: 7.188 kB / 0.8668 GB, free: 88.42 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007326/5.246, allocations: 109.8 kB / 0.867 GB, free: 88.42 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001688/5.248, allocations: 144.6 kB / 0.8671 GB, free: 88.39 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001267/5.249, allocations: 84.48 kB / 0.8672 GB, free: 88.38 MB / 426.8 MB Notification: Performance of sort global known variables: time 0.01524/5.264, allocations: 3.847 MB / 0.8709 GB, free: 87.01 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.01504/5.279, allocations: 1.601 MB / 0.8725 GB, free: 87.01 MB / 426.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.00174/5.281, allocations: 168.5 kB / 0.8726 GB, free: 86.92 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.02337/5.305, allocations: 8.559 MB / 0.881 GB, free: 84.27 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/5.305, allocations: 0 / 0.881 GB, free: 84.27 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.007657/5.312, allocations: 3.06 MB / 0.884 GB, free: 82.97 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007862/5.32, allocations: 0.7151 MB / 0.8847 GB, free: 82.69 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05435/5.375, allocations: 14.96 MB / 0.8993 GB, free: 75.07 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.02918/5.404, allocations: 6.607 MB / 0.9058 GB, free: 70.17 MB / 426.8 MB Notification: Performance of SimCode: time 2.084e-06/5.404, allocations: 3.75 kB / 0.9058 GB, free: 70.17 MB / 426.8 MB