Running command: translateModel(ModelicaTest.MultiBody.SphericalDoublePendulum,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Spherical1.phi.1.|Spherical1.phi.2.|Spherical1.phi.3.|Spherical1.phi_d.1.|Spherical1.phi_d.2.|Spherical1.phi_d.3.|Spherical2.phi.1.|Spherical2.phi.2.|Spherical2.phi.3.|Spherical2.phi_d.1.|Spherical2.phi_d.2.|Spherical2.phi_d.3.|Spherical3.Q.1.|Spherical3.Q.2.|Spherical3.Q.3.|Spherical3.Q.4.|Spherical3.w_rel.1.|Spherical3.w_rel.2.|Spherical3.w_rel.3.|Spherical4.Q.1.|Spherical4.Q.2.|Spherical4.Q.3.|Spherical4.Q.4.|Spherical4.w_rel.1.|Spherical4.w_rel.2.|Spherical4.w_rel.3.|boxBody5.body.Q.1.|boxBody5.body.Q.2.|boxBody5.body.Q.3.|boxBody5.body.Q.4.|boxBody5.body.w_a.1.|boxBody5.body.w_a.2.|boxBody5.body.w_a.3.|boxBody6.body.Q.1.|boxBody6.body.Q.2.|boxBody6.body.Q.3.|boxBody6.body.Q.4.|boxBody6.body.w_a.1.|boxBody6.body.w_a.2.|boxBody6.body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadModel(ModelicaTest): time 2.348/2.348, allocations: 249.5 MB / 261.6 MB, free: 2.156 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.186e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3224/0.3224, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.4778, allocations: 101.6 MB / 483.8 MB, free: 6.852 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001982/0.4781, allocations: 71.97 kB / 483.9 MB, free: 6.781 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.8666/1.345, allocations: 173.1 MB / 0.6416 GB, free: 32.5 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.315e-06/1.345, allocations: 3.938 kB / 0.6416 GB, free: 32.49 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0006522/1.345, allocations: 176 kB / 0.6418 GB, free: 32.32 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2557 * Number of variables: 2557 Notification: Performance of Generate backend data structure: time 0.04513/1.391, allocations: 10.03 MB / 0.6516 GB, free: 22.2 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/1.391, allocations: 12.03 kB / 0.6516 GB, free: 22.19 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1039/1.495, allocations: 21.92 MB / 0.673 GB, free: 232 kB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05926/1.554, allocations: 19.89 MB / 0.6924 GB, free: 12.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008558/1.555, allocations: 0.5537 MB / 0.693 GB, free: 11.68 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003535/1.558, allocations: 0.7806 MB / 0.6938 GB, free: 10.9 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05361/1.612, allocations: 19.07 MB / 0.7124 GB, free: 6.051 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006842/1.613, allocations: 134.8 kB / 0.7125 GB, free: 5.918 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002838/1.616, allocations: 371.8 kB / 0.7129 GB, free: 5.555 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003656/1.619, allocations: 1.648 MB / 0.7145 GB, free: 3.906 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.6871/2.306, allocations: 15.59 MB / 0.7297 GB, free: 89.55 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1347/2.441, allocations: 90.18 MB / 0.8178 GB, free: 34.27 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03383/2.475, allocations: 8.713 MB / 0.8263 GB, free: 31.84 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.008012/2.483, allocations: 4.803 MB / 0.831 GB, free: 29.63 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001451/2.485, allocations: 0.9987 MB / 0.8319 GB, free: 28.75 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.481e-05/2.485, allocations: 76.25 kB / 0.832 GB, free: 28.68 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=322): time 8.591e-06/2.485, allocations: 0 / 0.832 GB, free: 28.68 MB / 0.4949 GB Notification: Performance of matching and sorting (n=397): time 0.2659/2.751, allocations: 57.57 MB / 0.8882 GB, free: 8.246 MB / 0.5106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005725/2.756, allocations: 5.137 MB / 0.8932 GB, free: 2.789 MB / 0.5106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0233/2.78, allocations: 7.636 MB / 0.9007 GB, free: 12.26 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 0.00119/2.781, allocations: 93.53 kB / 0.9008 GB, free: 12.17 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 0.008175/2.789, allocations: 6.137 MB / 0.9068 GB, free: 6.039 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 0.003186/2.792, allocations: 1.544 MB / 0.9083 GB, free: 4.508 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001713/2.794, allocations: 220 kB / 0.9085 GB, free: 4.293 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 0.001255/2.795, allocations: 0.785 MB / 0.9093 GB, free: 3.504 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01369/2.809, allocations: 5.633 MB / 0.9148 GB, free: 13.87 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.344/3.153, allocations: 11.87 MB / 0.9264 GB, free: 124.5 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01638/3.17, allocations: 8.012 MB / 0.9342 GB, free: 124.4 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001924/3.17, allocations: 62.25 kB / 0.9342 GB, free: 124.4 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1455) (initialization): time 0.1039/3.274, allocations: 35.43 MB / 0.9688 GB, free: 123.8 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001662/3.274, allocations: 98.19 kB / 0.9689 GB, free: 123.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07208/3.346, allocations: 23.91 MB / 0.9923 GB, free: 123.4 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06922/3.415, allocations: 18.4 MB / 1.01 GB, free: 120.8 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01187/3.427, allocations: 2.723 MB / 1.013 GB, free: 118.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06363/3.491, allocations: 38.84 MB / 1.051 GB, free: 78.98 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01441/3.505, allocations: 1.149 MB / 1.052 GB, free: 77.87 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002507/3.508, allocations: 0.6735 MB / 1.053 GB, free: 77.2 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 999 * Number of states: 0 () * Number of discrete variables: 66 (Spherical6.sphereColor[3],Spherical6.sphereColor[2],Spherical6.sphereColor[1],Spherical5.sphereColor[3],Spherical5.sphereColor[2],Spherical5.sphereColor[1],boxBody6.color[3],boxBody6.color[2],boxBody6.color[1],boxBody6.body.sphereColor[3],boxBody6.body.sphereColor[2],boxBody6.body.sphereColor[1],boxBody5.color[3],boxBody5.color[2],boxBody5.color[1],boxBody5.body.sphereColor[3],boxBody5.body.sphereColor[2],boxBody5.body.sphereColor[1],Spherical4.sphereColor[3],Spherical4.sphereColor[2],Spherical4.sphereColor[1],Spherical3.sphereColor[3],Spherical3.sphereColor[2],Spherical3.sphereColor[1],boxBody4.color[3],boxBody4.color[2],boxBody4.color[1],boxBody4.body.sphereColor[3],boxBody4.body.sphereColor[2],boxBody4.body.sphereColor[1],boxBody3.color[3],boxBody3.color[2],boxBody3.color[1],boxBody3.body.sphereColor[3],boxBody3.body.sphereColor[2],boxBody3.body.sphereColor[1],Spherical2.sphereColor[3],Spherical2.sphereColor[2],Spherical2.sphereColor[1],Spherical1.sphereColor[3],Spherical1.sphereColor[2],Spherical1.sphereColor[1],boxBody2.color[3],boxBody2.color[2],boxBody2.color[1],boxBody2.body.sphereColor[3],boxBody2.body.sphereColor[2],boxBody2.body.sphereColor[1],boxBody1.color[3],boxBody1.color[2],boxBody1.color[1],boxBody1.body.sphereColor[3],boxBody1.body.sphereColor[2],boxBody1.body.sphereColor[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 (1307): * Single equations (assignments): 1283 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(2,100.0%),(2,100.0%),(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 2 {4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,59.4%) 13,(8,59.4%) 13,(8,59.4%) 13} * Non-linear torn systems: 2 {4 9,4 9} Notification: Performance of prepare postOptimizeDAE: time 0.003032/3.511, allocations: 0.9382 MB / 1.054 GB, free: 76.4 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001823/3.513, allocations: 0.7849 MB / 1.054 GB, free: 76.04 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03507/3.548, allocations: 13.65 MB / 1.068 GB, free: 62.38 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03198/3.58, allocations: 12.16 MB / 1.08 GB, free: 50.2 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.883e-05/3.58, allocations: 16 kB / 1.08 GB, free: 50.18 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.748e-05/3.58, allocations: 19.92 kB / 1.08 GB, free: 50.16 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06997/3.65, allocations: 29.19 MB / 1.108 GB, free: 21.07 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.857e-05/3.65, allocations: 3.953 kB / 1.108 GB, free: 21.06 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005684/3.656, allocations: 0.8958 MB / 1.109 GB, free: 20.17 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02267/3.679, allocations: 5.517 MB / 1.114 GB, free: 14.66 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001133/3.68, allocations: 111.9 kB / 1.114 GB, free: 14.55 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3791/4.059, allocations: 28.17 MB / 1.142 GB, free: 112.5 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003601/4.063, allocations: 4.679 MB / 1.147 GB, free: 108.4 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0487/4.111, allocations: 20.36 MB / 1.166 GB, free: 107.1 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00258/4.114, allocations: 0.8288 MB / 1.167 GB, free: 107 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002686/4.117, allocations: 90.41 kB / 1.167 GB, free: 107 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007313/4.124, allocations: 0.5074 MB / 1.168 GB, free: 107 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00175/4.126, allocations: 298.9 kB / 1.168 GB, free: 107 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007097/4.127, allocations: 123.7 kB / 1.168 GB, free: 107 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01291/4.139, allocations: 5.343 MB / 1.173 GB, free: 106.7 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.182e-06/4.139, allocations: 0 / 1.173 GB, free: 106.7 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01495/4.154, allocations: 2.786 MB / 1.176 GB, free: 106.7 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[6],$STATESET2.x[5],$STATESET2.x[4],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],Spherical1.phi[1],Spherical1.phi[2],Spherical1.phi[3],Spherical1.phi_d[1],Spherical1.phi_d[2],Spherical1.phi_d[3],Spherical2.phi[1],Spherical2.phi[2],Spherical2.phi[3],Spherical2.phi_d[1],Spherical2.phi_d[2],Spherical2.phi_d[3],Spherical3.w_rel[1],Spherical3.w_rel[2],Spherical3.w_rel[3],Spherical4.w_rel[1],Spherical4.w_rel[2],Spherical4.w_rel[3],boxBody5.body.w_a[1],boxBody5.body.w_a[2],boxBody5.body.w_a[3],boxBody6.body.w_a[1],boxBody6.body.w_a[2],boxBody6.body.w_a[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (296): * Single equations (assignments): 281 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 6 {(2,100.0%),(2,100.0%),(4,100.0%),(4,100.0%),(4,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {8,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(8,54.7%) 13,(8,59.4%) 13,(8,54.7%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001352/4.156, allocations: 255.2 kB / 1.176 GB, free: 106.7 MB / 0.5418 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1279:5-1281:19:writable] Warning: Variable Spherical2.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1279:5-1281:19:writable] Warning: Variable Spherical2.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1279:5-1281:19:writable] Warning: Variable Spherical1.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1279:5-1281:19:writable] Warning: Variable Spherical1.phi_d[1] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.03177/4.188, allocations: 15.42 MB / 1.191 GB, free: 102.5 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.028e-05/4.188, allocations: 2.406 kB / 1.191 GB, free: 102.5 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01741/4.205, allocations: 7.271 MB / 1.199 GB, free: 99.21 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008509/4.214, allocations: 1.226 MB / 1.2 GB, free: 98.75 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04824/4.262, allocations: 20.51 MB / 1.22 GB, free: 91.79 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01311/4.275, allocations: 6.337 MB / 1.226 GB, free: 87.28 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01326/4.288, allocations: 3.726 MB / 1.23 GB, free: 84.83 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003113/4.292, allocations: 0.536 MB / 1.23 GB, free: 84.35 MB / 0.5418 GB Notification: Performance of SimCode: time 1.87e-06/4.292, allocations: 0 / 1.23 GB, free: 84.35 MB / 0.5418 GB Notification: Performance of Templates: time 0.603/4.895, allocations: 123.4 MB / 1.351 GB, free: 122.3 MB / 0.5574 GB