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.1_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 221.5 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.328e-05/3.368e-05, allocations: 4 kB / 273.1 MB, free: 3.176 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.08626, allocations: 48.69 MB / 321.8 MB, free: 2.387 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3992/0.4855, allocations: 88.55 MB / 410.3 MB, free: 4.566 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001734/0.4857, allocations: 70.19 kB / 410.4 MB, free: 4.559 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9119/1.398, allocations: 171.7 MB / 0.5685 GB, free: 70.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.994e-06/1.398, allocations: 0 / 0.5685 GB, free: 70.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0007048/1.398, allocations: 179.1 kB / 0.5686 GB, free: 70.88 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: 2554 * Number of variables: 2554 Notification: Performance of Generate backend data structure: time 0.04573/1.444, allocations: 10.02 MB / 0.5784 GB, free: 67.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/1.444, allocations: 7.219 kB / 0.5784 GB, free: 67.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1026/1.547, allocations: 21.9 MB / 0.5998 GB, free: 67 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05126/1.598, allocations: 19.86 MB / 0.6192 GB, free: 58.54 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006225/1.599, allocations: 0.5518 MB / 0.6197 GB, free: 58.02 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003304/1.602, allocations: 0.7904 MB / 0.6205 GB, free: 57.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0451/1.647, allocations: 19.05 MB / 0.6391 GB, free: 36.77 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005165/1.648, allocations: 130.1 kB / 0.6392 GB, free: 36.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002256/1.65, allocations: 368.5 kB / 0.6396 GB, free: 36.34 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002808/1.653, allocations: 1.643 MB / 0.6412 GB, free: 34.7 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.039/1.692, allocations: 15.59 MB / 0.6564 GB, free: 19.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4031/2.095, allocations: 90.06 MB / 0.7444 GB, free: 35.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03231/2.128, allocations: 8.714 MB / 0.7529 GB, free: 34.95 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007849/2.135, allocations: 4.809 MB / 0.7576 GB, free: 34.9 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/2.137, allocations: 1.01 MB / 0.7586 GB, free: 34.05 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.77e-05/2.137, allocations: 68.28 kB / 0.7586 GB, free: 34.01 MB / 458.7 MB Notification: Performance of pre-optimization done (n=322): time 9.117e-06/2.137, allocations: 0 / 0.7586 GB, free: 34.01 MB / 458.7 MB Notification: Performance of matching and sorting (n=397): time 0.2203/2.357, allocations: 57.55 MB / 0.8148 GB, free: 25.4 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00546/2.363, allocations: 5.125 MB / 0.8198 GB, free: 36.46 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02672/2.39, allocations: 7.479 MB / 0.8271 GB, free: 33.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001533/2.391, allocations: 86.64 kB / 0.8272 GB, free: 33.2 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.008239/2.4, allocations: 6.117 MB / 0.8332 GB, free: 28.09 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003587/2.403, allocations: 1.55 MB / 0.8347 GB, free: 26.73 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002104/2.405, allocations: 223 kB / 0.8349 GB, free: 26.51 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.00145/2.407, allocations: 0.7776 MB / 0.8357 GB, free: 25.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01931/2.426, allocations: 5.632 MB / 0.8412 GB, free: 20.81 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02317/2.449, allocations: 11.85 MB / 0.8527 GB, free: 6.816 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01758/2.467, allocations: 7.984 MB / 0.8605 GB, free: 124 kB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002249/2.467, allocations: 64 kB / 0.8606 GB, free: 60 kB / 474.7 MB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.3787/2.846, allocations: 35.23 MB / 0.895 GB, free: 99.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/2.846, allocations: 100.2 kB / 0.8951 GB, free: 99.61 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.06803/2.914, allocations: 23.74 MB / 0.9183 GB, free: 99.21 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.06181/2.976, allocations: 18.23 MB / 0.9361 GB, free: 96.46 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0118/2.988, allocations: 2.755 MB / 0.9388 GB, free: 95.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06029/3.048, allocations: 38.12 MB / 0.976 GB, free: 59.38 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01498/3.063, allocations: 1.144 MB / 0.9771 GB, free: 58.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00251/3.066, allocations: 0.6686 MB / 0.9778 GB, free: 57.61 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 996 * Number of states: 0 () * Number of discrete variables: 63 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1310): * Single equations (assignments): 1286 * 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 {1,1} * 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.003944/3.07, allocations: 0.9302 MB / 0.9787 GB, free: 56.81 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002382/3.072, allocations: 0.7938 MB / 0.9794 GB, free: 56.44 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0359/3.108, allocations: 13.65 MB / 0.9928 GB, free: 42.79 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03231/3.141, allocations: 12.16 MB / 1.005 GB, free: 30.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.398e-05/3.141, allocations: 12 kB / 1.005 GB, free: 30.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.494e-05/3.141, allocations: 23.92 kB / 1.005 GB, free: 30.57 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3722/3.513, allocations: 29.18 MB / 1.033 GB, free: 86.59 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.325e-05/3.513, allocations: 4.938 kB / 1.033 GB, free: 86.59 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006752/3.52, allocations: 0.8955 MB / 1.034 GB, free: 86.59 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.04073/3.561, allocations: 5.518 MB / 1.039 GB, free: 86.49 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001727/3.562, allocations: 112.7 kB / 1.04 GB, free: 86.49 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.05012/3.613, allocations: 28.17 MB / 1.067 GB, free: 78.82 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003307/3.616, allocations: 4.675 MB / 1.072 GB, free: 74.73 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04759/3.664, allocations: 20.36 MB / 1.092 GB, free: 73.08 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002784/3.666, allocations: 0.8294 MB / 1.092 GB, free: 72.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003075/3.67, allocations: 91.95 kB / 1.092 GB, free: 72.87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007615/3.677, allocations: 0.5056 MB / 1.093 GB, free: 72.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001918/3.679, allocations: 303.5 kB / 1.093 GB, free: 72.79 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001095/3.68, allocations: 119.3 kB / 1.093 GB, free: 72.76 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01317/3.693, allocations: 5.328 MB / 1.099 GB, free: 71.01 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.111e-06/3.694, allocations: 2.5 kB / 1.099 GB, free: 71.01 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01539/3.709, allocations: 2.772 MB / 1.101 GB, free: 70.77 MB / 474.7 MB 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.001499/3.71, allocations: 247.4 kB / 1.101 GB, free: 70.62 MB / 474.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/Mechanics/MultiBody/Joints.mo:1330:5-1332: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.1/Mechanics/MultiBody/Joints.mo:1330:5-1332: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.1/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical1.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.1/Mechanics/MultiBody/Joints.mo:1330:5-1332:19:writable] Warning: Variable Spherical1.phi_d[2] has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.03175/3.742, allocations: 15.15 MB / 1.116 GB, free: 64.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.638e-06/3.742, allocations: 0 / 1.116 GB, free: 64.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01616/3.758, allocations: 7.272 MB / 1.123 GB, free: 61.62 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008113/3.767, allocations: 1.214 MB / 1.125 GB, free: 61.17 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04747/3.814, allocations: 20.49 MB / 1.145 GB, free: 48.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0133/3.827, allocations: 6.315 MB / 1.151 GB, free: 43.85 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01355/3.841, allocations: 3.73 MB / 1.154 GB, free: 41.39 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003348/3.844, allocations: 0.5396 MB / 1.155 GB, free: 40.91 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/3.845, allocations: 4 kB / 1.155 GB, free: 40.91 MB / 474.7 MB Notification: Performance of Templates: time 0.5547/4.399, allocations: 122 MB / 1.274 GB, free: 77.77 MB / 474.7 MB