Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.161/3.161, allocations: 235.2 MB / 242.3 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.22e-05/3.239e-05, allocations: 0 / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4759/0.476, allocations: 54.86 MB / 354.4 MB, free: 15.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2409/0.717, allocations: 98.61 MB / 453 MB, free: 12.42 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004142/0.7174, allocations: 79.94 kB / 453.1 MB, free: 12.34 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202/1.92, allocations: 139.6 MB / 0.5788 GB, free: 0.4922 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.376e-06/1.92, allocations: 8 kB / 0.5788 GB, free: 496 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0008986/1.921, allocations: 159.9 kB / 0.579 GB, free: 336 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.08811/2.009, allocations: 8.668 MB / 0.5874 GB, free: 7.586 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.185e-05/2.009, allocations: 8.031 kB / 0.5874 GB, free: 7.578 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007992/2.017, allocations: 0.9913 MB / 0.5884 GB, free: 6.578 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08769/2.105, allocations: 7.748 MB / 0.596 GB, free: 14.81 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05708/2.162, allocations: 10.95 MB / 0.6067 GB, free: 3.781 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000789/2.163, allocations: 319.2 kB / 0.607 GB, free: 3.469 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004581/2.167, allocations: 467.7 kB / 0.6074 GB, free: 3.012 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03744/2.205, allocations: 10.05 MB / 0.6172 GB, free: 8.961 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5095/2.714, allocations: 15.12 MB / 0.632 GB, free: 62.98 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000942/2.715, allocations: 105.8 kB / 0.6321 GB, free: 62.98 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004247/2.72, allocations: 46.47 kB / 0.6321 GB, free: 62.98 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005711/2.725, allocations: 1.604 MB / 0.6337 GB, free: 62.97 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1517/2.877, allocations: 77.67 MB / 0.7095 GB, free: 18.02 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/2.888, allocations: 4.366 MB / 0.7138 GB, free: 17.01 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007214/2.895, allocations: 3.057 MB / 0.7168 GB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003586/2.896, allocations: 48.11 kB / 0.7168 GB, free: 15.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.961e-05/2.896, allocations: 69.38 kB / 0.7169 GB, free: 15.58 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 8.175e-06/2.896, allocations: 0 / 0.7169 GB, free: 15.58 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.1069/3.003, allocations: 21.65 MB / 0.738 GB, free: 7.434 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/3.003, allocations: 237.2 kB / 0.7383 GB, free: 7.184 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01454/3.017, allocations: 5.146 MB / 0.7433 GB, free: 5.309 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00102/3.018, allocations: 29.45 kB / 0.7433 GB, free: 5.277 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005766/3.024, allocations: 5.292 MB / 0.7485 GB, free: 1.203 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002657/3.027, allocations: 1.181 MB / 0.7496 GB, free: 348 kB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002207/3.029, allocations: 0 / 0.7496 GB, free: 348 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001062/3.03, allocations: 0.7297 MB / 0.7504 GB, free: 15.86 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01162/3.042, allocations: 3.717 MB / 0.754 GB, free: 14.52 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0187/3.061, allocations: 9.592 MB / 0.7634 GB, free: 5.191 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01665/3.077, allocations: 5.834 MB / 0.769 GB, free: 2.992 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002509/3.078, allocations: 63.31 kB / 0.7691 GB, free: 2.988 MB / 474.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.07641/3.154, allocations: 15.04 MB / 0.7838 GB, free: 8.449 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002318/3.154, allocations: 97.88 kB / 0.7839 GB, free: 8.355 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04626/3.201, allocations: 7.526 MB / 0.7912 GB, free: 2.461 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04124/3.242, allocations: 3.9 MB / 0.795 GB, free: 0 / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02076/3.263, allocations: 2.363 MB / 0.7974 GB, free: 13.97 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03595/3.299, allocations: 13.11 MB / 0.8102 GB, free: 1.656 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01969/3.319, allocations: 0.6837 MB / 0.8108 GB, free: 1.191 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003394/3.322, allocations: 0.6044 MB / 0.8114 GB, free: 0.6133 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1225): * Single equations (assignments): 1200 * 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.6066/3.929, allocations: 0.648 MB / 0.8121 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003455/3.932, allocations: 0.5544 MB / 0.8126 GB, free: 106.6 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05344/3.986, allocations: 7.332 MB / 0.8198 GB, free: 106.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0451/4.031, allocations: 6.571 MB / 0.8262 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.869e-05/4.031, allocations: 6.75 kB / 0.8262 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001611/4.031, allocations: 13.66 kB / 0.8262 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07261/4.104, allocations: 11.07 MB / 0.837 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.119e-05/4.104, allocations: 0 / 0.837 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0178/4.122, allocations: 0.6056 MB / 0.8376 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03251/4.154, allocations: 3.069 MB / 0.8406 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001259/4.156, allocations: 69.28 kB / 0.8407 GB, free: 105.4 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03602/4.192, allocations: 13.8 MB / 0.8541 GB, free: 98.03 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007194/4.199, allocations: 5.787 MB / 0.8598 GB, free: 92.84 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05499/4.254, allocations: 11.53 MB / 0.871 GB, free: 92.04 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002791/4.257, allocations: 0.5939 MB / 0.8716 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003116/4.26, allocations: 39.64 kB / 0.8717 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01057/4.271, allocations: 330.3 kB / 0.872 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001851/4.273, allocations: 224.4 kB / 0.8722 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001015/4.274, allocations: 87.25 kB / 0.8723 GB, free: 91.95 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01242/4.286, allocations: 3.448 MB / 0.8756 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.743e-06/4.286, allocations: 3.625 kB / 0.8756 GB, free: 91.69 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01828/4.304, allocations: 1.887 MB / 0.8775 GB, free: 91.69 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET140691043258763.x[3],$STATESET140691043258763.x[2],$STATESET140691043258763.x[1],$STATESET140691043258762.x[3],$STATESET140691043258762.x[2],$STATESET140691043258762.x[1],$STATESET140691043258761.x[3],$STATESET140691043258761.x[2],$STATESET140691043258761.x[1],$STATESET140691043258760.x[3],$STATESET140691043258760.x[2],$STATESET140691043258760.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 (239): * Single equations (assignments): 222 * 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.04933/4.354, allocations: 12.35 MB / 0.8895 GB, free: 86.83 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03717/4.391, allocations: 10.74 MB / 0.9 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.816e-06/4.391, allocations: 3 kB / 0.9 GB, free: 82.78 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02185/4.413, allocations: 5.262 MB / 0.9052 GB, free: 79.8 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0087/4.422, allocations: 0.7031 MB / 0.9059 GB, free: 79.23 MB / 0.4948 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1838:5-1840:74:writable] Warning: Variable pointMass.v_0[1] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[3] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74:writable] Warning: Variable pointMass.r_0[2] has attribute stateSelect=StateSelect.never, but was selected as a state [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Mechanics/MultiBody/Parts.mo:1835:5-1837:74: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.07219/4.494, allocations: 18.71 MB / 0.9241 GB, free: 63.64 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01604/4.51, allocations: 5.41 MB / 0.9294 GB, free: 59.69 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01859/4.529, allocations: 2.991 MB / 0.9323 GB, free: 57.79 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01016/4.539, allocations: 3.598 MB / 0.9358 GB, free: 54.47 MB / 0.4948 GB Notification: Performance of SimCode: time 2.435e-06/4.539, allocations: 2.531 kB / 0.9358 GB, free: 54.47 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.079/5.618, allocations: 142.5 MB / 1.075 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000378/5.619, allocations: 167.1 kB / 1.075 GB, free: 100.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.3/15.92, allocations: 0 / 1.075 GB, free: 100.5 MB / 0.5105 GB