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_3.2.1_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.082/2.082, allocations: 209.3 MB / 223.8 MB, free: 440 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.288e-05/3.284e-05, allocations: 4 kB / 276.2 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3906, allocations: 48.69 MB / 324.9 MB, free: 3.359 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.1684/0.5591, allocations: 100.7 MB / 425.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07158/0.6307, allocations: 22.13 MB / 447.7 MB, free: 4.301 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0283/0.6591, allocations: 0.5963 MB / 448.3 MB, free: 3.703 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01998/0.6791, allocations: 5.51 MB / 453.9 MB, free: 14.17 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05757/0.7367, allocations: 13.79 MB / 467.6 MB, free: 348 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01209/0.7489, allocations: 2.032 MB / 469.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4297/1.179, allocations: 26.38 MB / 496.1 MB, free: 15.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04211/1.221, allocations: 20.81 MB / 0.5048 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005705/1.227, allocations: 2.193 MB / 0.5069 GB, free: 13.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008754/1.235, allocations: 3.583 MB / 0.5104 GB, free: 13.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006839/1.242, allocations: 1.464 MB / 0.5118 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003984/1.246, allocations: 330.2 kB / 0.5121 GB, free: 13.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008704/1.255, allocations: 4.9 MB / 0.5169 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00573/1.261, allocations: 0.8133 MB / 0.5177 GB, free: 13.14 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02918/1.29, allocations: 20.67 MB / 0.5379 GB, free: 11.23 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/1.29, allocations: 0 / 0.5379 GB, free: 11.23 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.276e-06/1.29, allocations: 8 kB / 0.5379 GB, free: 11.22 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009011/1.291, allocations: 0 / 0.5379 GB, free: 11.22 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4696 * Number of variables: 4696 Notification: Performance of Generate backend data structure: time 0.0558/1.347, allocations: 13.17 MB / 0.5508 GB, free: 15.17 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/1.347, allocations: 8.031 kB / 0.5508 GB, free: 15.16 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5519/1.899, allocations: 28.75 MB / 0.5789 GB, free: 3.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03463/1.934, allocations: 9.435 MB / 0.5881 GB, free: 12.93 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001207/1.935, allocations: 0.8928 MB / 0.5889 GB, free: 12.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.008026/1.943, allocations: 1.453 MB / 0.5904 GB, free: 11.45 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1199/2.063, allocations: 32.61 MB / 0.6222 GB, free: 3.254 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008941/2.064, allocations: 107.3 kB / 0.6223 GB, free: 3.195 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006339/2.07, allocations: 0.5322 MB / 0.6228 GB, free: 3.055 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01481/2.085, allocations: 4.499 MB / 0.6272 GB, free: 15.43 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09627/2.181, allocations: 27.62 MB / 0.6542 GB, free: 12.52 MB / 0.5105 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.8095/2.991, allocations: 112.8 MB / 0.7643 GB, free: 132.3 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.06272/3.054, allocations: 13.26 MB / 0.7773 GB, free: 123.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07192/3.126, allocations: 31.19 MB / 0.8078 GB, free: 91.09 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.797e-05/3.126, allocations: 81.44 kB / 0.8078 GB, free: 91 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=427): time 9.858e-06/3.126, allocations: 0 / 0.8078 GB, free: 91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=555): time 1.275/4.401, allocations: 119.7 MB / 0.9247 GB, free: 191 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0557/4.457, allocations: 24.24 MB / 0.9484 GB, free: 175.5 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02129/4.478, allocations: 8.874 MB / 0.9571 GB, free: 171 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.001862/4.48, allocations: 116.4 kB / 0.9572 GB, free: 170.9 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.007543/4.487, allocations: 8.894 MB / 0.9659 GB, free: 163.2 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.005369/4.493, allocations: 2.138 MB / 0.968 GB, free: 161.4 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003791/4.497, allocations: 321.9 kB / 0.9683 GB, free: 161.1 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.002122/4.499, allocations: 0.9821 MB / 0.9692 GB, free: 160.3 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02212/4.521, allocations: 9.566 MB / 0.9786 GB, free: 154 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0297/4.551, allocations: 18.75 MB / 0.9969 GB, free: 131 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02832/4.579, allocations: 13.02 MB / 1.01 GB, free: 118 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002917/4.58, allocations: 92 kB / 1.01 GB, free: 117.9 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.1212/4.701, allocations: 35.84 MB / 1.045 GB, free: 81.93 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003369/4.701, allocations: 144 kB / 1.045 GB, free: 81.79 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08572/4.787, allocations: 22.7 MB / 1.067 GB, free: 58.93 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05723/4.844, allocations: 9.926 MB / 1.077 GB, free: 48.96 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02493/4.869, allocations: 3.946 MB / 1.081 GB, free: 45 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4818/5.351, allocations: 49.92 MB / 1.129 GB, free: 157.5 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02733/5.378, allocations: 1.714 MB / 1.131 GB, free: 157.3 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004128/5.383, allocations: 0.9756 MB / 1.132 GB, free: 157.1 MB / 0.5107 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1473 * Number of states: 0 () * Number of discrete variables: 69 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1949): * Single equations (assignments): 1922 * Array equations: 13 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 5 * Torn equation systems: 9 * 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: 2 {1,1} * 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: 3 {3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.01743/5.4, allocations: 6.174 MB / 1.138 GB, free: 154.6 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003991/5.404, allocations: 0.8674 MB / 1.139 GB, free: 154.6 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1193/5.524, allocations: 28.07 MB / 1.166 GB, free: 141.4 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.111/5.635, allocations: 26.22 MB / 1.192 GB, free: 115.3 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.07e-05/5.635, allocations: 23.95 kB / 1.192 GB, free: 115.3 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001569/5.635, allocations: 23.91 kB / 1.192 GB, free: 115.3 MB / 0.5107 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.1954/5.83, allocations: 59.52 MB / 1.25 GB, free: 55.54 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001355/5.83, allocations: 3.984 kB / 1.25 GB, free: 55.54 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0112/5.842, allocations: 1.143 MB / 1.251 GB, free: 54.39 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.08703/5.929, allocations: 14.27 MB / 1.265 GB, free: 40.08 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002091/5.931, allocations: 167.8 kB / 1.265 GB, free: 39.92 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4853/6.416, allocations: 62.69 MB / 1.326 GB, free: 149.9 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.05488/6.471, allocations: 23.99 MB / 1.35 GB, free: 133.3 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1346/6.606, allocations: 40 MB / 1.389 GB, free: 93.68 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009713/6.616, allocations: 2.525 MB / 1.391 GB, free: 91.61 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004974/6.621, allocations: 126.8 kB / 1.391 GB, free: 91.49 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01621/6.637, allocations: 0.8656 MB / 1.392 GB, free: 90.62 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003621/6.641, allocations: 412.6 kB / 1.393 GB, free: 90.22 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001745/6.642, allocations: 179.8 kB / 1.393 GB, free: 90.05 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.01527/6.658, allocations: 6.205 MB / 1.399 GB, free: 83.89 MB / 0.5107 GB Notification: Performance of sort global known variables: time 9.12e-07/6.658, allocations: 3.719 kB / 1.399 GB, free: 83.89 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.02592/6.684, allocations: 4.337 MB / 1.403 GB, free: 79.56 MB / 0.5107 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 (436): * Single equations (assignments): 421 * 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.002559/6.686, allocations: 283.5 kB / 1.403 GB, free: 79.29 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.0562/6.742, allocations: 23.77 MB / 1.427 GB, free: 55.48 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 1.055e-05/6.743, allocations: 0 / 1.427 GB, free: 55.48 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.03681/6.779, allocations: 11.38 MB / 1.438 GB, free: 43.96 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01241/6.792, allocations: 1.285 MB / 1.439 GB, free: 42.69 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.443/7.235, allocations: 40.05 MB / 1.478 GB, free: 157.2 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02835/7.263, allocations: 9.456 MB / 1.487 GB, free: 156.1 MB / 0.5107 GB Notification: Performance of simCode: alias equations: time 0.02502/7.288, allocations: 5.087 MB / 1.492 GB, free: 155.9 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007352/7.296, allocations: 0.7135 MB / 1.493 GB, free: 155.9 MB / 0.5107 GB Notification: Performance of SimCode: time 2.424e-06/7.296, allocations: 0 / 1.493 GB, free: 155.9 MB / 0.5107 GB Notification: Performance of Templates: time 0.8337/8.13, allocations: 170.5 MB / 1.66 GB, free: 156.1 MB / 0.5107 GB