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.185/2.185, allocations: 235 MB / 247.6 MB, free: 14.31 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.429e-05/3.437e-05, allocations: 4 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3223/0.3224, allocations: 54.85 MB / 359.8 MB, free: 2.645 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1522/0.4747, allocations: 99.45 MB / 459.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002453/0.475, allocations: 75.95 kB / 459.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6126/1.088, allocations: 80.49 MB / 0.5271 GB, free: 102.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.088, allocations: 7.156 kB / 0.5271 GB, free: 102.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002108/1.088, allocations: 74.56 kB / 0.5272 GB, free: 102.8 MB / 458.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.01168/1.1, allocations: 3.778 MB / 0.5309 GB, free: 101.3 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.1, allocations: 8.688 kB / 0.5309 GB, free: 101.3 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02299/1.123, allocations: 4.286 MB / 0.5351 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01402/1.137, allocations: 4.498 MB / 0.5395 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004043/1.137, allocations: 283.2 kB / 0.5398 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001591/1.139, allocations: 385.5 kB / 0.5401 GB, free: 100.5 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02096/1.16, allocations: 9.513 MB / 0.5494 GB, free: 98.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001928/1.16, allocations: 56.2 kB / 0.5495 GB, free: 98.06 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008364/1.161, allocations: 192.3 kB / 0.5496 GB, free: 98.06 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001452/1.162, allocations: 0.9358 MB / 0.5506 GB, free: 98.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01856/1.181, allocations: 7.853 MB / 0.5582 GB, free: 98.02 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05024/1.231, allocations: 43.69 MB / 0.6009 GB, free: 65.51 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01023/1.241, allocations: 3.644 MB / 0.6045 GB, free: 63.93 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003004/1.244, allocations: 1.95 MB / 0.6064 GB, free: 63.08 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004024/1.245, allocations: 327.4 kB / 0.6067 GB, free: 62.79 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/1.245, allocations: 58.88 kB / 0.6067 GB, free: 62.73 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 6.195e-06/1.245, allocations: 2.719 kB / 0.6067 GB, free: 62.73 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.0422/1.287, allocations: 12.88 MB / 0.6193 GB, free: 57.66 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.236e-05/1.287, allocations: 177.3 kB / 0.6195 GB, free: 57.47 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005687/1.293, allocations: 3.184 MB / 0.6226 GB, free: 54.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003686/1.293, allocations: 54.95 kB / 0.6226 GB, free: 54.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/1.295, allocations: 2.762 MB / 0.6253 GB, free: 52.27 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007778/1.296, allocations: 0.6746 MB / 0.626 GB, free: 51.68 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004085/1.296, allocations: 112.9 kB / 0.6261 GB, free: 51.57 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003291/1.297, allocations: 0.5424 MB / 0.6266 GB, free: 51.09 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00367/1.3, allocations: 2.081 MB / 0.6287 GB, free: 49.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005729/1.306, allocations: 5.36 MB / 0.6339 GB, free: 42.47 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005843/1.312, allocations: 3.342 MB / 0.6372 GB, free: 39.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.83e-05/1.312, allocations: 32 kB / 0.6372 GB, free: 39.56 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01673/1.329, allocations: 7.593 MB / 0.6446 GB, free: 32.99 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.8e-05/1.329, allocations: 58.34 kB / 0.6447 GB, free: 32.93 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001127/1.329, allocations: 127.9 kB / 0.6448 GB, free: 32.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002638/1.332, allocations: 0.9199 MB / 0.6457 GB, free: 32.1 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005502/1.337, allocations: 1.279 MB / 0.6469 GB, free: 31 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008923/1.346, allocations: 6.097 MB / 0.6529 GB, free: 25.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005279/1.352, allocations: 321.8 kB / 0.6532 GB, free: 25.22 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000846/1.352, allocations: 339.5 kB / 0.6535 GB, free: 24.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 535 * 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 (670): * Single equations (assignments): 666 * 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.0009187/1.353, allocations: 0.5103 MB / 0.654 GB, free: 24.38 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006663/1.354, allocations: 315.9 kB / 0.6543 GB, free: 24.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006839/1.361, allocations: 3.441 MB / 0.6577 GB, free: 21.24 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.443e-05/1.361, allocations: 20 kB / 0.6577 GB, free: 21.22 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.361, allocations: 4 kB / 0.6577 GB, free: 21.21 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/1.361, allocations: 7.406 kB / 0.6577 GB, free: 21.21 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01656/1.378, allocations: 8.454 MB / 0.666 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.378, allocations: 3.75 kB / 0.666 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00184/1.38, allocations: 283.6 kB / 0.6662 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/1.382, allocations: 0.7545 MB / 0.667 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/1.382, allocations: 31.95 kB / 0.667 GB, free: 12.27 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008412/1.391, allocations: 5.617 MB / 0.6725 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.274e-06/1.391, allocations: 0.7031 kB / 0.6725 GB, free: 6.527 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01034/1.401, allocations: 6.226 MB / 0.6786 GB, free: 264 kB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001852/1.403, allocations: 0.6569 MB / 0.6792 GB, free: 15.58 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000508/1.403, allocations: 31.75 kB / 0.6792 GB, free: 15.55 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001736/1.405, allocations: 95.86 kB / 0.6793 GB, free: 15.46 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000364/1.406, allocations: 105.8 kB / 0.6794 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00021/1.406, allocations: 44 kB / 0.6795 GB, free: 15.31 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004635/1.41, allocations: 2.23 MB / 0.6817 GB, free: 13.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.262e-06/1.41, allocations: 0 / 0.6817 GB, free: 13.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006157/1.417, allocations: 0.9374 MB / 0.6826 GB, free: 12.16 MB / 474.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.0005642/1.417, allocations: 162.5 kB / 0.6827 GB, free: 11.99 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01086/1.428, allocations: 4.919 MB / 0.6875 GB, free: 7.086 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 9.641e-06/1.428, allocations: 4 kB / 0.6875 GB, free: 7.082 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004301/1.433, allocations: 1.845 MB / 0.6893 GB, free: 5.227 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/1.435, allocations: 360.3 kB / 0.6897 GB, free: 4.883 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01879/1.454, allocations: 7.728 MB / 0.6972 GB, free: 13.13 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005731/1.46, allocations: 3.137 MB / 0.7003 GB, free: 9.98 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001501/1.461, allocations: 271.4 kB / 0.7005 GB, free: 9.715 MB / 490.7 MB Notification: Performance of SimCode: time 4.343e-06/1.461, allocations: 4 kB / 0.7006 GB, free: 9.711 MB / 490.7 MB Notification: Performance of Templates: time 0.4054/1.867, allocations: 68.09 MB / 0.767 GB, free: 107 MB / 490.7 MB