Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_3_2_1_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 1.982/1.982, allocations: 209.3 MB / 216.3 MB, free: 6.797 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2842/2.267, allocations: 51.04 MB / 267.3 MB, free: 5.137 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1311/2.398, allocations: 48.69 MB / 316 MB, free: 4.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3677/2.765, allocations: 103.6 MB / 419.6 MB, free: 5.402 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002885/2.766, allocations: 87.94 kB / 419.7 MB, free: 5.359 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: 4609 * Number of variables: 4609 Notification: Performance of Generate backend data structure: time 1.273/4.039, allocations: 234.3 MB / 0.6387 GB, free: 7.023 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.98e-05/4.039, allocations: 11.98 kB / 0.6387 GB, free: 7.012 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.4798/4.519, allocations: 10.32 MB / 0.6488 GB, free: 68.95 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.07155/4.591, allocations: 15.57 MB / 0.664 GB, free: 68.42 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009276/4.591, allocations: 474 kB / 0.6644 GB, free: 68.42 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007555/4.599, allocations: 0.8658 MB / 0.6653 GB, free: 68.41 MB / 426.8 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.05677/4.656, allocations: 18.67 MB / 0.6835 GB, free: 68.34 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1058/4.762, allocations: 27.36 MB / 0.7102 GB, free: 61.94 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001962/4.764, allocations: 152.8 kB / 0.7104 GB, free: 61.93 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008791/4.773, allocations: 72.41 kB / 0.7104 GB, free: 61.93 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007795/4.781, allocations: 2.48 MB / 0.7128 GB, free: 61.88 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5335/5.314, allocations: 127.4 MB / 0.8373 GB, free: 32.57 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01756/5.332, allocations: 7.368 MB / 0.8445 GB, free: 31.91 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01331/5.345, allocations: 6.299 MB / 0.8506 GB, free: 31.86 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.071/5.416, allocations: 23.44 MB / 0.8735 GB, free: 25.47 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001331/5.416, allocations: 80.09 kB / 0.8736 GB, free: 25.43 MB / 458.8 MB Notification: Performance of pre-optimization done (n=411): time 1.344e-05/5.416, allocations: 0 / 0.8736 GB, free: 25.43 MB / 458.8 MB Notification: Performance of matching and sorting (n=542): time 0.5439/5.96, allocations: 89.97 MB / 0.9615 GB, free: 9.09 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002425/5.961, allocations: 340.5 kB / 0.9618 GB, free: 8.695 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02578/5.986, allocations: 7.638 MB / 0.9692 GB, free: 2.012 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001877/5.988, allocations: 28.42 kB / 0.9693 GB, free: 1.98 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.256/6.244, allocations: 8.287 MB / 0.9774 GB, free: 107.2 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.005589/6.25, allocations: 2.036 MB / 0.9793 GB, free: 106 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003305/6.253, allocations: 0 / 0.9793 GB, free: 106 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.003446/6.257, allocations: 0.9937 MB / 0.9803 GB, free: 105.7 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02836/6.285, allocations: 9.128 MB / 0.9892 GB, free: 105.6 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03191/6.317, allocations: 18.54 MB / 1.007 GB, free: 93.45 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.03839/6.356, allocations: 13.1 MB / 1.02 GB, free: 93.34 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005292/6.356, allocations: 97 kB / 1.02 GB, free: 93.34 MB / 474.8 MB Notification: Performance of matching and sorting (n=2127) (initialization): time 0.1516/6.508, allocations: 34.11 MB / 1.054 GB, free: 89.52 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.759e-05/6.508, allocations: 3.719 kB / 1.054 GB, free: 89.52 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1067/6.615, allocations: 22.75 MB / 1.076 GB, free: 82.89 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1165/6.731, allocations: 10.02 MB / 1.086 GB, free: 81.09 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.03703/6.769, allocations: 3.825 MB / 1.089 GB, free: 80.64 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3533/7.122, allocations: 44.53 MB / 1.133 GB, free: 91.18 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03145/7.153, allocations: 1.066 MB / 1.134 GB, free: 91.18 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005125/7.159, allocations: 1.005 MB / 1.135 GB, free: 91.18 MB / 474.8 MB 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 (1972): * Single equations (assignments): 1943 * 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,1,1,1,1} * 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.008517/7.167, allocations: 0.9272 MB / 1.136 GB, free: 91.07 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003708/7.171, allocations: 0.8332 MB / 1.136 GB, free: 91.07 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1711/7.342, allocations: 27.6 MB / 1.163 GB, free: 90.75 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1599/7.502, allocations: 25.98 MB / 1.189 GB, free: 90.53 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001081/7.502, allocations: 26.47 kB / 1.189 GB, free: 90.53 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001832/7.502, allocations: 29 kB / 1.189 GB, free: 90.53 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2674/7.77, allocations: 55.21 MB / 1.243 GB, free: 73.07 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.172e-05/7.77, allocations: 1.812 kB / 1.243 GB, free: 73.07 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01056/7.781, allocations: 0.8436 MB / 1.244 GB, free: 73.05 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.1217/7.902, allocations: 14.46 MB / 1.258 GB, free: 63.08 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002968/7.905, allocations: 104.2 kB / 1.258 GB, free: 62.98 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3954/8.301, allocations: 59.77 MB / 1.316 GB, free: 86.07 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05547/8.356, allocations: 21.68 MB / 1.337 GB, free: 78.3 MB / 474.8 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.1661/8.522, allocations: 39.49 MB / 1.376 GB, free: 68.16 MB / 474.8 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.5454/9.068, allocations: 75.58 MB / 1.45 GB, free: 87.45 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00548/9.073, allocations: 0.8779 MB / 1.451 GB, free: 87.35 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.007324/9.081, allocations: 47.31 kB / 1.451 GB, free: 87.35 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.02535/9.106, allocations: 0.5074 MB / 1.451 GB, free: 87.35 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003782/9.11, allocations: 294.8 kB / 1.451 GB, free: 87.35 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002657/9.113, allocations: 187.7 kB / 1.452 GB, free: 87.35 MB / 474.8 MB Notification: Performance of sort global known variables: time 0.0221/9.135, allocations: 5.111 MB / 1.457 GB, free: 87.1 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.04122/9.176, allocations: 4.172 MB / 1.461 GB, free: 87.1 MB / 474.8 MB 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.002555/9.179, allocations: 204.5 kB / 1.461 GB, free: 87.01 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0673/9.246, allocations: 22.67 MB / 1.483 GB, free: 86.07 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.264e-05/9.246, allocations: 0 / 1.483 GB, free: 86.07 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.03537/9.282, allocations: 10.91 MB / 1.494 GB, free: 84.75 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01298/9.295, allocations: 1.091 MB / 1.495 GB, free: 84.72 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1337/9.428, allocations: 31.78 MB / 1.526 GB, free: 76.12 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.04377/9.472, allocations: 10.28 MB / 1.536 GB, free: 73.26 MB / 474.8 MB Notification: Performance of SimCode: time 1.994e-06/9.472, allocations: 0 / 1.536 GB, free: 73.26 MB / 474.8 MB