Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|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.body.Q.1.|bodyBox.body.Q.2.|bodyBox.body.Q.3.|bodyBox.body.Q.4.|bodyBox.body.w_a.1.|bodyBox.body.w_a.2.|bodyBox.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.|bodyCylinder.body.Q.1.|bodyCylinder.body.Q.2.|bodyCylinder.body.Q.3.|bodyCylinder.body.Q.4.|bodyCylinder.body.w_a.1.|bodyCylinder.body.w_a.2.|bodyCylinder.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.|bodyShape.body.Q.1.|bodyShape.body.Q.2.|bodyShape.body.Q.3.|bodyShape.body.Q.4.|bodyShape.body.w_a.1.|bodyShape.body.w_a.2.|bodyShape.body.w_a.3.|bodyShape.r_0.1.|bodyShape.r_0.2.|bodyShape.r_0.3.|bodyShape.v_0.1.|bodyShape.v_0.2.|bodyShape.v_0.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.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FreeBodies2") Notification: Performance of loadModel(ModelicaTest): time 2.022/2.022, allocations: 209.3 MB / 223.8 MB, free: 1.375 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.069e-05/3.073e-05, allocations: 4 kB / 276.2 MB, free: 15.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1125, allocations: 48.7 MB / 324.9 MB, free: 14.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Parts.FreeBodies2): time 0.3932/0.5057, allocations: 81.58 MB / 406.5 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.05747/0.5633, allocations: 17.29 MB / 423.7 MB, free: 5.609 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02179/0.5851, allocations: 442.9 kB / 424.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01847/0.6036, allocations: 4.336 MB / 428.5 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04651/0.6502, allocations: 11.58 MB / 440.1 MB, free: 5.211 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01027/0.6606, allocations: 1.151 MB / 441.2 MB, free: 4.059 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0569/0.7175, allocations: 18.81 MB / 460.1 MB, free: 1.242 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0197/0.7373, allocations: 8.604 MB / 468.7 MB, free: 8.574 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004638/0.742, allocations: 1.613 MB / 470.3 MB, free: 6.957 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005888/0.7479, allocations: 2.42 MB / 472.7 MB, free: 4.531 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004342/0.7523, allocations: 1.061 MB / 473.7 MB, free: 3.469 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002512/0.7549, allocations: 216 kB / 474 MB, free: 3.258 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00649/0.7614, allocations: 2.914 MB / 476.9 MB, free: 344 kB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003706/0.7652, allocations: 0.5196 MB / 477.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01713/0.7824, allocations: 10.45 MB / 487.8 MB, free: 5.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.7825, allocations: 0 / 487.8 MB, free: 5.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.246e-06/0.7825, allocations: 0 / 487.8 MB, free: 5.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004706/0.783, allocations: 0 / 487.8 MB, free: 5.34 MB / 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.02755/0.8105, allocations: 7.224 MB / 495.1 MB, free: 14.04 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.463e-05/0.8106, allocations: 8.031 kB / 495.1 MB, free: 14.03 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7752/1.586, allocations: 15.94 MB / 0.499 GB, free: 140.6 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02059/1.606, allocations: 6.273 MB / 0.5052 GB, free: 138.5 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007076/1.607, allocations: 469 kB / 0.5056 GB, free: 138.3 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0061/1.613, allocations: 0.9753 MB / 0.5066 GB, free: 138.1 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06005/1.673, allocations: 17.38 MB / 0.5235 GB, free: 130 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004459/1.674, allocations: 80.11 kB / 0.5236 GB, free: 129.9 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00275/1.677, allocations: 292 kB / 0.5239 GB, free: 129.8 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006518/1.683, allocations: 2.663 MB / 0.5265 GB, free: 128.8 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04953/1.733, allocations: 14.72 MB / 0.5409 GB, free: 115 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1269/1.86, allocations: 67.53 MB / 0.6068 GB, free: 46.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03605/1.896, allocations: 7.153 MB / 0.6138 GB, free: 39 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03815/1.934, allocations: 14.97 MB / 0.6284 GB, free: 23.73 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.994e-05/1.934, allocations: 64.5 kB / 0.6285 GB, free: 23.66 MB / 426.8 MB Notification: Performance of pre-optimization done (n=261): time 7.304e-06/1.934, allocations: 0 / 0.6285 GB, free: 23.66 MB / 426.8 MB Notification: Performance of matching and sorting (n=289): time 0.1307/2.065, allocations: 28.47 MB / 0.6563 GB, free: 10.75 MB / 442.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.006663/2.072, allocations: 6.325 MB / 0.6625 GB, free: 3.793 MB / 442.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.329/2.401, allocations: 6.335 MB / 0.6686 GB, free: 140.8 MB / 442.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001008/2.402, allocations: 68.34 kB / 0.6687 GB, free: 140.8 MB / 442.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.005867/2.408, allocations: 5.247 MB / 0.6738 GB, free: 137.9 MB / 442.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.002503/2.41, allocations: 1.188 MB / 0.675 GB, free: 137.1 MB / 442.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001779/2.412, allocations: 193.4 kB / 0.6752 GB, free: 136.9 MB / 442.8 MB Notification: Performance of setup shared object (initialization): time 0.001139/2.413, allocations: 0.7147 MB / 0.6759 GB, free: 136.4 MB / 442.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0133/2.427, allocations: 4.046 MB / 0.6798 GB, free: 135.1 MB / 442.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01611/2.443, allocations: 9.785 MB / 0.6894 GB, free: 126 MB / 442.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01594/2.459, allocations: 6.083 MB / 0.6953 GB, free: 123.7 MB / 442.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003539/2.459, allocations: 59.12 kB / 0.6954 GB, free: 123.7 MB / 442.8 MB Notification: Performance of matching and sorting (n=1267) (initialization): time 0.05348/2.513, allocations: 16.12 MB / 0.7111 GB, free: 117.9 MB / 442.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002765/2.513, allocations: 92.06 kB / 0.7112 GB, free: 117.9 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03362/2.547, allocations: 7.51 MB / 0.7185 GB, free: 115.5 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02543/2.572, allocations: 3.64 MB / 0.7221 GB, free: 112.3 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01911/2.591, allocations: 2.304 MB / 0.7243 GB, free: 110 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02461/2.616, allocations: 13.63 MB / 0.7377 GB, free: 95.56 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01402/2.63, allocations: 0.8476 MB / 0.7385 GB, free: 94.71 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002403/2.633, allocations: 0.5894 MB / 0.7391 GB, free: 94.13 MB / 442.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 925 * 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 (1191): * Single equations (assignments): 1166 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 8 * Torn equation systems: 6 * 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: 0 * 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: 4 {3 1,3 1,3 1,3 1} Notification: Performance of prepare postOptimizeDAE: time 0.009385/2.642, allocations: 3.355 MB / 0.7423 GB, free: 90.76 MB / 442.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002754/2.645, allocations: 0.5823 MB / 0.7429 GB, free: 90.17 MB / 442.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02759/2.672, allocations: 7.833 MB / 0.7506 GB, free: 82.29 MB / 442.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02629/2.699, allocations: 6.972 MB / 0.7574 GB, free: 75.26 MB / 442.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.021e-05/2.699, allocations: 8 kB / 0.7574 GB, free: 75.25 MB / 442.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.82e-05/2.699, allocations: 19.94 kB / 0.7574 GB, free: 75.23 MB / 442.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/2.719, allocations: 7.558 MB / 0.7648 GB, free: 67.7 MB / 442.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.345e-05/2.719, allocations: 0 / 0.7648 GB, free: 67.7 MB / 442.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006613/2.725, allocations: 0.6163 MB / 0.7654 GB, free: 67.08 MB / 442.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01758/2.743, allocations: 3.218 MB / 0.7685 GB, free: 63.81 MB / 442.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009153/2.744, allocations: 100.6 kB / 0.7686 GB, free: 63.71 MB / 442.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02277/2.767, allocations: 14.3 MB / 0.7826 GB, free: 48.62 MB / 442.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004942/2.772, allocations: 6.084 MB / 0.7885 GB, free: 41.97 MB / 442.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03596/2.808, allocations: 12.09 MB / 0.8003 GB, free: 29.73 MB / 442.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004376/2.812, allocations: 1.173 MB / 0.8015 GB, free: 28.54 MB / 442.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002358/2.815, allocations: 72.67 kB / 0.8015 GB, free: 28.46 MB / 442.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007223/2.822, allocations: 376.9 kB / 0.8019 GB, free: 28.1 MB / 442.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001261/2.823, allocations: 217.6 kB / 0.8021 GB, free: 27.89 MB / 442.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0007516/2.824, allocations: 91.92 kB / 0.8022 GB, free: 27.8 MB / 442.8 MB Notification: Performance of sorting global known variables: time 0.01061/2.835, allocations: 4.478 MB / 0.8066 GB, free: 23.34 MB / 442.8 MB Notification: Performance of sort global known variables: time 1.133e-06/2.835, allocations: 0 / 0.8066 GB, free: 23.34 MB / 442.8 MB Notification: Performance of remove unused functions: time 0.01248/2.847, allocations: 2.059 MB / 0.8086 GB, free: 21.29 MB / 442.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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.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 (235): * Single equations (assignments): 218 * 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%),(4,100.0%),(3,100.0%),(4,100.0%),(3,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.001798/2.849, allocations: 254.2 kB / 0.8088 GB, free: 21.04 MB / 442.8 MB Notification: Performance of simCode: created initialization part: time 0.03032/2.879, allocations: 11.45 MB / 0.82 GB, free: 9.367 MB / 442.8 MB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/2.879, allocations: 0 / 0.82 GB, free: 9.367 MB / 442.8 MB Notification: Performance of simCode: created simulation system equations: time 0.01746/2.897, allocations: 5.432 MB / 0.8253 GB, free: 3.672 MB / 442.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.324/3.221, allocations: 0.8417 MB / 0.8261 GB, free: 128.6 MB / 442.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06947/3.291, allocations: 22.57 MB / 0.8482 GB, free: 119.2 MB / 442.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01301/3.304, allocations: 5.402 MB / 0.8535 GB, free: 117.7 MB / 442.8 MB Notification: Performance of simCode: alias equations: time 0.01443/3.318, allocations: 2.938 MB / 0.8563 GB, free: 117.4 MB / 442.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00287/3.321, allocations: 436.9 kB / 0.8567 GB, free: 117.4 MB / 442.8 MB Notification: Performance of SimCode: time 1.523e-06/3.321, allocations: 0 / 0.8567 GB, free: 117.4 MB / 442.8 MB Notification: Performance of Templates: time 0.1995/3.521, allocations: 75.52 MB / 0.9305 GB, free: 53.86 MB / 442.8 MB