Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadModel(ModelicaTest): time 2.347/2.347, allocations: 270 MB / 282.7 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.817e-05/2.824e-05, allocations: 4 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3754/0.3755, allocations: 61.88 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1748/0.5503, allocations: 116.6 MB / 0.5132 GB, free: 5.984 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.5506, allocations: 71.97 kB / 0.5132 GB, free: 5.914 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6945/1.245, allocations: 125.1 MB / 0.6354 GB, free: 4.672 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.261e-06/1.245, allocations: 4 kB / 0.6354 GB, free: 4.668 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002709/1.245, allocations: 108 kB / 0.6355 GB, free: 4.562 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: 1932 * Number of variables: 1932 Notification: Performance of Generate backend data structure: time 0.01798/1.263, allocations: 5.634 MB / 0.641 GB, free: 14.86 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/1.263, allocations: 8.031 kB / 0.641 GB, free: 14.85 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02647/1.29, allocations: 4.731 MB / 0.6456 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02032/1.31, allocations: 6.341 MB / 0.6518 GB, free: 3.699 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006849/1.311, allocations: 448.6 kB / 0.6522 GB, free: 3.254 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002408/1.313, allocations: 0.5349 MB / 0.6527 GB, free: 2.719 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03737/1.351, allocations: 14.01 MB / 0.6664 GB, free: 3.582 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002603/1.351, allocations: 71.34 kB / 0.6665 GB, free: 3.512 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001108/1.352, allocations: 263.9 kB / 0.6667 GB, free: 3.254 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002457/1.355, allocations: 1.298 MB / 0.668 GB, free: 1.953 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03137/1.386, allocations: 11.44 MB / 0.6792 GB, free: 6.5 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4514/1.838, allocations: 59.27 MB / 0.7371 GB, free: 74.83 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01702/1.855, allocations: 4.623 MB / 0.7416 GB, free: 74.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004451/1.859, allocations: 2.716 MB / 0.7442 GB, free: 74.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02274/1.882, allocations: 12.58 MB / 0.7565 GB, free: 70.34 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.783e-05/1.882, allocations: 56.44 kB / 0.7566 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=191): time 6.575e-06/1.882, allocations: 0 / 0.7566 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=242): time 0.1307/2.013, allocations: 32.74 MB / 0.7886 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.024e-05/2.013, allocations: 232.4 kB / 0.7888 GB, free: 65.43 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007182/2.02, allocations: 4.173 MB / 0.7929 GB, free: 63.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000488/2.021, allocations: 59.7 kB / 0.7929 GB, free: 63.91 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002113/2.023, allocations: 3.795 MB / 0.7966 GB, free: 61.2 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000951/2.024, allocations: 0.9137 MB / 0.7975 GB, free: 60.53 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005164/2.024, allocations: 146 kB / 0.7976 GB, free: 60.42 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004128/2.025, allocations: 0.616 MB / 0.7982 GB, free: 59.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0056/2.03, allocations: 3.152 MB / 0.8013 GB, free: 58.82 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007587/2.038, allocations: 7.388 MB / 0.8085 GB, free: 51.95 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008153/2.046, allocations: 4.745 MB / 0.8132 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.352e-05/2.046, allocations: 45.41 kB / 0.8132 GB, free: 50.45 MB / 0.5105 GB Notification: Performance of matching and sorting (n=942) (initialization): time 0.03307/2.079, allocations: 13.1 MB / 0.826 GB, free: 42.45 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001095/2.079, allocations: 71.17 kB / 0.8261 GB, free: 42.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001566/2.08, allocations: 160 kB / 0.8262 GB, free: 42.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01364/2.093, allocations: 3.793 MB / 0.8299 GB, free: 39.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006759/2.1, allocations: 1.617 MB / 0.8315 GB, free: 38.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02968/2.13, allocations: 18.02 MB / 0.8491 GB, free: 22.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007297/2.137, allocations: 493.9 kB / 0.8496 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009253/2.138, allocations: 431.8 kB / 0.85 GB, free: 22.05 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 689 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.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 (859): * Single equations (assignments): 855 * 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%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001245/2.139, allocations: 0.6581 MB / 0.8506 GB, free: 21.39 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007873/2.14, allocations: 430.4 kB / 0.851 GB, free: 20.97 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01965/2.16, allocations: 8.072 MB / 0.8589 GB, free: 14.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.856e-05/2.16, allocations: 24.7 kB / 0.8589 GB, free: 14.78 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.01e-05/2.16, allocations: 12 kB / 0.859 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.713e-05/2.16, allocations: 15.39 kB / 0.859 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03797/2.198, allocations: 17.38 MB / 0.8759 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.372e-05/2.198, allocations: 8 kB / 0.876 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002648/2.201, allocations: 379.4 kB / 0.8763 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0156/2.216, allocations: 3.85 MB / 0.8801 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005124/2.217, allocations: 47.03 kB / 0.8801 GB, free: 10.74 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03383/2.251, allocations: 16.45 MB / 0.8962 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.885e-06/2.251, allocations: 0 / 0.8962 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03191/2.283, allocations: 12.55 MB / 0.9084 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001532/2.284, allocations: 467.3 kB / 0.9089 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001216/2.285, allocations: 36 kB / 0.9089 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003451/2.289, allocations: 215.7 kB / 0.9091 GB, free: 12.81 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008178/2.29, allocations: 146.2 kB / 0.9093 GB, free: 12.67 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000329/2.29, allocations: 60 kB / 0.9093 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.007305/2.297, allocations: 2.901 MB / 0.9122 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.07e-06/2.297, allocations: 0 / 0.9122 GB, free: 9.715 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.009259/2.307, allocations: 1.459 MB / 0.9136 GB, free: 8.27 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (167): * Single equations (assignments): 163 * 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%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009654/2.308, allocations: 219.9 kB / 0.9138 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01688/2.325, allocations: 7.498 MB / 0.9211 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.449e-06/2.325, allocations: 0 / 0.9211 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.3113/2.636, allocations: 2.877 MB / 0.9239 GB, free: 155.5 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003316/2.639, allocations: 495.4 kB / 0.9244 GB, free: 155.5 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02398/2.663, allocations: 11.23 MB / 0.9354 GB, free: 153.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006072/2.669, allocations: 4.212 MB / 0.9395 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/2.671, allocations: 336.1 kB / 0.9398 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of SimCode: time 1.687e-06/2.671, allocations: 3.594 kB / 0.9398 GB, free: 152.8 MB / 0.5573 GB Notification: Performance of Templates: time 0.1363/2.807, allocations: 95.39 MB / 1.033 GB, free: 104.8 MB / 0.5573 GB