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_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.263/2.263, allocations: 209.3 MB / 224.4 MB, free: 0.5117 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.023e-05/3.017e-05, allocations: 4 kB / 276.2 MB, free: 15.86 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3752/0.3753, allocations: 48.7 MB / 324.9 MB, free: 2.883 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.UniversalSpherical): time 0.1637/0.5391, allocations: 100.7 MB / 425.6 MB, free: 10.61 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0728/0.6119, allocations: 22.13 MB / 447.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02778/0.6398, allocations: 0.5963 MB / 448.3 MB, free: 3.82 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02081/0.6606, allocations: 5.513 MB / 453.8 MB, free: 14.28 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05708/0.7178, allocations: 13.79 MB / 467.6 MB, free: 464 kB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0124/0.7302, allocations: 2.029 MB / 469.6 MB, free: 14.42 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4329/1.163, allocations: 26.39 MB / 496 MB, free: 15.53 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.04297/1.206, allocations: 20.82 MB / 0.5047 GB, free: 13.89 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006084/1.212, allocations: 2.199 MB / 0.5069 GB, free: 13.88 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008449/1.221, allocations: 3.573 MB / 0.5104 GB, free: 13.87 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006557/1.227, allocations: 1.473 MB / 0.5118 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00401/1.232, allocations: 333.4 kB / 0.5121 GB, free: 13.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00924/1.241, allocations: 4.898 MB / 0.5169 GB, free: 13.43 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005226/1.246, allocations: 0.8126 MB / 0.5177 GB, free: 13.3 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02904/1.275, allocations: 20.67 MB / 0.5379 GB, free: 11.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/1.275, allocations: 0 / 0.5379 GB, free: 11.4 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/1.275, allocations: 0 / 0.5379 GB, free: 11.4 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0009454/1.276, allocations: 4 kB / 0.5379 GB, free: 11.39 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.0542/1.33, allocations: 13.17 MB / 0.5508 GB, free: 15.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.331, allocations: 15.97 kB / 0.5508 GB, free: 15.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5584/1.889, allocations: 28.75 MB / 0.5788 GB, free: 3.582 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03233/1.921, allocations: 9.433 MB / 0.5881 GB, free: 13.11 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001215/1.923, allocations: 0.8904 MB / 0.5889 GB, free: 12.61 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.007968/1.931, allocations: 1.46 MB / 0.5904 GB, free: 11.62 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1031/2.034, allocations: 32.6 MB / 0.6222 GB, free: 3.422 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007119/2.035, allocations: 101.4 kB / 0.6223 GB, free: 3.371 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005325/2.04, allocations: 0.5349 MB / 0.6228 GB, free: 3.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01138/2.051, allocations: 4.496 MB / 0.6272 GB, free: 15.61 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09505/2.146, allocations: 27.62 MB / 0.6542 GB, free: 12.7 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.8315/2.978, allocations: 112.8 MB / 0.7643 GB, free: 132.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.08929/3.067, allocations: 13.25 MB / 0.7773 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.09627/3.164, allocations: 31.2 MB / 0.8077 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.93e-05/3.164, allocations: 85.42 kB / 0.8078 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=427): time 1.22e-05/3.164, allocations: 0 / 0.8078 GB, free: 91.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=555): time 1.252/4.416, allocations: 119.7 MB / 0.9247 GB, free: 190.9 MB / 0.5107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.05461/4.471, allocations: 24.24 MB / 0.9484 GB, free: 175.5 MB / 0.5107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02162/4.492, allocations: 8.878 MB / 0.9571 GB, free: 171 MB / 0.5107 GB Notification: Performance of collectPreVariables (initialization): time 0.002037/4.494, allocations: 111.7 kB / 0.9572 GB, free: 170.9 MB / 0.5107 GB Notification: Performance of collectInitialEqns (initialization): time 0.007817/4.502, allocations: 8.621 MB / 0.9656 GB, free: 163.4 MB / 0.5107 GB Notification: Performance of collectInitialBindings (initialization): time 0.004458/4.507, allocations: 2.138 MB / 0.9677 GB, free: 161.6 MB / 0.5107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003249/4.51, allocations: 319.2 kB / 0.968 GB, free: 161.3 MB / 0.5107 GB Notification: Performance of setup shared object (initialization): time 0.001454/4.512, allocations: 0.9914 MB / 0.9689 GB, free: 160.5 MB / 0.5107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.023/4.535, allocations: 9.559 MB / 0.9783 GB, free: 154.6 MB / 0.5107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02899/4.564, allocations: 18.76 MB / 0.9966 GB, free: 131.6 MB / 0.5107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02953/4.593, allocations: 13.01 MB / 1.009 GB, free: 118.6 MB / 0.5107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002985/4.594, allocations: 96 kB / 1.009 GB, free: 118.5 MB / 0.5107 GB Notification: Performance of matching and sorting (n=2084) (initialization): time 0.118/4.712, allocations: 35.57 MB / 1.044 GB, free: 82.81 MB / 0.5107 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002296/4.712, allocations: 144 kB / 1.044 GB, free: 82.67 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.08328/4.795, allocations: 22.7 MB / 1.066 GB, free: 59.81 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.05739/4.853, allocations: 9.907 MB / 1.076 GB, free: 49.85 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02533/4.878, allocations: 3.957 MB / 1.08 GB, free: 45.89 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4305/5.309, allocations: 49.92 MB / 1.129 GB, free: 157.5 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02713/5.336, allocations: 1.729 MB / 1.13 GB, free: 157.3 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004309/5.34, allocations: 0.9705 MB / 1.131 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.01812/5.358, allocations: 6.169 MB / 1.137 GB, free: 154.6 MB / 0.5107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003687/5.362, allocations: 0.8658 MB / 1.138 GB, free: 154.6 MB / 0.5107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.118/5.48, allocations: 28.06 MB / 1.166 GB, free: 142.5 MB / 0.5107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.1089/5.589, allocations: 26.22 MB / 1.191 GB, free: 116.4 MB / 0.5107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.902e-05/5.589, allocations: 20 kB / 1.191 GB, free: 116.4 MB / 0.5107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001897/5.589, allocations: 34.89 kB / 1.191 GB, free: 116.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.189/5.778, allocations: 59.52 MB / 1.249 GB, free: 56.57 MB / 0.5107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.188e-05/5.778, allocations: 0 / 1.249 GB, free: 56.57 MB / 0.5107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0109/5.789, allocations: 1.146 MB / 1.251 GB, free: 55.43 MB / 0.5107 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0863/5.876, allocations: 14.26 MB / 1.264 GB, free: 41.11 MB / 0.5107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001855/5.878, allocations: 167.8 kB / 1.265 GB, free: 40.95 MB / 0.5107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.464/6.342, allocations: 62.68 MB / 1.326 GB, free: 150.1 MB / 0.5107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0533/6.395, allocations: 23.98 MB / 1.349 GB, free: 135.1 MB / 0.5107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1404/6.535, allocations: 40.02 MB / 1.388 GB, free: 95.41 MB / 0.5107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.009307/6.545, allocations: 2.517 MB / 1.391 GB, free: 93.35 MB / 0.5107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004775/6.55, allocations: 124 kB / 1.391 GB, free: 93.23 MB / 0.5107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01535/6.565, allocations: 0.8659 MB / 1.392 GB, free: 92.37 MB / 0.5107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003416/6.568, allocations: 416.6 kB / 1.392 GB, free: 91.96 MB / 0.5107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001895/6.57, allocations: 179.8 kB / 1.392 GB, free: 91.79 MB / 0.5107 GB Notification: Performance of sorting global known variables: time 0.01568/6.586, allocations: 6.212 MB / 1.398 GB, free: 85.62 MB / 0.5107 GB Notification: Performance of sort global known variables: time 9.42e-07/6.586, allocations: 0 / 1.398 GB, free: 85.62 MB / 0.5107 GB Notification: Performance of remove unused functions: time 0.02433/6.61, allocations: 4.325 MB / 1.403 GB, free: 81.3 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.002532/6.613, allocations: 291.5 kB / 1.403 GB, free: 81.03 MB / 0.5107 GB Notification: Performance of simCode: created initialization part: time 0.05522/6.668, allocations: 23.8 MB / 1.426 GB, free: 57.18 MB / 0.5107 GB Notification: Performance of simCode: created event and clocks part: time 9.588e-06/6.668, allocations: 384 / 1.426 GB, free: 57.18 MB / 0.5107 GB Notification: Performance of simCode: created simulation system equations: time 0.03075/6.699, allocations: 11.37 MB / 1.437 GB, free: 45.68 MB / 0.5107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01191/6.711, allocations: 1.294 MB / 1.439 GB, free: 44.39 MB / 0.5107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.459/7.17, allocations: 41.65 MB / 1.479 GB, free: 156.3 MB / 0.5107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02562/7.196, allocations: 9.455 MB / 1.488 GB, free: 155.3 MB / 0.5107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007507/7.203, allocations: 0.8282 MB / 1.489 GB, free: 155.3 MB / 0.5107 GB Notification: Performance of SimCode: time 1.423e-06/7.203, allocations: 0 / 1.489 GB, free: 155.3 MB / 0.5107 GB Notification: Performance of Templates: time 2.983/10.19, allocations: 0.8667 GB / 2.356 GB, free: 26.22 MB / 0.5107 GB