Running command: translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyBox.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.body.w_a.3.|bodyBox.v_0.1.|bodyBox.v_0.2.|bodyBox.v_0.3.|bodyBox1.body.Q.1.|bodyBox1.body.Q.2.|bodyBox1.body.Q.3.|bodyBox1.body.Q.4.|bodyBox1.body.w_a.1.|bodyBox1.body.w_a.2.|bodyBox1.body.w_a.3.|bodyBox2.body.Q.1.|bodyBox2.body.Q.2.|bodyBox2.body.Q.3.|bodyBox2.body.Q.4.|bodyBox2.body.frame_a.r_0.1.|bodyBox2.body.frame_a.r_0.2.|bodyBox2.body.frame_a.r_0.3.|bodyBox2.body.w_a.1.|bodyBox2.body.w_a.2.|bodyBox2.body.w_a.3.|bodyBox2.v_0.1.|bodyBox2.v_0.2.|bodyBox2.v_0.3.|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universalSpherical.rRod_0.1.|universalSpherical.rRod_0.2.|universalSpherical.rRod_0.3.",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.432/2.432, allocations: 269 MB / 284.1 MB, free: 3.648 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.215e-05/3.229e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1344/0.1345, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.4993/0.6338, allocations: 103.5 MB / 0.5024 GB, free: 15.92 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.07146/0.7053, allocations: 22.64 MB / 0.5245 GB, free: 9.203 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02744/0.7328, allocations: 0.6157 MB / 0.5251 GB, free: 8.586 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02345/0.7563, allocations: 5.591 MB / 0.5305 GB, free: 2.969 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06579/0.8222, allocations: 14.19 MB / 0.5444 GB, free: 4.746 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01228/0.8345, allocations: 2.025 MB / 0.5464 GB, free: 2.719 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.5841/1.419, allocations: 71.25 MB / 0.616 GB, free: 68.49 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.04494/1.464, allocations: 20.7 MB / 0.6362 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005579/1.469, allocations: 2.07 MB / 0.6382 GB, free: 66.87 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007458/1.477, allocations: 3.3 MB / 0.6414 GB, free: 66.86 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005825/1.483, allocations: 1.406 MB / 0.6428 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.003353/1.486, allocations: 307.2 kB / 0.6431 GB, free: 66.85 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.007588/1.494, allocations: 4.673 MB / 0.6476 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.005677/1.499, allocations: 0.7775 MB / 0.6484 GB, free: 66.84 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.02563/1.525, allocations: 19.7 MB / 0.6676 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/1.525, allocations: 0 / 0.6676 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.066e-06/1.525, allocations: 0 / 0.6676 GB, free: 53.76 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.001039/1.526, allocations: 0 / 0.6676 GB, free: 53.76 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: 4458 * Number of variables: 4458 Notification: Performance of Generate backend data structure: time 0.0456/1.572, allocations: 12.62 MB / 0.68 GB, free: 42.22 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.572, allocations: 8.031 kB / 0.68 GB, free: 42.21 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.519/2.091, allocations: 28.72 MB / 0.708 GB, free: 14.5 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02794/2.119, allocations: 8.776 MB / 0.7166 GB, free: 8.453 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009147/2.12, allocations: 0.8629 MB / 0.7174 GB, free: 7.973 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007177/2.127, allocations: 1.414 MB / 0.7188 GB, free: 7.016 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09474/2.222, allocations: 31.02 MB / 0.7491 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006767/2.223, allocations: 104.6 kB / 0.7492 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005112/2.228, allocations: 0.515 MB / 0.7497 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01193/2.24, allocations: 4.282 MB / 0.7539 GB, free: 12.27 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0897/2.33, allocations: 26.16 MB / 0.7794 GB, free: 10.32 MB / 0.5573 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.9352/3.265, allocations: 108.5 MB / 0.8854 GB, free: 174.1 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06171/3.327, allocations: 12.67 MB / 0.8977 GB, free: 173.4 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06633/3.393, allocations: 30.31 MB / 0.9273 GB, free: 158.7 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.742e-05/3.393, allocations: 76.22 kB / 0.9274 GB, free: 158.6 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=382): time 9.197e-06/3.393, allocations: 3.781 kB / 0.9274 GB, free: 158.6 MB / 0.6043 GB Notification: Performance of matching and sorting (n=516): time 0.6806/4.074, allocations: 126.5 MB / 1.051 GB, free: 41.05 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.06166/4.135, allocations: 24.22 MB / 1.075 GB, free: 16.11 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02122/4.157, allocations: 8.57 MB / 1.083 GB, free: 7.578 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.001749/4.158, allocations: 104.1 kB / 1.083 GB, free: 7.473 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.3754/4.534, allocations: 8.246 MB / 1.091 GB, free: 220.9 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.004659/4.539, allocations: 2.006 MB / 1.093 GB, free: 220.7 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003199/4.542, allocations: 299.5 kB / 1.093 GB, free: 220.7 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 0.00167/4.544, allocations: 0.9573 MB / 1.094 GB, free: 220.4 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02554/4.569, allocations: 9.396 MB / 1.103 GB, free: 219.5 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0315/4.601, allocations: 18.2 MB / 1.121 GB, free: 204.1 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02847/4.629, allocations: 12.71 MB / 1.134 GB, free: 198.9 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005616/4.63, allocations: 87.97 kB / 1.134 GB, free: 198.9 MB / 0.6043 GB Notification: Performance of matching and sorting (n=1983) (initialization): time 0.15/4.78, allocations: 37.43 MB / 1.17 GB, free: 182.9 MB / 0.6043 GB Notification: Performance of prepare postOptimizeDAE: time 0.000233/4.78, allocations: 143.8 kB / 1.17 GB, free: 182.8 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.1136/4.894, allocations: 25.09 MB / 1.195 GB, free: 157.8 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.09781/4.992, allocations: 12.84 MB / 1.207 GB, free: 145 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02446/5.016, allocations: 3.751 MB / 1.211 GB, free: 141.2 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1082/5.124, allocations: 56.38 MB / 1.266 GB, free: 83.4 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02608/5.15, allocations: 1.699 MB / 1.268 GB, free: 81.7 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003974/5.154, allocations: 0.9275 MB / 1.269 GB, free: 80.77 MB / 0.6043 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1411 * Number of states: 0 () * Number of discrete variables: 82 (init2.arrow.arrow.arrowLine.twoHeadedArrow,init2.arrow.headAtOrigin,init.arrow.arrow.arrowLine.twoHeadedArrow,init.arrow.headAtOrigin,rs3.arrow.arrowLine.twoHeadedArrow,rs3.arrow.headAtOrigin,rs2.arrow.arrowLine.twoHeadedArrow,rs2.arrow.headAtOrigin,rs1.arrow.arrowLine.twoHeadedArrow,rs1.arrow.headAtOrigin,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.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 (1848): * Single equations (assignments): 1821 * 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,4,4,4} * 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.01729/5.172, allocations: 5.917 MB / 1.274 GB, free: 74.83 MB / 0.6043 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003438/5.175, allocations: 0.8214 MB / 1.275 GB, free: 74 MB / 0.6043 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1125/5.288, allocations: 27.57 MB / 1.302 GB, free: 46.37 MB / 0.6043 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.4999/5.788, allocations: 25.82 MB / 1.327 GB, free: 192.9 MB / 0.6043 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001085/5.788, allocations: 22.34 kB / 1.327 GB, free: 192.9 MB / 0.6043 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001457/5.788, allocations: 23.78 kB / 1.327 GB, free: 192.9 MB / 0.6043 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.1897/5.978, allocations: 58.09 MB / 1.384 GB, free: 170.7 MB / 0.6043 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-05/5.978, allocations: 0 / 1.384 GB, free: 170.7 MB / 0.6043 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01031/5.988, allocations: 1.059 MB / 1.385 GB, free: 170.3 MB / 0.6043 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.1117/6.1, allocations: 14.27 MB / 1.399 GB, free: 162.5 MB / 0.6043 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001869/6.102, allocations: 162.2 kB / 1.399 GB, free: 162.4 MB / 0.6043 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1269/6.229, allocations: 62.65 MB / 1.461 GB, free: 100.7 MB / 0.6043 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05339/6.282, allocations: 23.94 MB / 1.484 GB, free: 76.28 MB / 0.6043 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1303/6.413, allocations: 39.28 MB / 1.522 GB, free: 37.23 MB / 0.6043 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003225/6.416, allocations: 0.9196 MB / 1.523 GB, free: 36.74 MB / 0.6043 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004645/6.421, allocations: 116.6 kB / 1.523 GB, free: 36.63 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.015/6.436, allocations: 0.8462 MB / 1.524 GB, free: 35.78 MB / 0.6043 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003133/6.439, allocations: 397.2 kB / 1.524 GB, free: 35.39 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001679/6.441, allocations: 163.8 kB / 1.525 GB, free: 35.23 MB / 0.6043 GB Notification: Performance of sorting global known variables: time 0.01461/6.455, allocations: 5.981 MB / 1.53 GB, free: 29.29 MB / 0.6043 GB Notification: Performance of sort global known variables: time 1.052e-06/6.455, allocations: 0 / 1.53 GB, free: 29.29 MB / 0.6043 GB Notification: Performance of remove unused functions: time 0.4524/6.908, allocations: 4.255 MB / 1.535 GB, free: 187.7 MB / 0.6043 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (392): * Single equations (assignments): 377 * 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.002695/6.91, allocations: 287.7 kB / 1.535 GB, free: 187.6 MB / 0.6043 GB Notification: Performance of simCode: created initialization part: time 0.06143/6.972, allocations: 23.34 MB / 1.558 GB, free: 185.1 MB / 0.6043 GB Notification: Performance of simCode: created event and clocks part: time 1.287e-05/6.972, allocations: 6.938 kB / 1.558 GB, free: 185.1 MB / 0.6043 GB Notification: Performance of simCode: created simulation system equations: time 0.03098/7.003, allocations: 11.14 MB / 1.569 GB, free: 180.1 MB / 0.6043 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01173/7.015, allocations: 1.313 MB / 1.57 GB, free: 179.6 MB / 0.6043 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09113/7.106, allocations: 40.11 MB / 1.609 GB, free: 159.2 MB / 0.6043 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02181/7.128, allocations: 9.075 MB / 1.618 GB, free: 154.7 MB / 0.6043 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007264/7.135, allocations: 0.7687 MB / 1.619 GB, free: 154 MB / 0.6043 GB Notification: Performance of SimCode: time 2.254e-06/7.135, allocations: 3.938 kB / 1.619 GB, free: 154 MB / 0.6043 GB Notification: Performance of Templates: time 3.161/10.3, allocations: 0.8315 GB / 2.45 GB, free: 211.3 MB / 0.6355 GB