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.3_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.462e-05/3.471e-05, allocations: 4 kB / 323.4 MB, free: 4.309 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3736/0.3737, allocations: 58.82 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1815/0.5553, allocations: 105.6 MB / 487.8 MB, free: 2.883 MB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002583/0.5556, allocations: 79.97 kB / 487.9 MB, free: 2.805 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6804/1.236, allocations: 80.8 MB / 0.5554 GB, free: 109 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.301e-06/1.236, allocations: 0 / 0.5554 GB, free: 109 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0001909/1.236, allocations: 71.19 kB / 0.5554 GB, free: 109 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1391 * Number of variables: 1391 Notification: Performance of Generate backend data structure: time 0.01061/1.247, allocations: 3.784 MB / 0.5591 GB, free: 107.3 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.247, allocations: 7.844 kB / 0.5591 GB, free: 107.3 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02239/1.269, allocations: 4.294 MB / 0.5633 GB, free: 107.1 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01378/1.283, allocations: 4.524 MB / 0.5677 GB, free: 105.4 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003029/1.284, allocations: 284.8 kB / 0.568 GB, free: 105.3 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001516/1.285, allocations: 391.3 kB / 0.5684 GB, free: 105.2 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01927/1.304, allocations: 9.528 MB / 0.5777 GB, free: 95.72 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001721/1.305, allocations: 59.41 kB / 0.5778 GB, free: 95.66 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007979/1.305, allocations: 181.8 kB / 0.5779 GB, free: 95.51 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001327/1.307, allocations: 0.9426 MB / 0.5788 GB, free: 94.57 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/1.324, allocations: 7.855 MB / 0.5865 GB, free: 86.7 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04673/1.37, allocations: 43.79 MB / 0.6293 GB, free: 41.79 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009208/1.38, allocations: 3.64 MB / 0.6328 GB, free: 38 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002688/1.382, allocations: 1.945 MB / 0.6347 GB, free: 36.05 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003764/1.383, allocations: 341.9 kB / 0.6351 GB, free: 35.67 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.281e-05/1.383, allocations: 55.28 kB / 0.6351 GB, free: 35.6 MB / 458.8 MB Notification: Performance of pre-optimization done (n=156): time 5.498e-06/1.383, allocations: 0 / 0.6351 GB, free: 35.6 MB / 458.8 MB Notification: Performance of matching and sorting (n=177): time 0.0429/1.426, allocations: 12.9 MB / 0.6477 GB, free: 22.61 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.216e-05/1.426, allocations: 179.2 kB / 0.6479 GB, free: 22.39 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005524/1.431, allocations: 3.209 MB / 0.651 GB, free: 19.19 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003595/1.432, allocations: 45.7 kB / 0.6511 GB, free: 19.14 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001793/1.434, allocations: 2.838 MB / 0.6538 GB, free: 16.3 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007577/1.434, allocations: 0.6794 MB / 0.6545 GB, free: 15.63 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003848/1.435, allocations: 112 kB / 0.6546 GB, free: 15.52 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003273/1.435, allocations: 0.5375 MB / 0.6551 GB, free: 14.98 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003591/1.439, allocations: 2.084 MB / 0.6572 GB, free: 12.89 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005326/1.444, allocations: 5.383 MB / 0.6624 GB, free: 5.832 MB / 458.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00547/1.45, allocations: 3.355 MB / 0.6657 GB, free: 2.477 MB / 458.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-05/1.45, allocations: 32 kB / 0.6657 GB, free: 2.445 MB / 458.8 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.0185/1.468, allocations: 7.727 MB / 0.6733 GB, free: 10.71 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/1.468, allocations: 52 kB / 0.6733 GB, free: 10.66 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001539/1.469, allocations: 127.9 kB / 0.6735 GB, free: 10.53 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/1.472, allocations: 0.9304 MB / 0.6744 GB, free: 9.598 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005664/1.477, allocations: 1.283 MB / 0.6756 GB, free: 8.312 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.011/1.488, allocations: 6.085 MB / 0.6816 GB, free: 2.098 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005267/1.494, allocations: 319.7 kB / 0.6819 GB, free: 1.785 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001091/1.495, allocations: 336 kB / 0.6822 GB, free: 1.457 MB / 474.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 538 * Number of states: 0 () * Number of discrete variables: 24 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (673): * Single equations (assignments): 669 * 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.001295/1.496, allocations: 0.5239 MB / 0.6827 GB, free: 0.9258 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000811/1.497, allocations: 319.8 kB / 0.683 GB, free: 0.6094 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008255/1.505, allocations: 3.43 MB / 0.6863 GB, free: 13.16 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.656e-05/1.505, allocations: 23.95 kB / 0.6864 GB, free: 13.14 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.66e-05/1.505, allocations: 12 kB / 0.6864 GB, free: 13.13 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.522e-05/1.505, allocations: 11.95 kB / 0.6864 GB, free: 13.12 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02015/1.525, allocations: 8.453 MB / 0.6946 GB, free: 4.633 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/1.525, allocations: 0 / 0.6946 GB, free: 4.633 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001877/1.527, allocations: 287.3 kB / 0.6949 GB, free: 4.355 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002649/1.53, allocations: 0.747 MB / 0.6957 GB, free: 3.605 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001953/1.53, allocations: 35.92 kB / 0.6957 GB, free: 3.57 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01059/1.541, allocations: 5.623 MB / 0.7012 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.329e-06/1.541, allocations: 0 / 0.7012 GB, free: 13.82 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01302/1.554, allocations: 6.226 MB / 0.7073 GB, free: 7.547 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002015/1.556, allocations: 0.6609 MB / 0.7079 GB, free: 6.863 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005703/1.557, allocations: 24 kB / 0.7079 GB, free: 6.84 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.558, allocations: 107.8 kB / 0.708 GB, free: 6.734 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003579/1.559, allocations: 100.8 kB / 0.7081 GB, free: 6.637 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002097/1.559, allocations: 51.31 kB / 0.7082 GB, free: 6.59 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.004666/1.564, allocations: 2.235 MB / 0.7104 GB, free: 4.367 MB / 0.4949 GB Notification: Performance of sort global known variables: time 3.59e-06/1.564, allocations: 0 / 0.7104 GB, free: 4.367 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.005977/1.57, allocations: 0.9413 MB / 0.7113 GB, free: 3.426 MB / 0.4949 GB 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.0005068/1.57, allocations: 174 kB / 0.7114 GB, free: 3.25 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.2888/1.859, allocations: 4.924 MB / 0.7162 GB, free: 144.5 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 7.156e-06/1.859, allocations: 1.281 kB / 0.7162 GB, free: 144.5 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.004565/1.864, allocations: 1.846 MB / 0.7181 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004434/1.868, allocations: 361.3 kB / 0.7184 GB, free: 144.4 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01928/1.887, allocations: 7.296 MB / 0.7255 GB, free: 143.1 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005429/1.893, allocations: 3.141 MB / 0.7286 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.005956/1.899, allocations: 1.81 MB / 0.7304 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/1.9, allocations: 235.2 kB / 0.7306 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of SimCode: time 1.933e-06/1.9, allocations: 0 / 0.7306 GB, free: 142.3 MB / 0.4949 GB Notification: Performance of Templates: time 0.08973/1.99, allocations: 34.05 MB / 0.7638 GB, free: 132.1 MB / 0.4949 GB