Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotionScalarInit.angle_1|freeMotionScalarInit.angle_2|freeMotionScalarInit.angle_3|freeMotionScalarInit.derdd.1..u|freeMotionScalarInit.derdd.2..u|freeMotionScalarInit.derdd.3..u|freeMotionScalarInit.r_rel_a_1|freeMotionScalarInit.r_rel_a_2|freeMotionScalarInit.r_rel_a_3|freeMotionScalarInit.v_rel_a_1|freeMotionScalarInit.v_rel_a_2|freeMotionScalarInit.v_rel_a_3",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Joints.FreeMotionScalarInit4") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.813e-05/3.824e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3638/0.3639, allocations: 58.84 MB / 382.2 MB, free: 10.31 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1797/0.5436, allocations: 109 MB / 491.3 MB, free: 15.43 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002415/0.5439, allocations: 75.97 kB / 491.3 MB, free: 15.35 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6341/1.178, allocations: 99.42 MB / 0.5769 GB, free: 99.01 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.356e-06/1.178, allocations: 3.938 kB / 0.5769 GB, free: 99 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001814/1.178, allocations: 92 kB / 0.577 GB, free: 98.91 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: 1897 * Number of variables: 1897 Notification: Performance of Generate backend data structure: time 0.0181/1.196, allocations: 4.703 MB / 0.5816 GB, free: 94.18 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/1.196, allocations: 12.03 kB / 0.5816 GB, free: 94.16 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/1.217, allocations: 3.631 MB / 0.5851 GB, free: 90.52 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01445/1.231, allocations: 4.937 MB / 0.59 GB, free: 85.59 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004202/1.232, allocations: 383.7 kB / 0.5903 GB, free: 85.25 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002432/1.234, allocations: 0.4912 MB / 0.5908 GB, free: 84.77 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02997/1.264, allocations: 12.22 MB / 0.6027 GB, free: 72.02 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002655/1.265, allocations: 35.75 kB / 0.6028 GB, free: 71.98 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002346/1.267, allocations: 223.9 kB / 0.603 GB, free: 71.77 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00226/1.269, allocations: 1.342 MB / 0.6043 GB, free: 70.42 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02639/1.296, allocations: 11.34 MB / 0.6154 GB, free: 59.07 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08519/1.381, allocations: 42.4 MB / 0.6568 GB, free: 15.62 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0122/1.393, allocations: 4.941 MB / 0.6616 GB, free: 10.45 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003888/1.397, allocations: 2.39 MB / 0.6639 GB, free: 8.055 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01234/1.409, allocations: 6.949 MB / 0.6707 GB, free: 0.7344 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/1.41, allocations: 48.56 kB / 0.6708 GB, free: 0.6758 MB / 458.8 MB Notification: Performance of pre-optimization done (n=238): time 6.932e-06/1.41, allocations: 4 kB / 0.6708 GB, free: 0.6719 MB / 458.8 MB Notification: Performance of matching and sorting (n=259): time 0.06159/1.471, allocations: 16.3 MB / 0.6867 GB, free: 264 kB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.996e-05/1.471, allocations: 73.41 kB / 0.6868 GB, free: 180 kB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006463/1.478, allocations: 2.842 MB / 0.6895 GB, free: 13.32 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0004559/1.478, allocations: 61.7 kB / 0.6896 GB, free: 13.25 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.003583/1.482, allocations: 3.305 MB / 0.6928 GB, free: 9.902 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.001585/1.484, allocations: 0.9675 MB / 0.6938 GB, free: 8.922 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006454/1.484, allocations: 120 kB / 0.6939 GB, free: 8.805 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0006192/1.485, allocations: 0.5823 MB / 0.6945 GB, free: 8.215 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00586/1.491, allocations: 2.425 MB / 0.6968 GB, free: 5.785 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009588/1.5, allocations: 5.779 MB / 0.7025 GB, free: 14.33 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008576/1.509, allocations: 3.789 MB / 0.7062 GB, free: 10.54 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001116/1.509, allocations: 32 kB / 0.7062 GB, free: 10.51 MB / 0.4949 GB Notification: Performance of matching and sorting (n=827) (initialization): time 0.0293/1.538, allocations: 9.644 MB / 0.7156 GB, free: 0.8477 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001145/1.539, allocations: 56 kB / 0.7157 GB, free: 0.793 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001845/1.539, allocations: 124.2 kB / 0.7158 GB, free: 0.6719 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3036/1.842, allocations: 2.329 MB / 0.7181 GB, free: 129.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006549/1.849, allocations: 1.366 MB / 0.7194 GB, free: 129.8 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0228/1.872, allocations: 10.62 MB / 0.7298 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005898/1.878, allocations: 331.7 kB / 0.7301 GB, free: 127.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001294/1.879, allocations: 368.9 kB / 0.7304 GB, free: 127.9 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 541 * Number of states: 0 () * Number of discrete variables: 30 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (742): * Single equations (assignments): 734 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 5,3 27} Notification: Performance of prepare postOptimizeDAE: time 0.001786/1.881, allocations: 0.5443 MB / 0.731 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007054/1.882, allocations: 318.6 kB / 0.7313 GB, free: 127.8 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01064/1.892, allocations: 4.63 MB / 0.7358 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001006/1.892, allocations: 49.66 kB / 0.7358 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-05/1.892, allocations: 3.75 kB / 0.7359 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.182e-05/1.892, allocations: 11.39 kB / 0.7359 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02635/1.919, allocations: 10.96 MB / 0.7466 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.87e-05/1.919, allocations: 5.375 kB / 0.7466 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002895/1.922, allocations: 426.5 kB / 0.747 GB, free: 125.8 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002549/1.924, allocations: 0.6904 MB / 0.7477 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005103/1.925, allocations: 59.55 kB / 0.7477 GB, free: 125.7 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003174/1.928, allocations: 2.418 MB / 0.7501 GB, free: 124.1 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/1.928, allocations: 7.75 kB / 0.7501 GB, free: 124.1 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01413/1.942, allocations: 7.532 MB / 0.7574 GB, free: 121.1 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008829/1.943, allocations: 358.6 kB / 0.7578 GB, free: 121 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000739/1.944, allocations: 50.58 kB / 0.7578 GB, free: 120.9 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/1.946, allocations: 144.3 kB / 0.758 GB, free: 120.9 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004329/1.947, allocations: 142.9 kB / 0.7581 GB, free: 120.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002614/1.947, allocations: 76 kB / 0.7582 GB, free: 120.9 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004005/1.951, allocations: 1.921 MB / 0.76 GB, free: 120.2 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.352e-06/1.951, allocations: 0 / 0.76 GB, free: 120.2 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.006998/1.958, allocations: 1.147 MB / 0.7612 GB, free: 120.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 12 (freeMotionScalarInit.r_rel_a_1,freeMotionScalarInit.r_rel_a_2,freeMotionScalarInit.r_rel_a_3,freeMotionScalarInit.v_rel_a_1,freeMotionScalarInit.v_rel_a_2,freeMotionScalarInit.v_rel_a_3,freeMotionScalarInit.angle_1,freeMotionScalarInit.angle_2,freeMotionScalarInit.angle_3,freeMotionScalarInit.derdd[1].u,freeMotionScalarInit.derdd[2].u,freeMotionScalarInit.derdd[3].u) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (212): * Single equations (assignments): 203 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(3,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007426/1.959, allocations: 200.2 kB / 0.7614 GB, free: 120 MB / 0.4949 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/Mechanics/MultiBody/Joints.mo:1913:5-1915:161:writable] Warning: Variable freeMotionScalarInit.angle_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:1916:5-1918:161:writable] Warning: Variable freeMotionScalarInit.angle_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:1919:5-1921:161:writable] Warning: Variable freeMotionScalarInit.angle_3 has attribute stateSelect=StateSelect.always, but was selected as a continuous variable. Notification: Performance of simCode: created initialization part: time 0.01218/1.971, allocations: 5.922 MB / 0.7671 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 9.384e-06/1.971, allocations: 0 / 0.7671 GB, free: 118.2 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005514/1.976, allocations: 2.503 MB / 0.7696 GB, free: 117.2 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002843/1.979, allocations: 426.4 kB / 0.77 GB, free: 117 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02117/2.001, allocations: 9.534 MB / 0.7793 GB, free: 108.7 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007721/2.008, allocations: 3.907 MB / 0.7831 GB, free: 105.8 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.007059/2.015, allocations: 2.079 MB / 0.7852 GB, free: 104.4 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001325/2.017, allocations: 237.7 kB / 0.7854 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of SimCode: time 1.941e-06/2.017, allocations: 4 kB / 0.7854 GB, free: 104.2 MB / 0.4949 GB Notification: Performance of Templates: time 0.1001/2.117, allocations: 39.06 MB / 0.8235 GB, free: 71.79 MB / 0.4949 GB