Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Joints.SphericalSpherical2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Joints_SphericalSpherical2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.423/2.423, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.773e-05, allocations: 7.938 kB / 347.1 MB, free: 3.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4009/0.401, allocations: 61.86 MB / 408.9 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2134/0.6144, allocations: 118.6 MB / 0.5152 GB, free: 3.938 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002985/0.6148, allocations: 75.95 kB / 0.5153 GB, free: 3.863 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.511/2.126, allocations: 221.4 MB / 0.7315 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.824e-06/2.126, allocations: 0 / 0.7315 GB, free: 48.84 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0007472/2.127, allocations: 269.4 kB / 0.7317 GB, free: 48.82 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4369 * Number of variables: 4369 Notification: Performance of Generate backend data structure: time 0.08209/2.209, allocations: 13.34 MB / 0.7448 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/2.209, allocations: 9.188 kB / 0.7448 GB, free: 44.65 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.01211/2.221, allocations: 2.684 MB / 0.7474 GB, free: 44.47 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07957/2.301, allocations: 10.81 MB / 0.758 GB, free: 43.65 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05199/2.353, allocations: 14.65 MB / 0.7723 GB, free: 42.36 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001259/2.354, allocations: 1.046 MB / 0.7733 GB, free: 42.32 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006562/2.361, allocations: 1.39 MB / 0.7746 GB, free: 42.31 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09825/2.459, allocations: 30.46 MB / 0.8044 GB, free: 36.03 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001049/2.46, allocations: 151.9 kB / 0.8045 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006243/2.466, allocations: 0.6337 MB / 0.8052 GB, free: 36.02 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004632/2.471, allocations: 2.142 MB / 0.8072 GB, free: 35.99 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0806/2.552, allocations: 23.76 MB / 0.8304 GB, free: 31.87 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6996/3.251, allocations: 126.2 MB / 0.9537 GB, free: 35.2 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08095/3.332, allocations: 11.84 MB / 0.9653 GB, free: 34.52 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01052/3.343, allocations: 5.537 MB / 0.9707 GB, free: 34.47 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005984/3.349, allocations: 4.828 MB / 0.9754 GB, free: 30.48 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/3.349, allocations: 80.67 kB / 0.9755 GB, free: 30.43 MB / 0.573 GB Notification: Performance of pre-optimization done (n=390): time 8.105e-06/3.349, allocations: 0 / 0.9755 GB, free: 30.43 MB / 0.573 GB Notification: Performance of matching and sorting (n=522): time 0.5782/3.927, allocations: 103.9 MB / 1.077 GB, free: 11.47 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06494/3.992, allocations: 24.74 MB / 1.101 GB, free: 5.988 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02309/4.015, allocations: 8.025 MB / 1.109 GB, free: 15.12 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001631/4.017, allocations: 100.5 kB / 1.109 GB, free: 15.02 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.009223/4.026, allocations: 8.206 MB / 1.117 GB, free: 8.102 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.004453/4.031, allocations: 2.026 MB / 1.119 GB, free: 6.203 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003096/4.034, allocations: 305.7 kB / 1.119 GB, free: 5.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.002186/4.036, allocations: 0.9557 MB / 1.12 GB, free: 4.945 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02357/4.06, allocations: 8.901 MB / 1.129 GB, free: 12.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03288/4.093, allocations: 17.63 MB / 1.146 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.03082/4.124, allocations: 12.28 MB / 1.158 GB, free: 10.31 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003611/4.124, allocations: 88 kB / 1.158 GB, free: 10.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1992) (initialization): time 0.572/4.696, allocations: 34.15 MB / 1.192 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002221/4.696, allocations: 139.3 kB / 1.192 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08855/4.785, allocations: 22.78 MB / 1.214 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06685/4.852, allocations: 10.9 MB / 1.225 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02441/4.876, allocations: 3.644 MB / 1.228 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0962/4.972, allocations: 51.22 MB / 1.278 GB, free: 138.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02784/5, allocations: 1.761 MB / 1.28 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004219/5.005, allocations: 0.9277 MB / 1.281 GB, free: 138.4 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1413 * Number of states: 0 () * Number of discrete variables: 88 (freeMotionScalarInit1.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit1.arrow.headAtOrigin,freeMotionScalarInit1.arrowColor[3],freeMotionScalarInit1.arrowColor[2],freeMotionScalarInit1.arrowColor[1],freeMotionScalarInit.arrow.arrow.arrowLine.twoHeadedArrow,freeMotionScalarInit.arrow.headAtOrigin,freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],rs3.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs3.arrowColor[3],rs3.arrowColor[2],rs3.arrowColor[1],rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,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.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1816): * Single equations (assignments): 1787 * 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%) 32,(1,100.0%) 3,(4,93.8%) 20,(7,63.3%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006574/5.011, allocations: 1.251 MB / 1.282 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003088/5.014, allocations: 0.8444 MB / 1.283 GB, free: 137.6 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005875/5.02, allocations: 1.535 MB / 1.284 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1159/5.136, allocations: 26.58 MB / 1.31 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001043/5.136, allocations: 29.97 kB / 1.31 GB, free: 129.6 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001425/5.136, allocations: 22.17 kB / 1.31 GB, free: 129.6 MB / 0.6511 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2402/5.377, allocations: 61.45 MB / 1.37 GB, free: 77.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.254e-05/5.377, allocations: 7.984 kB / 1.37 GB, free: 77.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008808/5.386, allocations: 0.9175 MB / 1.371 GB, free: 77.07 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.09638/5.482, allocations: 15.67 MB / 1.387 GB, free: 61.47 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001785/5.484, allocations: 169.5 kB / 1.387 GB, free: 61.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.6233/6.107, allocations: 64.65 MB / 1.45 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05268/6.16, allocations: 24.53 MB / 1.474 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1383/6.298, allocations: 40.02 MB / 1.513 GB, free: 125.7 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003474/6.302, allocations: 0.9069 MB / 1.514 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00416/6.306, allocations: 127.7 kB / 1.514 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01586/6.322, allocations: 0.8783 MB / 1.515 GB, free: 125.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00336/6.325, allocations: 421.8 kB / 1.515 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001638/6.327, allocations: 170.9 kB / 1.515 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.01488/6.342, allocations: 5.528 MB / 1.521 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.61e-07/6.342, allocations: 0 / 1.521 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0252/6.367, allocations: 4.282 MB / 1.525 GB, free: 123.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 32 ($STATESET6.x[2],$STATESET6.x[1],$STATESET5.x[5],$STATESET5.x[4],$STATESET5.x[3],$STATESET5.x[2],$STATESET5.x[1],$STATESET4.x[6],$STATESET4.x[5],$STATESET4.x[4],$STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[5],$STATESET1.x[4],$STATESET1.x[3],$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 (360): * Single equations (assignments): 345 * 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,8,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(4,93.8%) 17,(3,100.0%) 3,(8,82.8%) 29,(7,93.9%) 12,(7,63.3%) 20} * Non-linear torn systems: 1 {7 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.1407/6.508, allocations: 41.37 MB / 1.565 GB, free: 100.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.05185/6.56, allocations: 22.32 MB / 1.587 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.404e-05/6.56, allocations: 5.859 kB / 1.587 GB, free: 80.68 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.03192/6.592, allocations: 11.17 MB / 1.598 GB, free: 70.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01235/6.604, allocations: 1.342 MB / 1.599 GB, free: 69.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5848/7.189, allocations: 36.29 MB / 1.635 GB, free: 155 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02456/7.214, allocations: 9.034 MB / 1.644 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01683/7.231, allocations: 6.179 MB / 1.65 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of SimCode: time 2.074e-06/7.231, allocations: 2.969 kB / 1.65 GB, free: 153.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 11.19/18.42, allocations: 0.8865 GB / 2.536 GB, free: 120.9 MB / 0.6511 GB