Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse") Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 270 MB / 282.7 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.081e-05/3.091e-05, allocations: 4 kB / 347 MB, free: 3.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.324, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.4889, allocations: 108.6 MB / 0.5053 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/0.4892, allocations: 71.97 kB / 0.5054 GB, free: 13.92 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7599/1.249, allocations: 148 MB / 0.65 GB, free: 5.152 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.386e-06/1.249, allocations: 0 / 0.65 GB, free: 5.152 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005182/1.25, allocations: 160 kB / 0.6501 GB, free: 4.996 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.04377/1.294, allocations: 8.852 MB / 0.6588 GB, free: 12.06 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/1.294, allocations: 8.031 kB / 0.6588 GB, free: 12.05 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04337/1.337, allocations: 7.774 MB / 0.6664 GB, free: 4.258 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03368/1.371, allocations: 10.43 MB / 0.6766 GB, free: 9.742 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008643/1.372, allocations: 0.5818 MB / 0.6771 GB, free: 9.16 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003407/1.375, allocations: 0.7886 MB / 0.6779 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05191/1.427, allocations: 18.09 MB / 0.6956 GB, free: 4.734 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004935/1.428, allocations: 99.11 kB / 0.6957 GB, free: 4.637 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002759/1.43, allocations: 379.8 kB / 0.696 GB, free: 4.266 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003571/1.434, allocations: 1.683 MB / 0.6977 GB, free: 2.582 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04222/1.476, allocations: 14.37 MB / 0.7117 GB, free: 4.195 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.426/1.902, allocations: 81.21 MB / 0.791 GB, free: 39.89 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02787/1.93, allocations: 7.545 MB / 0.7984 GB, free: 39.21 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005987/1.936, allocations: 3.38 MB / 0.8017 GB, free: 39.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03105/1.967, allocations: 17.18 MB / 0.8185 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.013e-05/1.967, allocations: 66.5 kB / 0.8185 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 7.962e-06/1.967, allocations: 3.719 kB / 0.8185 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.07981/2.047, allocations: 24.02 MB / 0.842 GB, free: 22.12 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003922/2.051, allocations: 6.257 MB / 0.8481 GB, free: 16.01 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01121/2.062, allocations: 5.734 MB / 0.8537 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007077/2.063, allocations: 76.52 kB / 0.8538 GB, free: 13.95 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003652/2.067, allocations: 5.132 MB / 0.8588 GB, free: 9.973 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001732/2.069, allocations: 1.323 MB / 0.8601 GB, free: 9.012 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009519/2.07, allocations: 197.6 kB / 0.8603 GB, free: 8.859 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005544/2.07, allocations: 0.7397 MB / 0.861 GB, free: 8.363 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007819/2.078, allocations: 3.923 MB / 0.8648 GB, free: 5.48 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0126/2.091, allocations: 9.689 MB / 0.8743 GB, free: 9.754 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01242/2.103, allocations: 6.068 MB / 0.8802 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001811/2.103, allocations: 63.84 kB / 0.8803 GB, free: 4.723 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04596/2.149, allocations: 15.64 MB / 0.8955 GB, free: 8.074 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001798/2.149, allocations: 94.03 kB / 0.8956 GB, free: 7.984 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02427/2.174, allocations: 7.904 MB / 0.9033 GB, free: 1.719 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01945/2.193, allocations: 3.909 MB / 0.9072 GB, free: 15.11 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0105/2.204, allocations: 2.362 MB / 0.9095 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0212/2.225, allocations: 13.55 MB / 0.9227 GB, free: 236 kB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3442/2.569, allocations: 0.9674 MB / 0.9236 GB, free: 126.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002611/2.572, allocations: 0.5977 MB / 0.9242 GB, free: 126.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 (1240): * Single equations (assignments): 1215 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002883/2.575, allocations: 0.8783 MB / 0.9251 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001418/2.576, allocations: 0.6042 MB / 0.9257 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02025/2.597, allocations: 7.792 MB / 0.9333 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01801/2.615, allocations: 6.936 MB / 0.9401 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.369e-05/2.615, allocations: 6.688 kB / 0.9401 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.091e-05/2.615, allocations: 17.95 kB / 0.9401 GB, free: 125.6 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04709/2.662, allocations: 19.53 MB / 0.9592 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.487e-05/2.662, allocations: 6.469 kB / 0.9592 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004458/2.666, allocations: 0.6623 MB / 0.9598 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01324/2.68, allocations: 3.138 MB / 0.9629 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008392/2.681, allocations: 104.2 kB / 0.963 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01716/2.698, allocations: 14.01 MB / 0.9767 GB, free: 116.7 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003883/2.702, allocations: 6.017 MB / 0.9825 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02593/2.728, allocations: 12.72 MB / 0.995 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001921/2.73, allocations: 0.6443 MB / 0.9956 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001486/2.731, allocations: 93.22 kB / 0.9957 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004435/2.736, allocations: 394.3 kB / 0.9961 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008289/2.736, allocations: 245.6 kB / 0.9963 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004099/2.737, allocations: 104.6 kB / 0.9964 GB, free: 107.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008127/2.745, allocations: 3.981 MB / 1 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.009e-06/2.745, allocations: 0 / 1 GB, free: 106.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01167/2.757, allocations: 2.102 MB / 1.002 GB, free: 106 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.frame_a.r_0[1],bodyShape.body.frame_a.r_0[2],bodyShape.body.frame_a.r_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.frame_a.r_0[1],bodyBox.body.frame_a.r_0[2],bodyBox.body.frame_a.r_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.frame_a.r_0[1],bodyCylinder.body.frame_a.r_0[2],bodyCylinder.body.frame_a.r_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009402/2.758, allocations: 263.2 kB / 1.003 GB, free: 105.9 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02163/2.779, allocations: 11.09 MB / 1.013 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.972e-06/2.779, allocations: 3.125 kB / 1.013 GB, free: 101.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01117/2.791, allocations: 5.41 MB / 1.019 GB, free: 99.21 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005058/2.796, allocations: 0.8556 MB / 1.02 GB, free: 98.88 MB / 0.5573 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:36:3-38:72:writable] Warning: Variable pointMass.v_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica trunk/Mechanics/MultiBody/Parts/PointMass.mo:33:3-35:72:writable] Warning: Variable pointMass.r_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03478/2.83, allocations: 17.82 MB / 1.037 GB, free: 84.44 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009041/2.84, allocations: 5.531 MB / 1.042 GB, free: 80.42 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002399/2.842, allocations: 0.4996 MB / 1.043 GB, free: 79.96 MB / 0.5573 GB Notification: Performance of SimCode: time 1.686e-06/2.842, allocations: 0 / 1.043 GB, free: 79.96 MB / 0.5573 GB Notification: Performance of Templates: time 1.585/4.427, allocations: 0.5105 GB / 1.553 GB, free: 164.7 MB / 0.6042 GB