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_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.384/2.384, allocations: 235 MB / 247.2 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.139e-05/3.15e-05, allocations: 4 kB / 304.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3441/0.3442, allocations: 54.86 MB / 359.8 MB, free: 3.129 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1561/0.5003, allocations: 99.45 MB / 459.2 MB, free: 13.46 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.5006, allocations: 75.97 kB / 459.3 MB, free: 13.39 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6997/1.2, allocations: 80.5 MB / 0.5272 GB, free: 103.2 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.554e-06/1.2, allocations: 0 / 0.5272 GB, free: 103.2 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002186/1.201, allocations: 74.97 kB / 0.5272 GB, free: 103.2 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.01207/1.213, allocations: 3.786 MB / 0.5309 GB, free: 101.7 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/1.213, allocations: 8.719 kB / 0.5309 GB, free: 101.7 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02311/1.236, allocations: 4.286 MB / 0.5351 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0136/1.249, allocations: 4.499 MB / 0.5395 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/1.25, allocations: 286.4 kB / 0.5398 GB, free: 100.9 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001083/1.251, allocations: 383.9 kB / 0.5402 GB, free: 100.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01928/1.27, allocations: 9.508 MB / 0.5494 GB, free: 98.41 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001692/1.27, allocations: 55.75 kB / 0.5495 GB, free: 98.41 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007185/1.271, allocations: 189.9 kB / 0.5497 GB, free: 98.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001399/1.273, allocations: 0.9451 MB / 0.5506 GB, free: 98.39 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01813/1.291, allocations: 7.846 MB / 0.5583 GB, free: 98.37 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04937/1.34, allocations: 43.68 MB / 0.6009 GB, free: 65.72 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01041/1.351, allocations: 3.638 MB / 0.6045 GB, free: 64.14 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003045/1.354, allocations: 1.953 MB / 0.6064 GB, free: 63.29 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004104/1.354, allocations: 334 kB / 0.6067 GB, free: 62.99 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/1.354, allocations: 49.69 kB / 0.6067 GB, free: 62.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=156): time 6.183e-06/1.354, allocations: 0 / 0.6067 GB, free: 62.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=177): time 0.04124/1.395, allocations: 12.89 MB / 0.6193 GB, free: 57.82 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.444e-05/1.396, allocations: 174.6 kB / 0.6195 GB, free: 57.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005342/1.401, allocations: 3.184 MB / 0.6226 GB, free: 54.79 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003568/1.401, allocations: 53.64 kB / 0.6227 GB, free: 54.73 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001722/1.403, allocations: 2.826 MB / 0.6254 GB, free: 52.19 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007662/1.404, allocations: 0.6779 MB / 0.6261 GB, free: 51.59 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003939/1.404, allocations: 105.1 kB / 0.6262 GB, free: 51.49 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003183/1.405, allocations: 0.5381 MB / 0.6267 GB, free: 51.02 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003947/1.409, allocations: 2.088 MB / 0.6287 GB, free: 49.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005612/1.414, allocations: 5.361 MB / 0.634 GB, free: 42.39 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00579/1.42, allocations: 3.332 MB / 0.6372 GB, free: 39.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.878e-05/1.42, allocations: 36 kB / 0.6373 GB, free: 39.48 MB / 458.7 MB Notification: Performance of matching and sorting (n=718) (initialization): time 0.01697/1.437, allocations: 7.706 MB / 0.6448 GB, free: 32.8 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.599e-05/1.437, allocations: 58.5 kB / 0.6449 GB, free: 32.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000116/1.437, allocations: 116.1 kB / 0.645 GB, free: 32.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002676/1.44, allocations: 0.9324 MB / 0.6459 GB, free: 31.91 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00545/1.446, allocations: 1.27 MB / 0.6471 GB, free: 30.82 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009095/1.455, allocations: 6.1 MB / 0.6531 GB, free: 25.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005305/1.46, allocations: 320.1 kB / 0.6534 GB, free: 25.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008553/1.461, allocations: 334.3 kB / 0.6537 GB, free: 24.72 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.0008946/1.462, allocations: 0.5142 MB / 0.6542 GB, free: 24.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006655/1.463, allocations: 315.9 kB / 0.6545 GB, free: 23.89 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006996/1.47, allocations: 3.437 MB / 0.6579 GB, free: 21.06 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.667e-05/1.47, allocations: 16 kB / 0.6579 GB, free: 21.05 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.22e-05/1.47, allocations: 8 kB / 0.6579 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.742e-05/1.47, allocations: 7.594 kB / 0.6579 GB, free: 21.04 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02343/1.493, allocations: 8.459 MB / 0.6661 GB, free: 13.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.636e-05/1.493, allocations: 4 kB / 0.6661 GB, free: 13.05 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00185/1.495, allocations: 287.5 kB / 0.6664 GB, free: 12.77 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002318/1.497, allocations: 0.7442 MB / 0.6671 GB, free: 12.03 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002676/1.498, allocations: 35.95 kB / 0.6672 GB, free: 11.99 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00869/1.506, allocations: 5.617 MB / 0.6727 GB, free: 6.254 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.476e-06/1.506, allocations: 4 kB / 0.6727 GB, free: 6.25 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01058/1.517, allocations: 6.23 MB / 0.6788 GB, free: 15.98 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002133/1.519, allocations: 0.6607 MB / 0.6794 GB, free: 15.3 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007282/1.52, allocations: 28 kB / 0.6794 GB, free: 15.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001857/1.522, allocations: 103.9 kB / 0.6795 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003685/1.522, allocations: 100.8 kB / 0.6796 GB, free: 15.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002076/1.522, allocations: 40 kB / 0.6797 GB, free: 15.03 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005136/1.528, allocations: 2.222 MB / 0.6818 GB, free: 12.82 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.066e-06/1.528, allocations: 4 kB / 0.6818 GB, free: 12.82 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006247/1.534, allocations: 0.9334 MB / 0.6827 GB, free: 11.89 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.0005362/1.534, allocations: 170.7 kB / 0.6829 GB, free: 11.71 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01078/1.545, allocations: 4.912 MB / 0.6877 GB, free: 6.812 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.755e-06/1.545, allocations: 0 / 0.6877 GB, free: 6.812 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004193/1.55, allocations: 1.851 MB / 0.6895 GB, free: 4.953 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002342/1.552, allocations: 359.6 kB / 0.6899 GB, free: 4.609 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0174/1.569, allocations: 7.288 MB / 0.697 GB, free: 13.3 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00555/1.575, allocations: 3.133 MB / 0.7 GB, free: 10.16 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.006262/1.581, allocations: 1.805 MB / 0.7018 GB, free: 8.363 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001288/1.583, allocations: 235.4 kB / 0.702 GB, free: 8.133 MB / 490.7 MB Notification: Performance of SimCode: time 1.6e-06/1.583, allocations: 0 / 0.702 GB, free: 8.133 MB / 490.7 MB Notification: Performance of Templates: time 0.4332/2.016, allocations: 33.89 MB / 0.7351 GB, free: 116.5 MB / 490.7 MB