Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FreeBodies",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.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.84e-05/2.844e-05, allocations: 7.984 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4848/0.4848, allocations: 54.85 MB / 354.4 MB, free: 15.2 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.315/0.7999, allocations: 98.59 MB / 453 MB, free: 12.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004651/0.8004, allocations: 79.95 kB / 453.1 MB, free: 12.39 MB / 394.7 MB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6721:35-6721:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6722:13-6722:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6743:35-6743:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6744:13-6744:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6765:35-6765:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6766:13-6766:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6793:35-6793:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6794:13-6794:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6805:35-6805:45:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/MultiBody.mo:6806:13-6806:23:writable] Warning: Non-array modification 'true' for array component, possibly due to missing 'each'. Notification: Performance of FrontEnd - DAE generated: time 1.295/2.096, allocations: 139.6 MB / 0.5788 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.38e-06/2.096, allocations: 0 / 0.5788 GB, free: 0.5898 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006943/2.097, allocations: 159.9 kB / 0.5789 GB, free: 444 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.07998/2.177, allocations: 8.672 MB / 0.5874 GB, free: 7.688 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.174e-05/2.177, allocations: 12.03 kB / 0.5874 GB, free: 7.676 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00732/2.184, allocations: 0.9913 MB / 0.5884 GB, free: 6.676 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.09815/2.282, allocations: 7.744 MB / 0.5959 GB, free: 14.91 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05838/2.341, allocations: 10.95 MB / 0.6066 GB, free: 3.883 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007228/2.341, allocations: 323.2 kB / 0.6069 GB, free: 3.566 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00415/2.346, allocations: 455.8 kB / 0.6074 GB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03454/2.38, allocations: 10.04 MB / 0.6172 GB, free: 9.078 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4594/2.84, allocations: 15.13 MB / 0.6319 GB, free: 63.17 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001049/2.841, allocations: 102.1 kB / 0.632 GB, free: 63.17 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00497/2.846, allocations: 47.25 kB / 0.6321 GB, free: 63.17 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005809/2.852, allocations: 1.604 MB / 0.6336 GB, free: 63.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1404/2.992, allocations: 77.61 MB / 0.7094 GB, free: 18.2 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/3.003, allocations: 4.347 MB / 0.7137 GB, free: 17.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007215/3.01, allocations: 3.055 MB / 0.7167 GB, free: 15.92 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003552/3.01, allocations: 44.28 kB / 0.7167 GB, free: 15.91 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.858e-05/3.01, allocations: 62.84 kB / 0.7168 GB, free: 15.86 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 8.887e-06/3.01, allocations: 0 / 0.7168 GB, free: 15.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.1052/3.116, allocations: 21.59 MB / 0.7378 GB, free: 7.746 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/3.116, allocations: 238.6 kB / 0.7381 GB, free: 7.492 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02158/3.137, allocations: 5.139 MB / 0.7431 GB, free: 5.625 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00145/3.139, allocations: 29.17 kB / 0.7431 GB, free: 5.594 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007229/3.146, allocations: 5.3 MB / 0.7483 GB, free: 1.512 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002391/3.149, allocations: 1.178 MB / 0.7494 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001465/3.15, allocations: 0 / 0.7494 GB, free: 0.6484 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008202/3.151, allocations: 0.7324 MB / 0.7502 GB, free: 168 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0175/3.168, allocations: 3.978 MB / 0.754 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0182/3.187, allocations: 9.57 MB / 0.7634 GB, free: 6.688 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01641/3.203, allocations: 5.804 MB / 0.7691 GB, free: 4.496 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002606/3.203, allocations: 67.47 kB / 0.7691 GB, free: 4.488 MB / 474.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.07752/3.281, allocations: 15 MB / 0.7838 GB, free: 9.887 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002535/3.281, allocations: 96 kB / 0.7839 GB, free: 9.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.05937/3.341, allocations: 7.493 MB / 0.7912 GB, free: 3.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04138/3.382, allocations: 3.852 MB / 0.7949 GB, free: 1.359 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02027/3.402, allocations: 2.361 MB / 0.7973 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03264/3.435, allocations: 13.1 MB / 0.81 GB, free: 3.035 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01821/3.453, allocations: 0.6835 MB / 0.8107 GB, free: 2.574 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003901/3.457, allocations: 0.6066 MB / 0.8113 GB, free: 1.992 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.004424/3.462, allocations: 0.646 MB / 0.8119 GB, free: 1.348 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002793/3.465, allocations: 0.5554 MB / 0.8125 GB, free: 0.7852 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.567/4.032, allocations: 7.769 MB / 0.8201 GB, free: 107 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02885/4.061, allocations: 6.548 MB / 0.8265 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.364e-05/4.061, allocations: 7.125 kB / 0.8265 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001364/4.061, allocations: 18.39 kB / 0.8265 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03879/4.1, allocations: 11.01 MB / 0.8372 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.821e-05/4.1, allocations: 3.062 kB / 0.8372 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008288/4.108, allocations: 0.6042 MB / 0.8378 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02169/4.13, allocations: 3.068 MB / 0.8408 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001068/4.131, allocations: 68.08 kB / 0.8409 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02773/4.159, allocations: 13.76 MB / 0.8543 GB, free: 98.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005541/4.164, allocations: 5.777 MB / 0.86 GB, free: 93.47 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04103/4.205, allocations: 11.51 MB / 0.8712 GB, free: 92.68 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002387/4.208, allocations: 0.5918 MB / 0.8718 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002883/4.211, allocations: 42.81 kB / 0.8718 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008779/4.22, allocations: 332.2 kB / 0.8721 GB, free: 92.59 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001606/4.221, allocations: 221.2 kB / 0.8724 GB, free: 92.58 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007656/4.222, allocations: 91.69 kB / 0.8724 GB, free: 92.58 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01049/4.233, allocations: 3.448 MB / 0.8758 GB, free: 92.37 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.363e-06/4.233, allocations: 0 / 0.8758 GB, free: 92.37 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01599/4.249, allocations: 1.884 MB / 0.8777 GB, free: 92.37 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET139948007375243.x[3],$STATESET139948007375243.x[2],$STATESET139948007375243.x[1],$STATESET139948007375242.x[3],$STATESET139948007375242.x[2],$STATESET139948007375242.x[1],$STATESET139948007375241.x[3],$STATESET139948007375241.x[2],$STATESET139948007375241.x[1],$STATESET139948007375240.x[3],$STATESET139948007375240.x[2],$STATESET139948007375240.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.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.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_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.04161/4.29, allocations: 12.33 MB / 0.8897 GB, free: 88.66 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03405/4.324, allocations: 10.7 MB / 0.9001 GB, free: 84.64 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/4.324, allocations: 3.438 kB / 0.9002 GB, free: 84.64 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02016/4.345, allocations: 5.22 MB / 0.9052 GB, free: 82.11 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008505/4.353, allocations: 0.6993 MB / 0.9059 GB, free: 81.84 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07038/4.424, allocations: 18.67 MB / 0.9242 GB, free: 66.91 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01537/4.439, allocations: 5.414 MB / 0.9294 GB, free: 62.96 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01827/4.457, allocations: 2.983 MB / 0.9324 GB, free: 61.07 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01056/4.468, allocations: 3.583 MB / 0.9359 GB, free: 57.76 MB / 0.4948 GB Notification: Performance of SimCode: time 1.532e-06/4.468, allocations: 0 / 0.9359 GB, free: 57.76 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8786/5.347, allocations: 142.3 MB / 1.075 GB, free: 103.4 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003772/5.347, allocations: 137.4 kB / 1.075 GB, free: 103.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.25/15.59, allocations: 0 / 1.075 GB, free: 103.2 MB / 0.5105 GB