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_trunk_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.333/2.333, allocations: 270.1 MB / 283.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.532e-05/3.541e-05, allocations: 4 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1168, allocations: 61.88 MB / 410.3 MB, free: 12.98 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4397/0.5566, allocations: 106.6 MB / 0.5048 GB, free: 13.46 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002379/0.5569, allocations: 71.97 kB / 0.5049 GB, free: 13.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3027/0.8596, allocations: 77.83 MB / 0.5809 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.872e-06/0.8596, allocations: 0 / 0.5809 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0002054/0.8598, allocations: 68 kB / 0.5809 GB, free: 15.04 MB / 0.4948 GB 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.01124/0.8711, allocations: 3.623 MB / 0.5845 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.8712, allocations: 12.03 kB / 0.5845 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02244/0.8936, allocations: 4.246 MB / 0.5886 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01408/0.9077, allocations: 4.271 MB / 0.5928 GB, free: 2.746 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003523/0.9081, allocations: 275 kB / 0.5931 GB, free: 2.477 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001309/0.9094, allocations: 359.8 kB / 0.5934 GB, free: 2.125 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02113/0.9306, allocations: 9.052 MB / 0.6023 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000209/0.9309, allocations: 55.47 kB / 0.6023 GB, free: 8.109 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007326/0.9316, allocations: 179.9 kB / 0.6025 GB, free: 7.934 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001573/0.9332, allocations: 0.8806 MB / 0.6033 GB, free: 7.047 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3589/1.292, allocations: 7.435 MB / 0.6106 GB, free: 123.8 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05315/1.345, allocations: 42.13 MB / 0.6517 GB, free: 98.4 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/1.356, allocations: 3.424 MB / 0.6551 GB, free: 97.74 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003001/1.359, allocations: 1.799 MB / 0.6568 GB, free: 97.48 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004317/1.359, allocations: 330.8 kB / 0.6572 GB, free: 97.19 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.582e-05/1.359, allocations: 50.61 kB / 0.6572 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=135): time 6.168e-06/1.359, allocations: 0 / 0.6572 GB, free: 97.14 MB / 0.5105 GB Notification: Performance of matching and sorting (n=156): time 0.0419/1.401, allocations: 12.11 MB / 0.669 GB, free: 92.64 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/1.401, allocations: 176.3 kB / 0.6692 GB, free: 92.45 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006316/1.408, allocations: 3.122 MB / 0.6722 GB, free: 91.34 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003481/1.408, allocations: 46.83 kB / 0.6723 GB, free: 91.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002012/1.41, allocations: 2.717 MB / 0.6749 GB, free: 89.34 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007907/1.411, allocations: 0.6076 MB / 0.6755 GB, free: 88.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004311/1.411, allocations: 106.8 kB / 0.6756 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003033/1.412, allocations: 0.5242 MB / 0.6762 GB, free: 88.43 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003778/1.416, allocations: 1.935 MB / 0.678 GB, free: 87.75 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005713/1.421, allocations: 5.143 MB / 0.6831 GB, free: 82.71 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005897/1.427, allocations: 3.159 MB / 0.6861 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.934e-05/1.427, allocations: 36.03 kB / 0.6862 GB, free: 81.75 MB / 0.5105 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01761/1.445, allocations: 7.322 MB / 0.6933 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.473e-05/1.445, allocations: 59.42 kB / 0.6934 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001199/1.445, allocations: 116.2 kB / 0.6935 GB, free: 79.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002908/1.448, allocations: 0.9235 MB / 0.6944 GB, free: 79.11 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005099/1.453, allocations: 1.21 MB / 0.6956 GB, free: 78.96 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009579/1.463, allocations: 6.077 MB / 0.7015 GB, free: 75.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005399/1.468, allocations: 297 kB / 0.7018 GB, free: 75.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001046/1.47, allocations: 330.8 kB / 0.7021 GB, free: 75.5 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.001117/1.471, allocations: 0.5134 MB / 0.7026 GB, free: 75.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007164/1.471, allocations: 308.5 kB / 0.7029 GB, free: 74.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006786/1.478, allocations: 3.078 MB / 0.7059 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.926e-05/1.478, allocations: 17.53 kB / 0.7059 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/1.478, allocations: 3.531 kB / 0.7059 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.763e-05/1.478, allocations: 11.22 kB / 0.706 GB, free: 73.73 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/1.496, allocations: 7.774 MB / 0.7135 GB, free: 70.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.055e-05/1.497, allocations: 7.844 kB / 0.7135 GB, free: 70.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001783/1.498, allocations: 243.2 kB / 0.7138 GB, free: 70.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00267/1.501, allocations: 0.7437 MB / 0.7145 GB, free: 70.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/1.501, allocations: 30.41 kB / 0.7145 GB, free: 70.51 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009409/1.511, allocations: 5.613 MB / 0.72 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.087e-06/1.511, allocations: 0 / 0.72 GB, free: 67.42 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009899/1.521, allocations: 5.677 MB / 0.7256 GB, free: 62.62 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009396/1.522, allocations: 363.9 kB / 0.7259 GB, free: 62.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006001/1.522, allocations: 28.53 kB / 0.7259 GB, free: 62.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001767/1.524, allocations: 90.8 kB / 0.726 GB, free: 62.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003406/1.525, allocations: 90.03 kB / 0.7261 GB, free: 62.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001699/1.525, allocations: 41.02 kB / 0.7261 GB, free: 62.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004351/1.529, allocations: 2.172 MB / 0.7283 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.482e-06/1.529, allocations: 0 / 0.7283 GB, free: 60.16 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006195/1.535, allocations: 0.8883 MB / 0.7291 GB, free: 59.28 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.0005054/1.536, allocations: 158.9 kB / 0.7293 GB, free: 59.13 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008325/1.544, allocations: 4.572 MB / 0.7338 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.82e-06/1.544, allocations: 4 kB / 0.7338 GB, free: 54.96 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003137/1.547, allocations: 1.673 MB / 0.7354 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002249/1.55, allocations: 354 kB / 0.7357 GB, free: 53.15 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01408/1.564, allocations: 6.825 MB / 0.7424 GB, free: 47.05 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004289/1.568, allocations: 3.005 MB / 0.7453 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.005436/1.574, allocations: 1.725 MB / 0.747 GB, free: 43.64 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009974/1.575, allocations: 214.5 kB / 0.7472 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of SimCode: time 1.749e-06/1.575, allocations: 0 / 0.7472 GB, free: 43.45 MB / 0.5105 GB Notification: Performance of Templates: time 0.08386/1.658, allocations: 32.03 MB / 0.7785 GB, free: 14.12 MB / 0.5105 GB