Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.361/2.361, allocations: 234.9 MB / 250.1 MB, free: 9.941 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.364e-05/3.363e-05, allocations: 4 kB / 308 MB, free: 15.92 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3897/0.3897, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint): time 0.05197/0.4418, allocations: 32.89 MB / 395.7 MB, free: 12.88 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.02296/0.4648, allocations: 8.024 MB / 403.8 MB, free: 4.828 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007627/0.4725, allocations: 167.6 kB / 403.9 MB, free: 4.664 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006342/0.4789, allocations: 1.703 MB / 405.6 MB, free: 2.953 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01814/0.497, allocations: 4.795 MB / 410.4 MB, free: 14.14 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00333/0.5004, allocations: 0.5498 MB / 411 MB, free: 13.59 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.02629/0.5268, allocations: 8.734 MB / 419.7 MB, free: 4.852 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006711/0.5335, allocations: 3.252 MB / 423 MB, free: 1.57 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001667/0.5352, allocations: 0.7207 MB / 423.7 MB, free: 0.8477 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002333/0.5376, allocations: 1.122 MB / 424.8 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002485/0.5401, allocations: 0.9246 MB / 425.7 MB, free: 14.8 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000843/0.541, allocations: 131.9 kB / 425.9 MB, free: 14.67 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001855/0.5429, allocations: 1.329 MB / 427.2 MB, free: 13.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009111/0.5438, allocations: 232 kB / 427.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008388/0.5522, allocations: 5.274 MB / 432.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.193e-06/0.5523, allocations: 0 / 432.7 MB, free: 7.824 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.826e-06/0.5523, allocations: 3.938 kB / 432.7 MB, free: 7.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001768/0.5525, allocations: 0 / 432.7 MB, free: 7.82 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1388 * Number of variables: 1388 Notification: Performance of Generate backend data structure: time 0.01321/0.5657, allocations: 3.761 MB / 436.5 MB, free: 3.996 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.258e-05/0.5658, allocations: 8.031 kB / 436.5 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07475/0.6405, allocations: 6.773 MB / 443.2 MB, free: 13.2 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01108/0.6517, allocations: 2.604 MB / 445.8 MB, free: 10.53 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003971/0.6521, allocations: 209.2 kB / 446 MB, free: 10.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001891/0.654, allocations: 279.8 kB / 446.3 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03209/0.6862, allocations: 9.333 MB / 455.6 MB, free: 96 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000165/0.6864, allocations: 39.66 kB / 455.7 MB, free: 56 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006586/0.687, allocations: 131.9 kB / 455.8 MB, free: 15.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004777/0.6918, allocations: 1.798 MB / 457.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02555/0.7174, allocations: 8.109 MB / 465.7 MB, free: 5.992 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07934/0.7968, allocations: 36.08 MB / 0.49 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3284/1.125, allocations: 3.708 MB / 0.4937 GB, free: 121.6 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005445/1.126, allocations: 333.8 kB / 0.494 GB, free: 121.3 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.44e-05/1.126, allocations: 50.62 kB / 0.494 GB, free: 121.3 MB / 426.7 MB Notification: Performance of pre-optimization done (n=156): time 5.16e-06/1.126, allocations: 0 / 0.494 GB, free: 121.3 MB / 426.7 MB Notification: Performance of matching and sorting (n=177): time 0.06246/1.188, allocations: 15.99 MB / 0.5096 GB, free: 114.6 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/1.189, allocations: 179.2 kB / 0.5098 GB, free: 114.4 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007012/1.196, allocations: 3.349 MB / 0.5131 GB, free: 111.1 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005061/1.196, allocations: 49.7 kB / 0.5131 GB, free: 111 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002152/1.198, allocations: 2.747 MB / 0.5158 GB, free: 108.3 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001053/1.199, allocations: 0.6768 MB / 0.5165 GB, free: 107.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005614/1.2, allocations: 109.1 kB / 0.5166 GB, free: 107.5 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003411/1.2, allocations: 0.546 MB / 0.5171 GB, free: 106.9 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004857/1.205, allocations: 2.158 MB / 0.5192 GB, free: 104.8 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006547/1.212, allocations: 5.458 MB / 0.5246 GB, free: 97.76 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007159/1.219, allocations: 3.391 MB / 0.5279 GB, free: 94.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.292e-05/1.219, allocations: 32 kB / 0.5279 GB, free: 94.37 MB / 426.7 MB Notification: Performance of matching and sorting (n=716) (initialization): time 0.02096/1.24, allocations: 8.089 MB / 0.5358 GB, free: 86.27 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.432e-05/1.24, allocations: 60.23 kB / 0.5359 GB, free: 86.21 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001271/1.24, allocations: 123.2 kB / 0.536 GB, free: 86.09 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003848/1.244, allocations: 0.9843 MB / 0.5369 GB, free: 85.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007534/1.252, allocations: 1.255 MB / 0.5382 GB, free: 83.84 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01214/1.264, allocations: 6.644 MB / 0.5446 GB, free: 77.07 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005706/1.27, allocations: 315.4 kB / 0.5449 GB, free: 76.76 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001019/1.271, allocations: 340 kB / 0.5453 GB, free: 76.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 533 * Number of states: 0 () * Number of discrete variables: 21 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.color[3],torque.color[2],torque.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.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 (668): * Single equations (assignments): 664 * 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%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004456/1.275, allocations: 1.935 MB / 0.5472 GB, free: 74.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008169/1.276, allocations: 315.9 kB / 0.5475 GB, free: 74.17 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009602/1.286, allocations: 3.56 MB / 0.5509 GB, free: 70.6 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.727e-05/1.286, allocations: 20 kB / 0.551 GB, free: 70.58 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.464e-05/1.286, allocations: 8 kB / 0.551 GB, free: 70.57 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.842e-05/1.286, allocations: 7.969 kB / 0.551 GB, free: 70.57 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02263/1.309, allocations: 8.663 MB / 0.5594 GB, free: 61.89 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.035e-05/1.309, allocations: 4 kB / 0.5594 GB, free: 61.88 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002657/1.311, allocations: 275.5 kB / 0.5597 GB, free: 61.61 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003477/1.315, allocations: 0.81 MB / 0.5605 GB, free: 60.8 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003784/1.315, allocations: 31.95 kB / 0.5605 GB, free: 60.77 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01195/1.327, allocations: 6.138 MB / 0.5665 GB, free: 54.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/1.327, allocations: 7.938 kB / 0.5665 GB, free: 54.49 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01505/1.342, allocations: 6.438 MB / 0.5728 GB, free: 48.01 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002208/1.345, allocations: 0.6688 MB / 0.5735 GB, free: 47.32 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001068/1.346, allocations: 29.17 kB / 0.5735 GB, free: 47.29 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002886/1.349, allocations: 111.8 kB / 0.5736 GB, free: 47.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006044/1.349, allocations: 104.8 kB / 0.5737 GB, free: 47.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002151/1.35, allocations: 44.94 kB / 0.5737 GB, free: 47.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005273/1.355, allocations: 2.352 MB / 0.576 GB, free: 44.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.62e-07/1.355, allocations: 4 kB / 0.576 GB, free: 44.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005972/1.361, allocations: 0.959 MB / 0.577 GB, free: 43.74 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (universal.phi_a,universal.phi_b,universal.w_a,universal.w_b) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 133 * 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 {(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008882/1.362, allocations: 168.2 kB / 0.5771 GB, free: 43.58 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01171/1.373, allocations: 5.234 MB / 0.5822 GB, free: 38.36 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/1.374, allocations: 0 / 0.5822 GB, free: 38.36 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005189/1.379, allocations: 1.952 MB / 0.5842 GB, free: 36.39 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00299/1.382, allocations: 358.2 kB / 0.5845 GB, free: 36.04 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02237/1.404, allocations: 10.75 MB / 0.595 GB, free: 25.25 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005358/1.41, allocations: 3.14 MB / 0.5981 GB, free: 22.09 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001748/1.411, allocations: 275.4 kB / 0.5983 GB, free: 21.82 MB / 426.7 MB Notification: Performance of SimCode: time 1.403e-06/1.411, allocations: 3.938 kB / 0.5983 GB, free: 21.81 MB / 426.7 MB Notification: Performance of Templates: time 0.4537/1.865, allocations: 69.66 MB / 0.6664 GB, free: 151.6 MB / 474.7 MB