Running command: translateModel(ModelicaTest.MultiBody.Joints.UniversalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.UniversalSpherical") Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 270 MB / 282.6 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.644e-05/3.664e-05, allocations: 8 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3247/0.3248, allocations: 61.88 MB / 408.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5319/0.8567, allocations: 122.9 MB / 0.5193 GB, free: 48.14 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.857, allocations: 76.81 kB / 0.5194 GB, free: 48.14 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.066/1.923, allocations: 221.8 MB / 0.736 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.217e-06/1.923, allocations: 0 / 0.736 GB, free: 57.73 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0006616/1.924, allocations: 273.9 kB / 0.7362 GB, free: 57.72 MB / 0.5261 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.05805/1.982, allocations: 14.04 MB / 0.75 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.982, allocations: 10.81 kB / 0.75 GB, free: 53.54 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05339/2.036, allocations: 10.39 MB / 0.7601 GB, free: 52.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03938/2.075, allocations: 13.28 MB / 0.7731 GB, free: 51.44 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001027/2.076, allocations: 1.038 MB / 0.7741 GB, free: 51.41 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005312/2.081, allocations: 1.382 MB / 0.7754 GB, free: 51.39 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08054/2.162, allocations: 31.13 MB / 0.8058 GB, free: 45.55 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007687/2.163, allocations: 135.1 kB / 0.806 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004927/2.168, allocations: 0.631 MB / 0.8066 GB, free: 45.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003912/2.172, allocations: 2.356 MB / 0.8089 GB, free: 45.51 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06496/2.237, allocations: 25.11 MB / 0.8334 GB, free: 43.5 MB / 0.5261 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.5779/2.815, allocations: 126.9 MB / 0.9574 GB, free: 48.14 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04345/2.858, allocations: 12.35 MB / 0.9694 GB, free: 47.47 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.009901/2.868, allocations: 6.572 MB / 0.9758 GB, free: 47.41 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05113/2.919, allocations: 30.06 MB / 1.005 GB, free: 40.19 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.104e-05/2.919, allocations: 80.31 kB / 1.005 GB, free: 40.14 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=379): time 1.01e-05/2.919, allocations: 3.281 kB / 1.005 GB, free: 40.14 MB / 0.5886 GB Notification: Performance of matching and sorting (n=508): time 0.3607/3.28, allocations: 102.1 MB / 1.105 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.04893/3.329, allocations: 23.35 MB / 1.128 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01863/3.348, allocations: 7.955 MB / 1.136 GB, free: 1.625 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001242/3.349, allocations: 97.7 kB / 1.136 GB, free: 1.523 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.008907/3.358, allocations: 8.301 MB / 1.144 GB, free: 9.457 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.003668/3.362, allocations: 1.971 MB / 1.146 GB, free: 7.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002006/3.364, allocations: 303 kB / 1.146 GB, free: 7.207 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.001407/3.365, allocations: 0.9595 MB / 1.147 GB, free: 6.238 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01985/3.385, allocations: 8.933 MB / 1.156 GB, free: 13.3 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02863/3.414, allocations: 17.7 MB / 1.173 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3894/3.803, allocations: 12.35 MB / 1.185 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002418/3.803, allocations: 91.94 kB / 1.185 GB, free: 154.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=1985) (initialization): time 0.08689/3.89, allocations: 32.8 MB / 1.217 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/3.891, allocations: 137.4 kB / 1.217 GB, free: 153.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05774/3.948, allocations: 21.41 MB / 1.238 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03953/3.988, allocations: 9.295 MB / 1.247 GB, free: 153.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01643/4.004, allocations: 3.72 MB / 1.251 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06566/4.07, allocations: 47.04 MB / 1.297 GB, free: 131.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02072/4.091, allocations: 1.652 MB / 1.298 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003454/4.094, allocations: 0.9402 MB / 1.299 GB, free: 131 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1423 * Number of states: 0 () * Number of discrete variables: 82 (init2.arrow.arrow.arrowLine.twoHeadedArrow,init2.arrow.headAtOrigin,init2.arrowColor[3],init2.arrowColor[2],init2.arrowColor[1],init.arrow.arrow.arrowLine.twoHeadedArrow,init.arrow.headAtOrigin,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.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],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],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 (1850): * Single equations (assignments): 1823 * 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.005713/4.1, allocations: 1.251 MB / 1.301 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002575/4.103, allocations: 0.8255 MB / 1.301 GB, free: 130.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07951/4.182, allocations: 26.85 MB / 1.328 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.06929/4.252, allocations: 25.13 MB / 1.352 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.347e-05/4.252, allocations: 23.09 kB / 1.352 GB, free: 106 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001087/4.252, allocations: 24.23 kB / 1.352 GB, free: 106 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.1305/4.382, allocations: 56.75 MB / 1.408 GB, free: 52.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.145e-05/4.382, allocations: 224 / 1.408 GB, free: 52.58 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006073/4.389, allocations: 0.9866 MB / 1.409 GB, free: 51.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.5114/4.9, allocations: 14 MB / 1.422 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001396/4.901, allocations: 154.4 kB / 1.422 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.09234/4.994, allocations: 59.19 MB / 1.48 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.03902/5.033, allocations: 22.83 MB / 1.502 GB, free: 127.1 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.09213/5.125, allocations: 38.26 MB / 1.54 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002674/5.128, allocations: 0.8859 MB / 1.541 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002835/5.131, allocations: 113.5 kB / 1.541 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009335/5.14, allocations: 0.8394 MB / 1.542 GB, free: 114 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00237/5.142, allocations: 387.5 kB / 1.542 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008825/5.143, allocations: 163.4 kB / 1.542 GB, free: 113.9 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.01293/5.156, allocations: 5.466 MB / 1.547 GB, free: 112 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.626e-06/5.156, allocations: 1.781 kB / 1.547 GB, free: 112 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.02109/5.177, allocations: 4.144 MB / 1.552 GB, free: 111.7 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (384): * Single equations (assignments): 369 * 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.001803/5.179, allocations: 276.9 kB / 1.552 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.04001/5.219, allocations: 21.95 MB / 1.573 GB, free: 102 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.119e-06/5.219, allocations: 3.094 kB / 1.573 GB, free: 102 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.02036/5.24, allocations: 10.69 MB / 1.584 GB, free: 92.55 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008033/5.248, allocations: 1.286 MB / 1.585 GB, free: 91.53 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06926/5.317, allocations: 31.32 MB / 1.616 GB, free: 64.35 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02106/5.338, allocations: 9.066 MB / 1.624 GB, free: 57.79 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005103/5.343, allocations: 0.7501 MB / 1.625 GB, free: 57.14 MB / 0.6511 GB Notification: Performance of SimCode: time 1.917e-06/5.343, allocations: 3.062 kB / 1.625 GB, free: 57.14 MB / 0.6511 GB Notification: Performance of Templates: time 2.592/7.935, allocations: 0.8238 GB / 2.449 GB, free: 105.3 MB / 0.6511 GB