Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodiesEnforceStatesFalse,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FreeBodiesEnforceStatesFalse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.51/2.51, allocations: 270 MB / 282.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.329e-05/3.342e-05, allocations: 0 / 347.1 MB, free: 3.191 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4823/0.4823, allocations: 61.87 MB / 408.9 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2195/0.7019, allocations: 108.6 MB / 0.5054 GB, free: 13.89 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002882/0.7022, allocations: 75.97 kB / 0.5055 GB, free: 13.82 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9121/1.614, allocations: 148.1 MB / 0.6501 GB, free: 4.98 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.384e-06/1.614, allocations: 0 / 0.6501 GB, free: 4.98 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000642/1.615, allocations: 163.9 kB / 0.6502 GB, free: 4.82 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.06862/1.684, allocations: 8.853 MB / 0.6589 GB, free: 11.88 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/1.684, allocations: 12.03 kB / 0.6589 GB, free: 11.87 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00728/1.691, allocations: 1.345 MB / 0.6602 GB, free: 10.51 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0637/1.755, allocations: 7.782 MB / 0.6678 GB, free: 2.711 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04405/1.799, allocations: 10.42 MB / 0.678 GB, free: 8.207 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009838/1.8, allocations: 0.5896 MB / 0.6786 GB, free: 7.617 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004537/1.805, allocations: 0.7847 MB / 0.6793 GB, free: 6.832 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06655/1.871, allocations: 18.08 MB / 0.697 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006571/1.872, allocations: 107.1 kB / 0.6971 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003849/1.876, allocations: 379.8 kB / 0.6975 GB, free: 2.727 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004705/1.881, allocations: 1.683 MB / 0.6991 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05567/1.936, allocations: 14.37 MB / 0.7131 GB, free: 2.66 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5289/2.465, allocations: 81.21 MB / 0.7924 GB, free: 40.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03765/2.503, allocations: 7.535 MB / 0.7998 GB, free: 39.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007285/2.51, allocations: 3.382 MB / 0.8031 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03847/2.549, allocations: 17.18 MB / 0.8199 GB, free: 29.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.801e-05/2.549, allocations: 62.38 kB / 0.8199 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 6.632e-06/2.549, allocations: 0 / 0.8199 GB, free: 29.61 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.1146/2.664, allocations: 24.03 MB / 0.8434 GB, free: 21.37 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004785/2.668, allocations: 6.259 MB / 0.8495 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01423/2.683, allocations: 5.736 MB / 0.8551 GB, free: 13.27 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001025/2.684, allocations: 71.84 kB / 0.8552 GB, free: 13.2 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004546/2.688, allocations: 5.128 MB / 0.8602 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002217/2.691, allocations: 1.327 MB / 0.8615 GB, free: 8.18 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001311/2.692, allocations: 197.6 kB / 0.8617 GB, free: 8.023 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006533/2.693, allocations: 0.7373 MB / 0.8624 GB, free: 7.531 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009933/2.703, allocations: 3.926 MB / 0.8662 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01573/2.718, allocations: 9.693 MB / 0.8757 GB, free: 8.641 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01548/2.734, allocations: 6.073 MB / 0.8816 GB, free: 3.668 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002103/2.734, allocations: 60 kB / 0.8817 GB, free: 3.609 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.06846/2.803, allocations: 15.73 MB / 0.897 GB, free: 7.203 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001724/2.803, allocations: 93 kB / 0.8971 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03664/2.839, allocations: 7.9 MB / 0.9049 GB, free: 0.8516 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03219/2.872, allocations: 3.947 MB / 0.9087 GB, free: 14.33 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01537/2.887, allocations: 2.369 MB / 0.911 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4309/3.318, allocations: 13.54 MB / 0.9242 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0155/3.334, allocations: 0.8714 MB / 0.9251 GB, free: 123.1 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00297/3.337, allocations: 0.6 MB / 0.9257 GB, free: 123.1 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.004063/3.341, allocations: 0.8845 MB / 0.9265 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001848/3.343, allocations: 0.5961 MB / 0.9271 GB, free: 123 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0288/3.372, allocations: 7.797 MB / 0.9347 GB, free: 122.7 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02504/3.397, allocations: 6.931 MB / 0.9415 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.805e-05/3.397, allocations: 9.203 kB / 0.9415 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.76e-05/3.397, allocations: 17.8 kB / 0.9415 GB, free: 122.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06765/3.464, allocations: 19.53 MB / 0.9606 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.843e-05/3.465, allocations: 10.31 kB / 0.9606 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007013/3.472, allocations: 0.6532 MB / 0.9613 GB, free: 121.4 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01747/3.489, allocations: 3.138 MB / 0.9643 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001109/3.49, allocations: 105.8 kB / 0.9644 GB, free: 121.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02179/3.512, allocations: 14.01 MB / 0.9781 GB, free: 113.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004615/3.517, allocations: 6.026 MB / 0.984 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03483/3.552, allocations: 12.73 MB / 0.9964 GB, free: 104.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002558/3.554, allocations: 0.6521 MB / 0.9971 GB, free: 104.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002773/3.557, allocations: 88.34 kB / 0.9971 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007641/3.565, allocations: 386.4 kB / 0.9975 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00141/3.566, allocations: 247.7 kB / 0.9977 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005019/3.567, allocations: 96.47 kB / 0.9978 GB, free: 104.5 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01062/3.577, allocations: 3.982 MB / 1.002 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.92e-07/3.578, allocations: 3.656 kB / 1.002 GB, free: 103.1 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01374/3.591, allocations: 2.098 MB / 1.004 GB, free: 102.9 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.0371/3.628, allocations: 14.24 MB / 1.018 GB, free: 96.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.03745/3.666, allocations: 11.09 MB / 1.029 GB, free: 91.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/3.666, allocations: 3.906 kB / 1.029 GB, free: 91.05 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.02335/3.689, allocations: 5.407 MB / 1.034 GB, free: 86.26 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009761/3.699, allocations: 0.8491 MB / 1.035 GB, free: 85.56 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.08238/3.782, allocations: 20.45 MB / 1.055 GB, free: 68.4 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01596/3.798, allocations: 5.531 MB / 1.06 GB, free: 64.39 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008565/3.806, allocations: 3.781 MB / 1.064 GB, free: 60.89 MB / 0.5573 GB Notification: Performance of SimCode: time 1.693e-06/3.806, allocations: 4 kB / 1.064 GB, free: 60.89 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.33/12.14, allocations: 0.5554 GB / 1.619 GB, free: 154.9 MB / 0.6042 GB