Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Joints_SphericalSpherical2",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.253/2.253, allocations: 234.9 MB / 241.9 MB, free: 9.785 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.1756/2.429, allocations: 57.22 MB / 299.1 MB, free: 464 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/2.716, allocations: 54.85 MB / 354 MB, free: 13.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4285/3.144, allocations: 110.2 MB / 464.2 MB, free: 30.37 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003436/3.145, allocations: 74.58 kB / 464.2 MB, free: 30.37 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: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 1.402/4.547, allocations: 234.5 MB / 0.6823 GB, free: 49.77 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/4.547, allocations: 11.47 kB / 0.6823 GB, free: 49.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07968/4.627, allocations: 10.38 MB / 0.6925 GB, free: 48.88 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.06032/4.687, allocations: 15.59 MB / 0.7077 GB, free: 47.43 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009472/4.688, allocations: 478.7 kB / 0.7081 GB, free: 47.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007626/4.696, allocations: 0.8586 MB / 0.709 GB, free: 47.41 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05938/4.755, allocations: 18.67 MB / 0.7272 GB, free: 43.09 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08114/4.836, allocations: 27.37 MB / 0.7539 GB, free: 17.18 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001161/4.837, allocations: 154.1 kB / 0.7541 GB, free: 17.04 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.007931/4.845, allocations: 68 kB / 0.7542 GB, free: 16.97 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005671/4.851, allocations: 2.486 MB / 0.7566 GB, free: 14.9 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6822/5.533, allocations: 127.4 MB / 0.881 GB, free: 67.27 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01532/5.549, allocations: 7.362 MB / 0.8882 GB, free: 66.61 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0133/5.562, allocations: 6.3 MB / 0.8944 GB, free: 66.55 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06392/5.626, allocations: 23.43 MB / 0.9173 GB, free: 57.7 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.55e-05/5.626, allocations: 79.09 kB / 0.9173 GB, free: 57.62 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=411): time 4.77e-05/5.626, allocations: 3.688 kB / 0.9173 GB, free: 57.62 MB / 0.5262 GB Notification: Performance of matching and sorting (n=542): time 0.5091/6.135, allocations: 89.95 MB / 1.005 GB, free: 21.29 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/6.136, allocations: 340.5 kB / 1.006 GB, free: 20.89 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02276/6.158, allocations: 7.629 MB / 1.013 GB, free: 14.36 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.001983/6.16, allocations: 29.7 kB / 1.013 GB, free: 14.32 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.009534/6.17, allocations: 8.284 MB / 1.021 GB, free: 6.902 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.005431/6.176, allocations: 2.041 MB / 1.023 GB, free: 5.066 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003529/6.179, allocations: 0 / 1.023 GB, free: 5.066 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.002706/6.182, allocations: 1.001 MB / 1.024 GB, free: 4.254 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06086/6.243, allocations: 10.71 MB / 1.035 GB, free: 0 / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2812/6.524, allocations: 18.56 MB / 1.053 GB, free: 124.7 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03352/6.558, allocations: 13.11 MB / 1.065 GB, free: 124.6 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004855/6.558, allocations: 92.88 kB / 1.066 GB, free: 124.6 MB / 0.5262 GB Notification: Performance of matching and sorting (n=2127) (initialization): time 0.1513/6.71, allocations: 34.48 MB / 1.099 GB, free: 123.6 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/6.71, allocations: 7.125 kB / 1.099 GB, free: 123.6 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1082/6.818, allocations: 23.05 MB / 1.122 GB, free: 118.3 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.07971/6.898, allocations: 10.33 MB / 1.132 GB, free: 116.5 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02758/6.925, allocations: 3.771 MB / 1.135 GB, free: 116 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1183/7.044, allocations: 45.81 MB / 1.18 GB, free: 86.45 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03254/7.076, allocations: 1.072 MB / 1.181 GB, free: 85.73 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.007425/7.084, allocations: 1.012 MB / 1.182 GB, free: 84.78 MB / 0.5262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1529 * Number of states: 0 () * Number of discrete variables: 75 (freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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],sphericalSpherical1.massColor[3],sphericalSpherical1.massColor[2],sphericalSpherical1.massColor[1],sphericalSpherical1.sphereColor[3],sphericalSpherical1.sphereColor[2],sphericalSpherical1.sphereColor[1],sphericalSpherical1.rodColor[3],sphericalSpherical1.rodColor[2],sphericalSpherical1.rodColor[1],body.sphereColor[3],body.sphereColor[2],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],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (1960): * Single equations (assignments): 1931 * Array equations: 15 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 4 {(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 6 {1,1,4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(8,82.8%) 29,(1,100.0%) 3,(4,93.8%) 17,(7,63.3%) 20} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.009049/7.093, allocations: 0.92 MB / 1.183 GB, free: 84.07 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003665/7.097, allocations: 0.8341 MB / 1.184 GB, free: 83.68 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1527/7.249, allocations: 27.6 MB / 1.211 GB, free: 63.45 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4207/7.67, allocations: 26.51 MB / 1.237 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001046/7.67, allocations: 27.38 kB / 1.237 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002282/7.67, allocations: 26.33 kB / 1.237 GB, free: 117.1 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2294/7.9, allocations: 55.23 MB / 1.291 GB, free: 113.9 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.623e-05/7.9, allocations: 11.81 kB / 1.291 GB, free: 113.9 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01038/7.91, allocations: 0.8363 MB / 1.292 GB, free: 113.9 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1231/8.034, allocations: 14.47 MB / 1.306 GB, free: 112 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002558/8.036, allocations: 101 kB / 1.306 GB, free: 112 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1722/8.208, allocations: 59.76 MB / 1.364 GB, free: 85.62 MB / 0.5262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.07633/8.285, allocations: 21.69 MB / 1.385 GB, free: 70.42 MB / 0.5262 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.4647/8.75, allocations: 39.5 MB / 1.424 GB, free: 111.7 MB / 0.5262 GB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.2952/9.045, allocations: 74.16 MB / 1.496 GB, free: 99.33 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004753/9.05, allocations: 0.8832 MB / 1.497 GB, free: 99.18 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.006249/9.056, allocations: 45.8 kB / 1.497 GB, free: 99.17 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01679/9.073, allocations: 0.5045 MB / 1.498 GB, free: 99.17 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002852/9.076, allocations: 287.1 kB / 1.498 GB, free: 99.14 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001995/9.078, allocations: 187 kB / 1.498 GB, free: 99.1 MB / 0.5262 GB Notification: Performance of sort global known variables: time 0.01783/9.096, allocations: 5.111 MB / 1.503 GB, free: 97.29 MB / 0.5262 GB Notification: Performance of remove unused functions: time 0.03816/9.134, allocations: 4.192 MB / 1.507 GB, free: 97.28 MB / 0.5262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 32 ($STATESET6.x[5],$STATESET6.x[4],$STATESET6.x[3],$STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[3],$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],body.w_a[1],body.w_a[2],body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (385): * Single equations (assignments): 370 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 3 {3,4,8} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(8,82.8%) 29,(7,93.9%) 12,(4,93.8%) 17,(3,100.0%) 3,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.002565/9.137, allocations: 207 kB / 1.508 GB, free: 97.19 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.06791/9.205, allocations: 23.16 MB / 1.53 GB, free: 88.78 MB / 0.5262 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/9.205, allocations: 3.156 kB / 1.53 GB, free: 88.78 MB / 0.5262 GB Notification: Performance of simCode: created simulation system equations: time 0.03662/9.241, allocations: 10.91 MB / 1.541 GB, free: 83.2 MB / 0.5262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01233/9.254, allocations: 1.085 MB / 1.542 GB, free: 82.34 MB / 0.5262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1626/9.416, allocations: 31.8 MB / 1.573 GB, free: 54.73 MB / 0.5262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04524/9.462, allocations: 10.28 MB / 1.583 GB, free: 47.17 MB / 0.5262 GB Notification: Performance of SimCode: time 1.803e-06/9.462, allocations: 0 / 1.583 GB, free: 47.17 MB / 0.5262 GB