Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.v_rel_a.1.|prismatic1.s|prismatic1.v|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b|universal1.phi_a|universal1.phi_b|universal1.w_a|universal1.w_b",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion2") Notification: Performance of loadModel(ModelicaTest): time 2.379/2.379, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.691e-05/3.684e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4446, allocations: 54.86 MB / 362.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion2): time 0.1265/0.5712, allocations: 58.81 MB / 421.7 MB, free: 2.832 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04064/0.6119, allocations: 13.1 MB / 434.8 MB, free: 5.688 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01462/0.6265, allocations: 315.2 kB / 435.1 MB, free: 5.379 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.6379, allocations: 3.115 MB / 438.2 MB, free: 2.25 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03316/0.6711, allocations: 8.426 MB / 446.7 MB, free: 9.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006853/0.6781, allocations: 0.8854 MB / 447.5 MB, free: 8.914 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05245/0.7306, allocations: 17.23 MB / 464.8 MB, free: 7.668 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.743, allocations: 5.702 MB / 470.5 MB, free: 1.906 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0031/0.7462, allocations: 1.212 MB / 471.7 MB, free: 0.6914 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004333/0.7505, allocations: 1.909 MB / 473.6 MB, free: 14.78 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003431/0.754, allocations: 0.9676 MB / 474.6 MB, free: 13.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.7556, allocations: 184 kB / 474.7 MB, free: 13.63 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003806/0.7594, allocations: 2.205 MB / 476.9 MB, free: 11.42 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002047/0.7615, allocations: 396 kB / 477.3 MB, free: 11.03 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01312/0.7747, allocations: 8.206 MB / 485.5 MB, free: 2.805 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.7748, allocations: 0 / 485.5 MB, free: 2.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7748, allocations: 0 / 485.5 MB, free: 2.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003336/0.7751, allocations: 0 / 485.5 MB, free: 2.805 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: 2027 * Number of variables: 2027 Notification: Performance of Generate backend data structure: time 0.02253/0.7977, allocations: 6.003 MB / 491.5 MB, free: 12.73 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.7977, allocations: 12.03 kB / 491.6 MB, free: 12.71 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6844/1.482, allocations: 19.04 MB / 0.4986 GB, free: 121.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01514/1.497, allocations: 5.004 MB / 0.5035 GB, free: 118.6 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004194/1.498, allocations: 337.8 kB / 0.5038 GB, free: 118.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002042/1.5, allocations: 455.8 kB / 0.5043 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03525/1.535, allocations: 13.71 MB / 0.5177 GB, free: 104.8 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003232/1.536, allocations: 71.33 kB / 0.5177 GB, free: 104.7 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00194/1.537, allocations: 209 kB / 0.5179 GB, free: 104.6 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005334/1.543, allocations: 2.427 MB / 0.5203 GB, free: 102.2 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03439/1.577, allocations: 11.72 MB / 0.5317 GB, free: 90.45 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0902/1.668, allocations: 53.79 MB / 0.5843 GB, free: 35.53 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02321/1.691, allocations: 5.825 MB / 0.59 GB, free: 29.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009074/1.692, allocations: 0.6917 MB / 0.5906 GB, free: 28.77 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.411e-05/1.692, allocations: 60.5 kB / 0.5907 GB, free: 28.7 MB / 426.7 MB Notification: Performance of pre-optimization done (n=254): time 6.212e-06/1.692, allocations: 0 / 0.5907 GB, free: 28.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=324): time 0.1685/1.86, allocations: 36.74 MB / 0.6266 GB, free: 7.723 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001629/1.861, allocations: 269.4 kB / 0.6268 GB, free: 7.402 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01151/1.872, allocations: 5.068 MB / 0.6318 GB, free: 2.348 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009287/1.873, allocations: 77.69 kB / 0.6319 GB, free: 2.266 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004481/1.878, allocations: 4.034 MB / 0.6358 GB, free: 14.18 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002227/1.88, allocations: 1.199 MB / 0.637 GB, free: 12.96 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008612/1.881, allocations: 152 kB / 0.6371 GB, free: 12.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005648/1.881, allocations: 0.6363 MB / 0.6377 GB, free: 12.18 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009491/1.891, allocations: 3.435 MB / 0.6411 GB, free: 8.738 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01417/1.905, allocations: 7.649 MB / 0.6486 GB, free: 15.02 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/1.919, allocations: 5.052 MB / 0.6535 GB, free: 9.953 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001357/1.919, allocations: 40 kB / 0.6535 GB, free: 9.914 MB / 474.7 MB Notification: Performance of matching and sorting (n=1004) (initialization): time 0.04126/1.96, allocations: 12.88 MB / 0.6661 GB, free: 12.98 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.96, allocations: 68 kB / 0.6662 GB, free: 12.91 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002418/1.961, allocations: 148 kB / 0.6663 GB, free: 12.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01068/1.971, allocations: 2.262 MB / 0.6685 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01197/1.983, allocations: 1.762 MB / 0.6702 GB, free: 8.73 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3594/2.343, allocations: 15.75 MB / 0.6856 GB, free: 158.6 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009441/2.352, allocations: 461.5 kB / 0.6861 GB, free: 158.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002013/2.354, allocations: 458.4 kB / 0.6865 GB, free: 158.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 669 * Number of states: 0 () * Number of discrete variables: 39 (universal1.cylinderColor[3],universal1.cylinderColor[2],universal1.cylinderColor[1],prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],fixed.color[3],fixed.color[2],fixed.color[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[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 (928): * Single equations (assignments): 923 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,100.0%) 24,(3,100.0%) 24} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00772/2.362, allocations: 2.777 MB / 0.6892 GB, free: 157.4 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001513/2.364, allocations: 498.4 kB / 0.6897 GB, free: 157.4 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0235/2.387, allocations: 7.421 MB / 0.6969 GB, free: 154.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-05/2.387, allocations: 34.81 kB / 0.697 GB, free: 154.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.509e-05/2.387, allocations: 11.53 kB / 0.697 GB, free: 154.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.453e-05/2.388, allocations: 14.95 kB / 0.697 GB, free: 154.6 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04681/2.434, allocations: 16.67 MB / 0.7133 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.897e-05/2.434, allocations: 7.797 kB / 0.7133 GB, free: 148.2 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004954/2.439, allocations: 0.5204 MB / 0.7138 GB, free: 147.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009173/2.449, allocations: 2.005 MB / 0.7157 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008196/2.449, allocations: 63.98 kB / 0.7158 GB, free: 146.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03048/2.48, allocations: 14.23 MB / 0.7297 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/2.48, allocations: 11.94 kB / 0.7297 GB, free: 131.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03062/2.511, allocations: 12.69 MB / 0.7421 GB, free: 119 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003789/2.515, allocations: 1.105 MB / 0.7432 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00165/2.516, allocations: 61.09 kB / 0.7432 GB, free: 117.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004859/2.521, allocations: 223.6 kB / 0.7435 GB, free: 117.6 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008658/2.522, allocations: 213.5 kB / 0.7437 GB, free: 117.4 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003747/2.522, allocations: 93.2 kB / 0.7438 GB, free: 117.3 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.00765/2.53, allocations: 3.633 MB / 0.7473 GB, free: 113.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.293e-06/2.53, allocations: 0 / 0.7473 GB, free: 113.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009272/2.539, allocations: 1.539 MB / 0.7488 GB, free: 112.2 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 12 (freeMotion.r_rel_a[1],freeMotion.v_rel_a[1],universal.phi_a,universal.phi_b,universal.w_a,universal.w_b,prismatic1.s,prismatic1.v,universal1.phi_a,universal1.phi_b,universal1.w_a,universal1.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (263): * Single equations (assignments): 258 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(7,46.9%) 17,(7,46.9%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/2.541, allocations: 224.3 kB / 0.749 GB, free: 112 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02229/2.563, allocations: 8.548 MB / 0.7574 GB, free: 103.5 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.857e-05/2.563, allocations: 5.969 kB / 0.7574 GB, free: 103.5 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01904/2.582, allocations: 4.113 MB / 0.7614 GB, free: 99.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007311/2.589, allocations: 0.6264 MB / 0.762 GB, free: 98.73 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04414/2.634, allocations: 17.01 MB / 0.7786 GB, free: 81.75 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008774/2.642, allocations: 4.533 MB / 0.783 GB, free: 77.18 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0108/2.653, allocations: 2.512 MB / 0.7855 GB, free: 74.66 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002496/2.656, allocations: 367.3 kB / 0.7858 GB, free: 74.3 MB / 490.7 MB Notification: Performance of SimCode: time 2.355e-06/2.656, allocations: 0 / 0.7858 GB, free: 74.3 MB / 490.7 MB Notification: Performance of Templates: time 0.1971/2.853, allocations: 63.38 MB / 0.8477 GB, free: 11 MB / 490.7 MB