Running command: translateModel(ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.CheckConstaintTorqueUniversalJoint") Notification: Performance of loadModel(ModelicaTest): time 2.321/2.321, allocations: 270 MB / 282.7 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.162e-05, allocations: 4 kB / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3191, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1624/0.4816, allocations: 106.6 MB / 0.5034 GB, free: 0 / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002543/0.4819, allocations: 71.97 kB / 0.5035 GB, free: 15.93 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5383/1.02, allocations: 77.81 MB / 0.5794 GB, free: 61.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.164e-06/1.02, allocations: 0 / 0.5794 GB, free: 61.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001511/1.02, allocations: 72 kB / 0.5795 GB, free: 61.44 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.009138/1.03, allocations: 3.627 MB / 0.5831 GB, free: 57.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/1.03, allocations: 15.97 kB / 0.5831 GB, free: 57.73 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02094/1.051, allocations: 4.25 MB / 0.5872 GB, free: 53.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01234/1.063, allocations: 4.264 MB / 0.5914 GB, free: 49.14 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002823/1.063, allocations: 279 kB / 0.5917 GB, free: 48.87 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001406/1.065, allocations: 355.8 kB / 0.592 GB, free: 48.52 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01826/1.083, allocations: 9.06 MB / 0.6008 GB, free: 38.56 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000171/1.083, allocations: 51.53 kB / 0.6009 GB, free: 38.51 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007347/1.084, allocations: 175.9 kB / 0.6011 GB, free: 38.34 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001242/1.085, allocations: 0.8845 MB / 0.6019 GB, free: 37.45 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01625/1.101, allocations: 7.436 MB / 0.6092 GB, free: 30 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04907/1.151, allocations: 42.13 MB / 0.6503 GB, free: 2.52 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01049/1.161, allocations: 3.431 MB / 0.6537 GB, free: 14.94 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003128/1.164, allocations: 1.792 MB / 0.6554 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000493/1.165, allocations: 336 kB / 0.6557 GB, free: 12.75 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.65e-05/1.165, allocations: 55.27 kB / 0.6558 GB, free: 12.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=135): time 5.958e-06/1.165, allocations: 0 / 0.6558 GB, free: 12.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.04294/1.208, allocations: 12.11 MB / 0.6676 GB, free: 500 kB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001313/1.208, allocations: 175 kB / 0.6678 GB, free: 284 kB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006379/1.214, allocations: 3.119 MB / 0.6708 GB, free: 13.16 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003211/1.215, allocations: 45.7 kB / 0.6709 GB, free: 13.11 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002701/1.217, allocations: 2.671 MB / 0.6735 GB, free: 10.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009356/1.218, allocations: 0.6056 MB / 0.6741 GB, free: 9.789 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004241/1.219, allocations: 100 kB / 0.6742 GB, free: 9.691 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.000495/1.219, allocations: 0.5416 MB / 0.6747 GB, free: 9.141 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004297/1.224, allocations: 1.931 MB / 0.6766 GB, free: 7.203 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007881/1.232, allocations: 5.138 MB / 0.6816 GB, free: 444 kB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006723/1.238, allocations: 3.157 MB / 0.6847 GB, free: 13.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.314e-05/1.239, allocations: 36 kB / 0.6847 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=686) (initialization): time 0.01856/1.257, allocations: 7.226 MB / 0.6918 GB, free: 6.012 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001068/1.257, allocations: 56 kB / 0.6918 GB, free: 5.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001542/1.257, allocations: 112 kB / 0.6919 GB, free: 5.848 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003063/1.26, allocations: 0.9252 MB / 0.6928 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005522/1.266, allocations: 1.205 MB / 0.694 GB, free: 3.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01145/1.278, allocations: 6.09 MB / 0.7 GB, free: 13.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005127/1.283, allocations: 311.4 kB / 0.7003 GB, free: 13.18 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009352/1.284, allocations: 324 kB / 0.7006 GB, free: 12.86 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.001106/1.285, allocations: 0.4973 MB / 0.7011 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007317/1.286, allocations: 304.1 kB / 0.7013 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007465/1.293, allocations: 3.077 MB / 0.7043 GB, free: 8.961 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.6e-05/1.293, allocations: 24 kB / 0.7044 GB, free: 8.938 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.586e-05/1.293, allocations: 7.953 kB / 0.7044 GB, free: 8.93 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.186e-05/1.293, allocations: 7.969 kB / 0.7044 GB, free: 8.922 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01831/1.311, allocations: 7.766 MB / 0.712 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-05/1.312, allocations: 0 / 0.712 GB, free: 1.086 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001623/1.313, allocations: 243.6 kB / 0.7122 GB, free: 0.8477 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002634/1.316, allocations: 0.747 MB / 0.7129 GB, free: 100 kB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001789/1.316, allocations: 24 kB / 0.713 GB, free: 76 kB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3094/1.625, allocations: 5.629 MB / 0.7185 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.763e-06/1.625, allocations: 2.781 kB / 0.7185 GB, free: 134.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009377/1.635, allocations: 5.665 MB / 0.724 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000881/1.636, allocations: 370.9 kB / 0.7243 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004838/1.636, allocations: 25.27 kB / 0.7244 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/1.638, allocations: 92.62 kB / 0.7245 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/1.638, allocations: 79.66 kB / 0.7245 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001834/1.638, allocations: 44.55 kB / 0.7246 GB, free: 133.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003914/1.642, allocations: 2.175 MB / 0.7267 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.65e-07/1.642, allocations: 0 / 0.7267 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005132/1.648, allocations: 0.8801 MB / 0.7276 GB, free: 133.5 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.0004436/1.648, allocations: 167 kB / 0.7277 GB, free: 133.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007797/1.656, allocations: 4.569 MB / 0.7322 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.559e-06/1.656, allocations: 0 / 0.7322 GB, free: 133.2 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003086/1.659, allocations: 1.679 MB / 0.7338 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/1.661, allocations: 363.5 kB / 0.7342 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01363/1.675, allocations: 7.244 MB / 0.7412 GB, free: 130.7 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004211/1.679, allocations: 3.001 MB / 0.7442 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.68, allocations: 254.5 kB / 0.7444 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of SimCode: time 1.635e-06/1.68, allocations: 3.844 kB / 0.7444 GB, free: 129.5 MB / 0.5105 GB Notification: Performance of Templates: time 0.08723/1.767, allocations: 64.55 MB / 0.8075 GB, free: 86.89 MB / 0.5105 GB