Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 1.921/1.921, allocations: 209.3 MB / 223.8 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.833e-05/3.802e-05, allocations: 4 kB / 276.2 MB, free: 15.21 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4092, allocations: 48.7 MB / 324.9 MB, free: 3.379 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP2): time 0.06047/0.4697, allocations: 38.08 MB / 363 MB, free: 9.043 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02904/0.4988, allocations: 9.297 MB / 372.3 MB, free: 20 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01187/0.5107, allocations: 203.6 kB / 372.5 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007794/0.5186, allocations: 1.971 MB / 374.4 MB, free: 13.84 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02159/0.5402, allocations: 5.454 MB / 379.9 MB, free: 8.371 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004769/0.545, allocations: 0.9282 MB / 380.8 MB, free: 7.441 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.02851/0.5736, allocations: 9.436 MB / 390.2 MB, free: 13.99 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01205/0.5857, allocations: 5.695 MB / 395.9 MB, free: 8.254 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002819/0.5886, allocations: 1.107 MB / 397 MB, free: 7.145 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003993/0.5926, allocations: 1.757 MB / 398.8 MB, free: 5.383 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003814/0.5965, allocations: 1.182 MB / 400 MB, free: 4.199 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001714/0.5982, allocations: 188 kB / 400.2 MB, free: 4.016 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004033/0.6023, allocations: 2.034 MB / 402.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001867/0.6042, allocations: 348 kB / 402.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.6179, allocations: 7.922 MB / 410.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6179, allocations: 0 / 410.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.6179, allocations: 0 / 410.5 MB, free: 9.695 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003443/0.6183, allocations: 0 / 410.5 MB, free: 9.695 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.02035/0.6387, allocations: 5.442 MB / 415.9 MB, free: 4.18 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/0.6387, allocations: 8.031 kB / 415.9 MB, free: 4.172 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1862/0.825, allocations: 10.8 MB / 426.7 MB, free: 9.344 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.839, allocations: 4.123 MB / 430.8 MB, free: 5.16 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005837/0.8397, allocations: 345.8 kB / 431.2 MB, free: 4.812 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002406/0.8421, allocations: 435.6 kB / 431.6 MB, free: 4.387 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04506/0.8872, allocations: 13.98 MB / 445.6 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002349/0.8875, allocations: 55.47 kB / 445.6 MB, free: 5.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001603/0.8891, allocations: 199.8 kB / 445.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006583/0.8957, allocations: 2.34 MB / 448.2 MB, free: 2.957 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04292/0.9387, allocations: 11.81 MB / 460 MB, free: 7.133 MB / 394.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3872/1.326, allocations: 51.55 MB / 0.4996 GB, free: 94.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02132/1.347, allocations: 4.688 MB / 0.5041 GB, free: 92.6 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02715/1.375, allocations: 12.48 MB / 0.5163 GB, free: 85.69 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.645e-05/1.375, allocations: 65.59 kB / 0.5164 GB, free: 85.63 MB / 410.7 MB Notification: Performance of pre-optimization done (n=191): time 6.362e-06/1.375, allocations: 0 / 0.5164 GB, free: 85.63 MB / 410.7 MB Notification: Performance of matching and sorting (n=242): time 0.2732/1.648, allocations: 42.65 MB / 0.558 GB, free: 50.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.91e-05/1.648, allocations: 235.6 kB / 0.5583 GB, free: 50.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009819/1.658, allocations: 4.486 MB / 0.5626 GB, free: 45.7 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006466/1.659, allocations: 66.91 kB / 0.5627 GB, free: 45.63 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003221/1.662, allocations: 3.89 MB / 0.5665 GB, free: 41.74 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001473/1.663, allocations: 0.9144 MB / 0.5674 GB, free: 40.83 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008466/1.664, allocations: 140 kB / 0.5675 GB, free: 40.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000441/1.665, allocations: 0.6117 MB / 0.5681 GB, free: 40.08 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008046/1.673, allocations: 3.223 MB / 0.5713 GB, free: 36.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01075/1.684, allocations: 7.471 MB / 0.5786 GB, free: 27.27 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/1.694, allocations: 4.763 MB / 0.5832 GB, free: 22.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001109/1.694, allocations: 44 kB / 0.5833 GB, free: 22.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=937) (initialization): time 0.0453/1.739, allocations: 13.77 MB / 0.5967 GB, free: 8.68 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001091/1.74, allocations: 72 kB / 0.5968 GB, free: 8.609 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001991/1.74, allocations: 148.9 kB / 0.5969 GB, free: 8.465 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02074/1.761, allocations: 3.804 MB / 0.6006 GB, free: 4.656 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009647/1.77, allocations: 1.591 MB / 0.6022 GB, free: 3.062 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0488/1.819, allocations: 18.6 MB / 0.6203 GB, free: 336 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008298/1.827, allocations: 451.4 kB / 0.6208 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001318/1.829, allocations: 435.4 kB / 0.6212 GB, free: 15.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 684 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (854): * Single equations (assignments): 850 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007065/1.836, allocations: 2.606 MB / 0.6237 GB, free: 12.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/1.837, allocations: 430.4 kB / 0.6241 GB, free: 12.42 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03266/1.87, allocations: 8.122 MB / 0.6321 GB, free: 4.27 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-05/1.87, allocations: 28 kB / 0.6321 GB, free: 4.242 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.385e-05/1.87, allocations: 12 kB / 0.6321 GB, free: 4.23 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.295e-05/1.87, allocations: 11.95 kB / 0.6321 GB, free: 4.219 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3559/2.226, allocations: 17.51 MB / 0.6492 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.71e-05/2.226, allocations: 1.25 kB / 0.6492 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003859/2.23, allocations: 390.3 kB / 0.6496 GB, free: 140.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0222/2.252, allocations: 3.831 MB / 0.6533 GB, free: 139.6 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005932/2.253, allocations: 44.48 kB / 0.6534 GB, free: 139.6 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04061/2.294, allocations: 17.04 MB / 0.67 GB, free: 132.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/2.294, allocations: 0 / 0.67 GB, free: 132.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03869/2.332, allocations: 12.62 MB / 0.6824 GB, free: 122.3 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003402/2.336, allocations: 0.9482 MB / 0.6833 GB, free: 121.6 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001656/2.338, allocations: 36 kB / 0.6833 GB, free: 121.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004824/2.342, allocations: 215.2 kB / 0.6835 GB, free: 121.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009676/2.343, allocations: 142.2 kB / 0.6837 GB, free: 121.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003323/2.344, allocations: 64.92 kB / 0.6837 GB, free: 121.1 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007079/2.351, allocations: 3.163 MB / 0.6868 GB, free: 118 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.182e-06/2.351, allocations: 0 / 0.6868 GB, free: 118 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008325/2.359, allocations: 1.465 MB / 0.6882 GB, free: 116.5 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/2.361, allocations: 214 kB / 0.6884 GB, free: 116.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0177/2.378, allocations: 7.847 MB / 0.6961 GB, free: 108.6 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.298e-06/2.378, allocations: 0 / 0.6961 GB, free: 108.6 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007609/2.386, allocations: 2.964 MB / 0.699 GB, free: 105.6 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005001/2.391, allocations: 0.4918 MB / 0.6995 GB, free: 105.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03145/2.423, allocations: 14.77 MB / 0.7139 GB, free: 90.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008466/2.431, allocations: 4.204 MB / 0.718 GB, free: 86.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.009844/2.441, allocations: 2.175 MB / 0.7201 GB, free: 84.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001795/2.443, allocations: 283.4 kB / 0.7204 GB, free: 83.85 MB / 442.7 MB Notification: Performance of SimCode: time 1.302e-06/2.443, allocations: 0 / 0.7204 GB, free: 83.85 MB / 442.7 MB Notification: Performance of Templates: time 0.1509/2.594, allocations: 59.27 MB / 0.7783 GB, free: 24.72 MB / 442.7 MB