Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,fileNamePrefix="Modelica_3_2_1_Modelica_Mechanics_MultiBody_Examples_Constraints_SphericalConstraint",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(Modelica): time 1.841/1.841, allocations: 171.2 MB / 178.1 MB, free: 8.277 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.2517/2.093, allocations: 41.11 MB / 219.3 MB, free: 11.18 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/2.219, allocations: 38.77 MB / 258 MB, free: 4.352 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3879/2.607, allocations: 100.2 MB / 358.2 MB, free: 4.242 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/2.607, allocations: 84.77 kB / 358.3 MB, free: 4.203 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2366 * Number of variables: 2366 Notification: Performance of Generate backend data structure: time 0.7834/3.391, allocations: 129.9 MB / 488.2 MB, free: 61.98 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/3.391, allocations: 12 kB / 488.2 MB, free: 61.96 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02158/3.413, allocations: 2.44 MB / 490.6 MB, free: 59.51 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03037/3.443, allocations: 8.207 MB / 498.8 MB, free: 51.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004395/3.443, allocations: 228 kB / 499.1 MB, free: 51.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003771/3.447, allocations: 419.8 kB / 499.5 MB, free: 50.66 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.02709/3.474, allocations: 10.33 MB / 0.4978 GB, free: 40.34 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04159/3.516, allocations: 14.97 MB / 0.5125 GB, free: 24.01 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004714/3.517, allocations: 87.19 kB / 0.5125 GB, free: 23.92 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00363/3.52, allocations: 43.94 kB / 0.5126 GB, free: 23.88 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005224/3.526, allocations: 1.577 MB / 0.5141 GB, free: 22.31 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3094/3.835, allocations: 75.3 MB / 0.5877 GB, free: 44.76 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01316/3.848, allocations: 4.383 MB / 0.5919 GB, free: 44.1 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01116/3.859, allocations: 3.596 MB / 0.5955 GB, free: 44.06 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04326/3.903, allocations: 10.59 MB / 0.6058 GB, free: 40.7 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.094e-05/3.903, allocations: 64.59 kB / 0.6059 GB, free: 40.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=248): time 1.086e-05/3.903, allocations: 1.531 kB / 0.6059 GB, free: 40.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=273): time 0.1384/4.041, allocations: 23.33 MB / 0.6286 GB, free: 31.73 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.392e-05/4.041, allocations: 162 kB / 0.6288 GB, free: 31.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01288/4.054, allocations: 4.671 MB / 0.6334 GB, free: 29.8 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00101/4.055, allocations: 28.61 kB / 0.6334 GB, free: 29.77 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004329/4.06, allocations: 4.478 MB / 0.6378 GB, free: 26.33 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002375/4.062, allocations: 1.037 MB / 0.6388 GB, free: 25.57 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001471/4.064, allocations: 0 / 0.6388 GB, free: 25.57 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0009338/4.065, allocations: 0.6899 MB / 0.6394 GB, free: 25.11 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01074/4.075, allocations: 3.276 MB / 0.6426 GB, free: 23.95 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01462/4.09, allocations: 8.777 MB / 0.6512 GB, free: 15.33 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01354/4.104, allocations: 5.337 MB / 0.6564 GB, free: 11.21 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003328/4.104, allocations: 56 kB / 0.6565 GB, free: 11.15 MB / 346.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.04135/4.145, allocations: 12.51 MB / 0.6687 GB, free: 420 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/4.146, allocations: 7.562 kB / 0.6687 GB, free: 416 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1879/4.334, allocations: 6.111 MB / 0.6747 GB, free: 78.73 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01166/4.345, allocations: 1.896 MB / 0.6765 GB, free: 78.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01728/4.363, allocations: 2.154 MB / 0.6786 GB, free: 78.68 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02566/4.388, allocations: 13.02 MB / 0.6913 GB, free: 71.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01205/4.4, allocations: 326.2 kB / 0.6916 GB, free: 71.56 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002718/4.403, allocations: 0.5521 MB / 0.6922 GB, free: 71.56 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 902 * Number of states: 0 () * Number of discrete variables: 57 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.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],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1141): * Single equations (assignments): 1127 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(3,100.0%) 3,(3,100.0%) 3,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004015/4.407, allocations: 0.5887 MB / 0.6928 GB, free: 71.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001517/4.409, allocations: 0.4897 MB / 0.6932 GB, free: 71.45 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02705/4.436, allocations: 6.379 MB / 0.6995 GB, free: 70.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.023/4.459, allocations: 5.487 MB / 0.7048 GB, free: 70.53 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02322/4.482, allocations: 5.889 MB / 0.7106 GB, free: 70.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/4.482, allocations: 22.27 kB / 0.7106 GB, free: 70.07 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05603/4.538, allocations: 16.09 MB / 0.7263 GB, free: 65.99 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-05/4.539, allocations: 7.938 kB / 0.7263 GB, free: 65.99 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005659/4.544, allocations: 483 kB / 0.7268 GB, free: 65.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/4.555, allocations: 1.655 MB / 0.7284 GB, free: 65.67 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001115/4.556, allocations: 35.2 kB / 0.7284 GB, free: 65.67 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02254/4.579, allocations: 9.304 MB / 0.7375 GB, free: 60.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001158/4.58, allocations: 1.383 MB / 0.7389 GB, free: 59.15 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.03166/4.612, allocations: 10.97 MB / 0.7496 GB, free: 52.53 MB / 346.7 MB Notification: Performance of postOpt generateSymbolicLinearization (simulation): time 0.03597/4.648, allocations: 14.58 MB / 0.7638 GB, free: 39.12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002009/4.65, allocations: 0.5412 MB / 0.7643 GB, free: 38.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002217/4.652, allocations: 23.66 kB / 0.7644 GB, free: 38.57 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005834/4.658, allocations: 112.1 kB / 0.7645 GB, free: 38.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001069/4.659, allocations: 151 kB / 0.7646 GB, free: 38.41 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004181/4.659, allocations: 90.08 kB / 0.7647 GB, free: 38.33 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.008875/4.668, allocations: 3.15 MB / 0.7678 GB, free: 35.61 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.01325/4.682, allocations: 1.523 MB / 0.7693 GB, free: 34.11 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 44 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (230): * Single equations (assignments): 220 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 3,(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001938/4.684, allocations: 227.8 kB / 0.7695 GB, free: 33.95 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.02346/4.707, allocations: 8.553 MB / 0.7778 GB, free: 26.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.775e-05/4.707, allocations: 0 / 0.7778 GB, free: 26.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01031/4.717, allocations: 3.257 MB / 0.781 GB, free: 23.28 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006855/4.724, allocations: 0.6452 MB / 0.7816 GB, free: 22.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.211/4.935, allocations: 12.74 MB / 0.7941 GB, free: 77.66 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01591/4.951, allocations: 5.425 MB / 0.7994 GB, free: 76.8 MB / 346.7 MB Notification: Performance of SimCode: time 1.543e-06/4.951, allocations: 0 / 0.7994 GB, free: 76.8 MB / 346.7 MB