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_trunk_ModelicaTest.MultiBody.SphericalDoublePendulum") Notification: Performance of loadModel(ModelicaTest): time 2.389/2.389, allocations: 270 MB / 283.6 MB, free: 1.918 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.774e-05, allocations: 0 / 348.4 MB, free: 2.793 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3244, allocations: 61.87 MB / 410.3 MB, free: 10.72 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1598/0.4843, allocations: 103.3 MB / 0.5015 GB, free: 3.289 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001961/0.4845, allocations: 67.97 kB / 0.5016 GB, free: 3.223 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8913/1.376, allocations: 175 MB / 0.6725 GB, free: 15.11 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.667e-06/1.376, allocations: 0 / 0.6725 GB, free: 15.11 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0007326/1.377, allocations: 176 kB / 0.6727 GB, free: 14.93 MB / 490.7 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.0487/1.425, allocations: 10.02 MB / 0.6825 GB, free: 4.836 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.816e-05/1.425, allocations: 8.031 kB / 0.6825 GB, free: 4.828 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.113/1.538, allocations: 21.91 MB / 0.7039 GB, free: 14.87 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.6933/2.232, allocations: 18.94 MB / 0.7224 GB, free: 82.9 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006356/2.232, allocations: 0.5547 MB / 0.7229 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003233/2.236, allocations: 0.7832 MB / 0.7237 GB, free: 82.88 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04976/2.286, allocations: 19.06 MB / 0.7423 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006551/2.286, allocations: 138 kB / 0.7424 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002872/2.289, allocations: 366.4 kB / 0.7428 GB, free: 78.14 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003061/2.292, allocations: 1.645 MB / 0.7444 GB, free: 78.12 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04058/2.333, allocations: 15.59 MB / 0.7596 GB, free: 78.09 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1102/2.443, allocations: 90.04 MB / 0.8475 GB, free: 17.11 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0337/2.477, allocations: 8.707 MB / 0.856 GB, free: 14.47 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007397/2.484, allocations: 4.81 MB / 0.8607 GB, free: 9.996 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/2.486, allocations: 1.006 MB / 0.8617 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.286e-05/2.486, allocations: 64.62 kB / 0.8618 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=322): time 8.31e-06/2.486, allocations: 0 / 0.8618 GB, free: 8.848 MB / 0.5105 GB Notification: Performance of matching and sorting (n=397): time 0.267/2.753, allocations: 57.42 MB / 0.9178 GB, free: 12.81 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.005489/2.758, allocations: 5.119 MB / 0.9228 GB, free: 7.371 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01854/2.777, allocations: 7.419 MB / 0.9301 GB, free: 0.6562 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.001111/2.778, allocations: 88.05 kB / 0.9302 GB, free: 0.5664 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.3763/3.154, allocations: 6.103 MB / 0.9361 GB, free: 123.5 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.002733/3.157, allocations: 1.548 MB / 0.9376 GB, free: 122.6 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001719/3.159, allocations: 226.2 kB / 0.9379 GB, free: 122.6 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0009225/3.16, allocations: 0.7759 MB / 0.9386 GB, free: 122.3 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0118/3.172, allocations: 5.638 MB / 0.9441 GB, free: 122.3 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01493/3.187, allocations: 11.88 MB / 0.9557 GB, free: 114.3 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01526/3.202, allocations: 8.009 MB / 0.9635 GB, free: 114.2 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001965/3.202, allocations: 61.22 kB / 0.9636 GB, free: 114.2 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1455) (initialization): time 0.104/3.306, allocations: 35.44 MB / 0.9982 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001669/3.306, allocations: 102.9 kB / 0.9983 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.07393/3.38, allocations: 23.9 MB / 1.022 GB, free: 109.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.06699/3.447, allocations: 18.4 MB / 1.04 GB, free: 103.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01211/3.46, allocations: 2.724 MB / 1.042 GB, free: 100.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06295/3.523, allocations: 38.86 MB / 1.08 GB, free: 60.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01462/3.537, allocations: 1.147 MB / 1.081 GB, free: 59.55 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002714/3.54, allocations: 0.6669 MB / 1.082 GB, free: 58.89 MB / 0.5574 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.003927/3.544, allocations: 0.9394 MB / 1.083 GB, free: 57.95 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002157/3.546, allocations: 0.7829 MB / 1.084 GB, free: 57.15 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03788/3.584, allocations: 13.64 MB / 1.097 GB, free: 43.49 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0333/3.617, allocations: 12.17 MB / 1.109 GB, free: 31.3 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.913e-05/3.617, allocations: 12 kB / 1.109 GB, free: 31.29 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.635e-05/3.618, allocations: 19.94 kB / 1.109 GB, free: 31.27 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4203/4.038, allocations: 29.16 MB / 1.137 GB, free: 102 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.464e-05/4.038, allocations: 3.094 kB / 1.137 GB, free: 102 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00584/4.044, allocations: 0.8938 MB / 1.138 GB, free: 102 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02532/4.069, allocations: 5.518 MB / 1.144 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001072/4.07, allocations: 106.1 kB / 1.144 GB, free: 101.9 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04863/4.119, allocations: 28.17 MB / 1.171 GB, free: 94.24 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003419/4.122, allocations: 4.673 MB / 1.176 GB, free: 90.15 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04798/4.17, allocations: 20.36 MB / 1.196 GB, free: 88.87 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002596/4.173, allocations: 0.822 MB / 1.197 GB, free: 88.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00277/4.176, allocations: 90.83 kB / 1.197 GB, free: 88.77 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007178/4.183, allocations: 0.5018 MB / 1.197 GB, free: 88.77 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001718/4.185, allocations: 303.1 kB / 1.197 GB, free: 88.77 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006691/4.186, allocations: 124.6 kB / 1.198 GB, free: 88.77 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01219/4.198, allocations: 5.286 MB / 1.203 GB, free: 88.48 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.062e-06/4.198, allocations: 0 / 1.203 GB, free: 88.48 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.02818/4.226, allocations: 2.782 MB / 1.205 GB, free: 88.48 MB / 0.5574 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.00223/4.228, allocations: 254.4 kB / 1.206 GB, free: 88.39 MB / 0.5574 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Joints/Spherical.mo:91:3-93:17: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 trunk/Mechanics/MultiBody/Joints/Spherical.mo:91:3-93:17: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 trunk/Mechanics/MultiBody/Joints/Spherical.mo:91:3-93:17: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 trunk/Mechanics/MultiBody/Joints/Spherical.mo:91:3-93:17: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.05843/4.287, allocations: 15.42 MB / 1.221 GB, free: 82.66 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.592e-06/4.287, allocations: 2.938 kB / 1.221 GB, free: 82.66 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01689/4.304, allocations: 7.27 MB / 1.228 GB, free: 79.34 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008127/4.312, allocations: 1.214 MB / 1.229 GB, free: 78.89 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0485/4.36, allocations: 20.44 MB / 1.249 GB, free: 70.18 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01339/4.374, allocations: 6.301 MB / 1.255 GB, free: 65.63 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0134/4.387, allocations: 3.728 MB / 1.259 GB, free: 63.18 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003085/4.39, allocations: 0.5393 MB / 1.259 GB, free: 62.7 MB / 0.5574 GB Notification: Performance of SimCode: time 1.84e-06/4.39, allocations: 0 / 1.259 GB, free: 62.7 MB / 0.5574 GB Notification: Performance of Templates: time 0.6245/5.015, allocations: 123.1 MB / 1.379 GB, free: 119.8 MB / 0.573 GB