Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadModel(ModelicaTest): time 2.368/2.368, allocations: 270 MB / 282.7 MB, free: 1.797 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.784e-05/2.798e-05, allocations: 4 kB / 347 MB, free: 3.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.32, allocations: 61.87 MB / 408.8 MB, free: 10.8 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.487, allocations: 109.7 MB / 0.5064 GB, free: 12.96 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002522/0.4873, allocations: 75.97 kB / 0.5064 GB, free: 12.89 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5037/0.991, allocations: 68.98 MB / 0.5738 GB, free: 67.32 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.388e-06/0.991, allocations: 0 / 0.5738 GB, free: 67.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000143/0.9912, allocations: 68 kB / 0.5739 GB, free: 67.25 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: 1088 * Number of variables: 1088 Notification: Performance of Generate backend data structure: time 0.009724/1.001, allocations: 3.457 MB / 0.5772 GB, free: 63.73 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/1.001, allocations: 12.03 kB / 0.5772 GB, free: 63.72 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003367/1.004, allocations: 0.5663 MB / 0.5778 GB, free: 63.15 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005322/1.01, allocations: 2.063 MB / 0.5798 GB, free: 61.04 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002022/1.01, allocations: 254.6 kB / 0.5801 GB, free: 60.79 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008487/1.011, allocations: 320 kB / 0.5804 GB, free: 60.48 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01933/1.03, allocations: 7.877 MB / 0.5881 GB, free: 52.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.667e-05/1.03, allocations: 11.88 kB / 0.5881 GB, free: 52.22 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005867/1.031, allocations: 151.9 kB / 0.5882 GB, free: 52.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009677/1.032, allocations: 0.6538 MB / 0.5888 GB, free: 51.42 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01778/1.05, allocations: 6.66 MB / 0.5954 GB, free: 44.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03569/1.085, allocations: 25.7 MB / 0.6205 GB, free: 18.41 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009516/1.095, allocations: 2.208 MB / 0.6226 GB, free: 16.18 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001636/1.097, allocations: 1.038 MB / 0.6236 GB, free: 15.14 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01016/1.107, allocations: 7.073 MB / 0.6305 GB, free: 7.496 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.539e-05/1.107, allocations: 43.34 kB / 0.6306 GB, free: 7.445 MB / 442.7 MB Notification: Performance of pre-optimization done (n=80): time 4.018e-06/1.107, allocations: 0 / 0.6306 GB, free: 7.445 MB / 442.7 MB Notification: Performance of matching and sorting (n=96): time 0.02027/1.127, allocations: 4.703 MB / 0.6352 GB, free: 2.73 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/1.127, allocations: 60.19 kB / 0.6352 GB, free: 2.656 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003353/1.131, allocations: 2.117 MB / 0.6373 GB, free: 0.5078 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001485/1.131, allocations: 41.7 kB / 0.6373 GB, free: 472 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001757/1.133, allocations: 2.049 MB / 0.6393 GB, free: 14.38 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005005/1.133, allocations: 379.2 kB / 0.6397 GB, free: 14.01 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002127/1.133, allocations: 75.94 kB / 0.6398 GB, free: 13.93 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003668/1.134, allocations: 458.3 kB / 0.6402 GB, free: 13.48 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002123/1.136, allocations: 0.9832 MB / 0.6412 GB, free: 12.49 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004053/1.14, allocations: 3.113 MB / 0.6442 GB, free: 8.301 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003516/1.143, allocations: 1.722 MB / 0.6459 GB, free: 6.578 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.273e-05/1.144, allocations: 20 kB / 0.6459 GB, free: 6.559 MB / 458.7 MB Notification: Performance of matching and sorting (n=453) (initialization): time 0.009379/1.153, allocations: 3.746 MB / 0.6496 GB, free: 2.805 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.211e-05/1.153, allocations: 36 kB / 0.6496 GB, free: 2.77 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001049/1.153, allocations: 79.98 kB / 0.6497 GB, free: 2.691 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/1.153, allocations: 116 kB / 0.6498 GB, free: 2.578 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003675/1.157, allocations: 0.846 MB / 0.6506 GB, free: 1.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001697/1.157, allocations: 151.4 kB / 0.6507 GB, free: 1.582 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003071/1.16, allocations: 179.9 kB / 0.6509 GB, free: 1.406 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005571/1.161, allocations: 212 kB / 0.6511 GB, free: 1.199 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 350 * Number of states: 0 () * Number of discrete variables: 53 (jointUSR.revolute.positiveBranch,prism.arrowLine.twoHeadedArrow,prism.headAtOrigin,prism.color[3],prism.color[2],prism.color[1],rRod2.arrowLine.twoHeadedArrow,rRod2.headAtOrigin,rRod2.color[3],rRod2.color[2],rRod2.color[1],rRod1.arrowLine.twoHeadedArrow,rRod1.headAtOrigin,rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.arrowLine.twoHeadedArrow,n2_ia.headAtOrigin,n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.arrowLine.twoHeadedArrow,n1_a.headAtOrigin,n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (453): * Single equations (assignments): 453 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007148/1.162, allocations: 408.2 kB / 0.6515 GB, free: 0.793 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004168/1.162, allocations: 213.3 kB / 0.6517 GB, free: 0.582 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00318/1.165, allocations: 1.385 MB / 0.6531 GB, free: 15.18 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.165, allocations: 8 kB / 0.6531 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.316e-06/1.165, allocations: 0 / 0.6531 GB, free: 15.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.61e-05/1.165, allocations: 7.969 kB / 0.6531 GB, free: 15.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01199/1.177, allocations: 5.34 MB / 0.6583 GB, free: 9.512 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.688e-05/1.177, allocations: 16 kB / 0.6583 GB, free: 9.496 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001143/1.179, allocations: 243.6 kB / 0.6585 GB, free: 9.258 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.105e-05/1.179, allocations: 24 kB / 0.6586 GB, free: 9.234 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001048/1.179, allocations: 40 kB / 0.6586 GB, free: 9.195 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.94e-05/1.179, allocations: 35.86 kB / 0.6586 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.717e-05/1.179, allocations: 24.41 kB / 0.6587 GB, free: 9.137 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004096/1.183, allocations: 3.27 MB / 0.6619 GB, free: 5.258 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/1.184, allocations: 310.2 kB / 0.6622 GB, free: 4.934 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004258/1.184, allocations: 43.98 kB / 0.6622 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001171/1.186, allocations: 47.97 kB / 0.6622 GB, free: 4.844 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002185/1.186, allocations: 132.1 kB / 0.6624 GB, free: 4.715 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/1.186, allocations: 55.98 kB / 0.6624 GB, free: 4.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003459/1.189, allocations: 1.489 MB / 0.6639 GB, free: 3.152 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.149e-06/1.189, allocations: 0 / 0.6639 GB, free: 3.152 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004284/1.194, allocations: 0.6093 MB / 0.6645 GB, free: 2.543 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (129): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000607/1.194, allocations: 212.1 kB / 0.6647 GB, free: 2.328 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005114/1.199, allocations: 2.219 MB / 0.6668 GB, free: 124 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/1.2, allocations: 7.938 kB / 0.6668 GB, free: 116 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001286/1.201, allocations: 0.5816 MB / 0.6674 GB, free: 15.54 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001932/1.203, allocations: 323.1 kB / 0.6677 GB, free: 15.22 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01305/1.216, allocations: 5.209 MB / 0.6728 GB, free: 9.754 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004831/1.221, allocations: 2.528 MB / 0.6753 GB, free: 7.195 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007876/1.222, allocations: 187.4 kB / 0.6755 GB, free: 7.012 MB / 490.7 MB Notification: Performance of SimCode: time 1.956e-06/1.222, allocations: 0 / 0.6755 GB, free: 7.012 MB / 490.7 MB Notification: Performance of Templates: time 0.06867/1.29, allocations: 34.67 MB / 0.7093 GB, free: 4.375 MB / 0.5105 GB