Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.UniversalSpherical,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Joints_UniversalSpherical",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.024/2.024, allocations: 209.3 MB / 216.3 MB, free: 6.773 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2604/2.285, allocations: 51.04 MB / 267.3 MB, free: 5.121 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/2.41, allocations: 48.69 MB / 316 MB, free: 4.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3907/2.8, allocations: 107.8 MB / 423.7 MB, free: 1.434 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000409/2.801, allocations: 76.5 kB / 423.8 MB, free: 1.402 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: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 1.366/4.167, allocations: 234.9 MB / 0.6433 GB, free: 2.352 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/4.167, allocations: 8 kB / 0.6433 GB, free: 2.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4721/4.639, allocations: 10.04 MB / 0.6531 GB, free: 68.38 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05655/4.695, allocations: 14 MB / 0.6668 GB, free: 67.86 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008902/4.696, allocations: 475.1 kB / 0.6672 GB, free: 67.86 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00735/4.704, allocations: 0.8471 MB / 0.6681 GB, free: 67.84 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.06585/4.769, allocations: 19.87 MB / 0.6875 GB, free: 67.77 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09447/4.864, allocations: 28.37 MB / 0.7152 GB, free: 61.78 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00128/4.865, allocations: 139 kB / 0.7153 GB, free: 61.77 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007907/4.873, allocations: 65.12 kB / 0.7154 GB, free: 61.77 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00748/4.881, allocations: 2.691 MB / 0.718 GB, free: 61.35 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5019/5.383, allocations: 128.2 MB / 0.8432 GB, free: 33.09 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02229/5.405, allocations: 8.456 MB / 0.8514 GB, free: 32.42 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01862/5.424, allocations: 7.166 MB / 0.8584 GB, free: 32.37 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1053/5.529, allocations: 32.08 MB / 0.8898 GB, free: 24.32 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000113/5.529, allocations: 85.5 kB / 0.8898 GB, free: 24.27 MB / 458.8 MB Notification: Performance of pre-optimization done (n=424): time 9.177e-06/5.529, allocations: 0 / 0.8898 GB, free: 24.27 MB / 458.8 MB Notification: Performance of matching and sorting (n=554): time 0.4799/6.009, allocations: 89.74 MB / 0.9775 GB, free: 1.004 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003014/6.01, allocations: 342.1 kB / 0.9778 GB, free: 0.6055 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2589/6.269, allocations: 7.532 MB / 0.9852 GB, free: 107 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001881/6.271, allocations: 27.17 kB / 0.9852 GB, free: 107 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.007681/6.278, allocations: 8.367 MB / 0.9934 GB, free: 103.1 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.004857/6.283, allocations: 2.075 MB / 0.9954 GB, free: 101.9 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003571/6.287, allocations: 3.781 kB / 0.9954 GB, free: 101.9 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.002233/6.289, allocations: 1 MB / 0.9964 GB, free: 101.5 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02465/6.314, allocations: 9.209 MB / 1.005 GB, free: 101.5 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03638/6.35, allocations: 18.63 MB / 1.024 GB, free: 89.26 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.04133/6.392, allocations: 12.88 MB / 1.036 GB, free: 89.15 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0006484/6.392, allocations: 97.72 kB / 1.036 GB, free: 89.15 MB / 474.8 MB Notification: Performance of matching and sorting (n=2136) (initialization): time 0.136/6.529, allocations: 32.74 MB / 1.068 GB, free: 84.38 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.336e-05/6.529, allocations: 3.344 kB / 1.068 GB, free: 84.38 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09366/6.622, allocations: 21.36 MB / 1.089 GB, free: 77.72 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06421/6.687, allocations: 8.622 MB / 1.097 GB, free: 76.01 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03508/6.722, allocations: 3.905 MB / 1.101 GB, free: 75.56 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3336/7.055, allocations: 41.13 MB / 1.141 GB, free: 87.61 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03793/7.093, allocations: 0.9967 MB / 1.142 GB, free: 87.61 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.006501/7.1, allocations: 0.9975 MB / 1.143 GB, free: 87.61 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1530 * Number of states: 0 () * Number of discrete variables: 69 (init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrowColor[3],init.arrowColor[2],init.arrowColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],universalSpherical1.cylinderColor[3],universalSpherical1.cylinderColor[2],universalSpherical1.cylinderColor[1],universalSpherical1.sphereColor[3],universalSpherical1.sphereColor[2],universalSpherical1.sphereColor[1],universalSpherical1.rodColor[3],universalSpherical1.rodColor[2],universalSpherical1.rodColor[1],universalSpherical.cylinderColor[3],universalSpherical.cylinderColor[2],universalSpherical.cylinderColor[1],universalSpherical.sphereColor[3],universalSpherical.sphereColor[2],universalSpherical.sphereColor[1],universalSpherical.rodColor[3],universalSpherical.rodColor[2],universalSpherical.rodColor[1],rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrowColor[3],rs2.arrowColor[2],rs2.arrowColor[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],spherical1.sphereColor[3],spherical1.sphereColor[2],spherical1.sphereColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],rs1.arrowColor[3],rs1.arrowColor[2],rs1.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (2010): * Single equations (assignments): 1983 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 5 {1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(4,93.8%) 8,(8,76.6%) 20,(1,100.0%) 3,(1,100.0%) 9,(4,87.5%) 6,(1,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008822/7.109, allocations: 0.9273 MB / 1.144 GB, free: 87.39 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00374/7.113, allocations: 0.8234 MB / 1.145 GB, free: 87.39 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1346/7.247, allocations: 26.17 MB / 1.171 GB, free: 87.08 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1452/7.393, allocations: 24.48 MB / 1.195 GB, free: 86.86 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001128/7.393, allocations: 24.33 kB / 1.195 GB, free: 86.86 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002178/7.396, allocations: 24.7 kB / 1.195 GB, free: 86.86 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2173/7.613, allocations: 54.76 MB / 1.248 GB, free: 70.26 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.843e-05/7.613, allocations: 6.969 kB / 1.248 GB, free: 70.26 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0121/7.625, allocations: 0.9385 MB / 1.249 GB, free: 70.23 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1047/7.73, allocations: 12.86 MB / 1.262 GB, free: 65.93 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003425/7.734, allocations: 91.3 kB / 1.262 GB, free: 65.89 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3791/8.113, allocations: 53.3 MB / 1.314 GB, free: 81.73 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05443/8.167, allocations: 20.06 MB / 1.333 GB, free: 75.26 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1946/8.362, allocations: 38.3 MB / 1.371 GB, free: 70.38 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.4847/8.847, allocations: 74.5 MB / 1.443 GB, free: 84.79 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.01318/8.86, allocations: 2.412 MB / 1.446 GB, free: 84.69 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004969/8.865, allocations: 37.3 kB / 1.446 GB, free: 84.69 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01691/8.882, allocations: 493.9 kB / 1.446 GB, free: 84.69 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002513/8.885, allocations: 291.1 kB / 1.447 GB, free: 84.69 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001785/8.886, allocations: 176.8 kB / 1.447 GB, free: 84.69 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.02005/8.906, allocations: 5.014 MB / 1.452 GB, free: 84.44 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.03134/8.938, allocations: 4.044 MB / 1.456 GB, free: 84.44 MB / 474.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 30 ($STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[6],$STATESET3.x[5],$STATESET3.x[4],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyBox1.body.w_a[1],bodyBox1.body.w_a[2],bodyBox1.body.w_a[3],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (435): * Single equations (assignments): 420 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(3,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {3,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 6,(4,87.5%) 6,(1,100.0%) 4,(4,93.8%) 8,(8,76.6%) 20,(7,93.9%) 12} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.003209/8.941, allocations: 200.8 kB / 1.456 GB, free: 84.35 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0867/9.028, allocations: 22.65 MB / 1.478 GB, free: 83.33 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.652e-05/9.028, allocations: 5.125 kB / 1.478 GB, free: 83.33 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.04356/9.071, allocations: 10.61 MB / 1.488 GB, free: 82.05 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01669/9.088, allocations: 1.035 MB / 1.489 GB, free: 82.02 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1725/9.261, allocations: 31.42 MB / 1.52 GB, free: 77.07 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04031/9.301, allocations: 10.35 MB / 1.53 GB, free: 75.83 MB / 474.8 MB Notification: Performance of SimCode: time 1.994e-06/9.301, allocations: 0 / 1.53 GB, free: 75.83 MB / 474.8 MB