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_4.0.0_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.465/2.465, allocations: 270 MB / 283.6 MB, free: 1.863 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.417e-05/3.505e-05, allocations: 4 kB / 348.4 MB, free: 2.719 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3274, allocations: 61.89 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1974/0.5248, allocations: 106.6 MB / 0.5048 GB, free: 15.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/0.5251, allocations: 75.95 kB / 0.5049 GB, free: 15.87 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5815/1.107, allocations: 77.8 MB / 0.5808 GB, free: 61.46 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.357e-06/1.107, allocations: 0 / 0.5808 GB, free: 61.46 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001839/1.107, allocations: 72 kB / 0.5809 GB, free: 61.39 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1305 * Number of variables: 1305 Notification: Performance of Generate backend data structure: time 0.01073/1.118, allocations: 3.623 MB / 0.5845 GB, free: 57.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/1.118, allocations: 12.03 kB / 0.5845 GB, free: 57.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02199/1.14, allocations: 4.246 MB / 0.5886 GB, free: 53.44 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01243/1.152, allocations: 4.272 MB / 0.5928 GB, free: 49.11 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000308/1.153, allocations: 267.1 kB / 0.593 GB, free: 48.84 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001541/1.154, allocations: 359.8 kB / 0.5934 GB, free: 48.49 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01978/1.174, allocations: 9.06 MB / 0.6022 GB, free: 38.53 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002039/1.174, allocations: 55.53 kB / 0.6023 GB, free: 38.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001066/1.175, allocations: 175.9 kB / 0.6025 GB, free: 38.3 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00138/1.177, allocations: 0.8884 MB / 0.6033 GB, free: 37.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/1.193, allocations: 7.433 MB / 0.6106 GB, free: 29.97 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04993/1.243, allocations: 42.13 MB / 0.6517 GB, free: 2.484 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01037/1.254, allocations: 3.427 MB / 0.6551 GB, free: 14.91 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003138/1.257, allocations: 1.8 MB / 0.6568 GB, free: 13.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004932/1.257, allocations: 328 kB / 0.6571 GB, free: 12.72 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/1.257, allocations: 55.28 kB / 0.6572 GB, free: 12.66 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 5.51e-06/1.257, allocations: 0 / 0.6572 GB, free: 12.66 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.05353/1.311, allocations: 12.11 MB / 0.669 GB, free: 464 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/1.311, allocations: 175 kB / 0.6692 GB, free: 248 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01168/1.323, allocations: 3.123 MB / 0.6722 GB, free: 13.12 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004552/1.323, allocations: 45.7 kB / 0.6723 GB, free: 13.07 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004731/1.328, allocations: 2.729 MB / 0.6749 GB, free: 10.3 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001537/1.33, allocations: 0.6056 MB / 0.6755 GB, free: 9.688 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008122/1.331, allocations: 104 kB / 0.6756 GB, free: 9.586 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007864/1.331, allocations: 0.5251 MB / 0.6761 GB, free: 9.055 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00943/1.341, allocations: 1.935 MB / 0.678 GB, free: 7.113 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01246/1.353, allocations: 5.142 MB / 0.683 GB, free: 348 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006912/1.36, allocations: 3.153 MB / 0.6861 GB, free: 13.18 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.833e-05/1.36, allocations: 32 kB / 0.6862 GB, free: 13.15 MB / 0.4948 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.04001/1.4, allocations: 7.324 MB / 0.6933 GB, free: 5.824 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002238/1.401, allocations: 52.19 kB / 0.6934 GB, free: 5.773 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003408/1.401, allocations: 120 kB / 0.6935 GB, free: 5.656 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006911/1.408, allocations: 0.9251 MB / 0.6944 GB, free: 4.73 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01281/1.421, allocations: 1.216 MB / 0.6956 GB, free: 3.512 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02479/1.446, allocations: 6.08 MB / 0.7015 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00552/1.451, allocations: 311.5 kB / 0.7018 GB, free: 12.99 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001118/1.453, allocations: 332 kB / 0.7021 GB, free: 12.66 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 524 * Number of states: 0 () * Number of discrete variables: 26 (universal.cylinderColor[3],universal.cylinderColor[2],universal.cylinderColor[1],torque.arrow.arrowLine.twoHeadedArrow,torque.arrow.headAtOrigin,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 (638): * Single equations (assignments): 634 * 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.001173/1.454, allocations: 0.4968 MB / 0.7026 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008245/1.455, allocations: 312 kB / 0.7029 GB, free: 11.86 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007761/1.462, allocations: 3.077 MB / 0.7059 GB, free: 8.766 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.773e-05/1.462, allocations: 16 kB / 0.7059 GB, free: 8.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.304e-05/1.462, allocations: 11.95 kB / 0.7059 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.476e-05/1.463, allocations: 7.984 kB / 0.7059 GB, free: 8.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01948/1.482, allocations: 7.766 MB / 0.7135 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.826e-05/1.482, allocations: 288 / 0.7135 GB, free: 0.8906 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001784/1.484, allocations: 239.6 kB / 0.7138 GB, free: 0.6562 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.309/1.793, allocations: 0.7439 MB / 0.7145 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003437/1.793, allocations: 28.58 kB / 0.7145 GB, free: 134.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01002/1.803, allocations: 5.626 MB / 0.72 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.803, allocations: 7.359 kB / 0.72 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009492/1.813, allocations: 5.667 MB / 0.7255 GB, free: 133 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009422/1.814, allocations: 363.2 kB / 0.7259 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005839/1.814, allocations: 25.61 kB / 0.7259 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/1.816, allocations: 88.14 kB / 0.726 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003154/1.816, allocations: 85.2 kB / 0.7261 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001802/1.817, allocations: 41.72 kB / 0.7261 GB, free: 132.9 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004149/1.821, allocations: 2.176 MB / 0.7282 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.16e-06/1.821, allocations: 0 / 0.7282 GB, free: 132.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005806/1.827, allocations: 0.882 MB / 0.7291 GB, free: 132.8 MB / 0.5105 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 (115): * Single equations (assignments): 111 * 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.0005302/1.827, allocations: 172.8 kB / 0.7293 GB, free: 132.7 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00829/1.835, allocations: 4.554 MB / 0.7337 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.284e-06/1.836, allocations: 0 / 0.7337 GB, free: 132.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00318/1.839, allocations: 1.684 MB / 0.7354 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002236/1.841, allocations: 366.3 kB / 0.7357 GB, free: 132.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01482/1.856, allocations: 6.819 MB / 0.7424 GB, free: 130.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004517/1.86, allocations: 3.005 MB / 0.7453 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005828/1.866, allocations: 1.722 MB / 0.747 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.867, allocations: 219.8 kB / 0.7472 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of SimCode: time 1.702e-06/1.867, allocations: 0 / 0.7472 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of Templates: time 0.08494/1.952, allocations: 32.02 MB / 0.7785 GB, free: 118.2 MB / 0.5105 GB