Running command: translateModel(ModelicaTest.MultiBody.Joints.JointUSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadModel(ModelicaTest): time 2.354/2.354, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.797e-05/2.803e-05, allocations: 4 kB / 347 MB, free: 3.125 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3153, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1639/0.4793, allocations: 109 MB / 0.5057 GB, free: 13.62 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.4796, allocations: 79.95 kB / 0.5057 GB, free: 13.54 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4908/0.9704, allocations: 67.62 MB / 0.5718 GB, free: 69.21 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.814e-06/0.9704, allocations: 0 / 0.5718 GB, free: 69.21 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001211/0.9706, allocations: 68 kB / 0.5718 GB, free: 69.15 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: 1077 * Number of variables: 1077 Notification: Performance of Generate backend data structure: time 0.008138/0.9787, allocations: 3.242 MB / 0.575 GB, free: 65.85 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.9788, allocations: 8.031 kB / 0.575 GB, free: 65.84 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003342/0.9821, allocations: 0.5704 MB / 0.5756 GB, free: 65.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005036/0.9872, allocations: 2.032 MB / 0.5776 GB, free: 63.19 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/0.9874, allocations: 254.7 kB / 0.5778 GB, free: 62.94 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008763/0.9883, allocations: 327.9 kB / 0.5781 GB, free: 62.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01858/1.007, allocations: 7.513 MB / 0.5855 GB, free: 54.73 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.713e-05/1.007, allocations: 15.88 kB / 0.5855 GB, free: 54.72 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005095/1.008, allocations: 151.9 kB / 0.5856 GB, free: 54.57 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008673/1.008, allocations: 0.6026 MB / 0.5862 GB, free: 53.96 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01585/1.024, allocations: 6.132 MB / 0.5922 GB, free: 47.82 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03243/1.057, allocations: 24.12 MB / 0.6157 GB, free: 23.09 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0073/1.064, allocations: 1.826 MB / 0.6175 GB, free: 21.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001284/1.065, allocations: 0.7919 MB / 0.6183 GB, free: 20.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007943/1.073, allocations: 5.827 MB / 0.624 GB, free: 14.1 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.669e-05/1.074, allocations: 43.34 kB / 0.624 GB, free: 14.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=75): time 4.367e-06/1.074, allocations: 4 kB / 0.624 GB, free: 14.04 MB / 442.7 MB Notification: Performance of matching and sorting (n=93): time 0.01726/1.091, allocations: 4.014 MB / 0.628 GB, free: 10.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.196e-05/1.091, allocations: 64.12 kB / 0.628 GB, free: 9.941 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003293/1.094, allocations: 1.996 MB / 0.63 GB, free: 7.91 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001051/1.094, allocations: 37.7 kB / 0.63 GB, free: 7.867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001049/1.095, allocations: 2.029 MB / 0.632 GB, free: 5.809 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000296/1.096, allocations: 371.3 kB / 0.6323 GB, free: 5.441 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/1.096, allocations: 68 kB / 0.6324 GB, free: 5.375 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002046/1.096, allocations: 454 kB / 0.6328 GB, free: 4.922 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001519/1.098, allocations: 0.8502 MB / 0.6337 GB, free: 4.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002351/1.1, allocations: 2.889 MB / 0.6365 GB, free: 148 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003051/1.103, allocations: 1.554 MB / 0.638 GB, free: 14.59 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.297e-05/1.103, allocations: 20 kB / 0.638 GB, free: 14.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=436) (initialization): time 0.008258/1.111, allocations: 3.406 MB / 0.6414 GB, free: 11.15 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.842e-05/1.112, allocations: 39.95 kB / 0.6414 GB, free: 11.11 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.664e-05/1.112, allocations: 76 kB / 0.6415 GB, free: 11.04 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/1.112, allocations: 108 kB / 0.6416 GB, free: 10.93 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/1.115, allocations: 0.7876 MB / 0.6423 GB, free: 10.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001615/1.115, allocations: 143.4 kB / 0.6425 GB, free: 10 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002738/1.118, allocations: 160 kB / 0.6426 GB, free: 9.848 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004608/1.118, allocations: 200 kB / 0.6428 GB, free: 9.652 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 336 * Number of states: 0 () * Number of discrete variables: 50 (jointUSP.prismatic.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],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],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 (436): * Single equations (assignments): 436 * 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.0006378/1.119, allocations: 392.3 kB / 0.6432 GB, free: 9.262 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003851/1.119, allocations: 201.4 kB / 0.6434 GB, free: 9.062 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002506/1.122, allocations: 1.119 MB / 0.6445 GB, free: 7.93 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.664e-05/1.122, allocations: 12 kB / 0.6445 GB, free: 7.918 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.571e-06/1.122, allocations: 3.984 kB / 0.6445 GB, free: 7.914 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.593e-05/1.122, allocations: 3.984 kB / 0.6445 GB, free: 7.91 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01142/1.134, allocations: 5.333 MB / 0.6497 GB, free: 2.234 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.622e-05/1.134, allocations: 20 kB / 0.6497 GB, free: 2.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/1.135, allocations: 231.6 kB / 0.6499 GB, free: 1.988 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.124e-05/1.135, allocations: 28 kB / 0.65 GB, free: 1.961 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/1.135, allocations: 56.58 kB / 0.65 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-05/1.135, allocations: 35.86 kB / 0.6501 GB, free: 1.871 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-05/1.135, allocations: 31.88 kB / 0.6501 GB, free: 1.84 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004059/1.139, allocations: 3.466 MB / 0.6535 GB, free: 13.61 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007223/1.14, allocations: 306.2 kB / 0.6538 GB, free: 13.29 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/1.14, allocations: 47.98 kB / 0.6538 GB, free: 13.24 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.141, allocations: 43.98 kB / 0.6539 GB, free: 13.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002217/1.141, allocations: 143.8 kB / 0.654 GB, free: 13.06 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001225/1.142, allocations: 60 kB / 0.654 GB, free: 13 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003058/1.145, allocations: 1.432 MB / 0.6554 GB, free: 11.55 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.036e-06/1.145, allocations: 0 / 0.6554 GB, free: 11.55 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003884/1.149, allocations: 0.5898 MB / 0.656 GB, free: 10.96 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 84 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (131): * Single equations (assignments): 131 * 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.0004659/1.149, allocations: 200.1 kB / 0.6562 GB, free: 10.75 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004551/1.154, allocations: 1.988 MB / 0.6582 GB, free: 8.777 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.699e-05/1.154, allocations: 4 kB / 0.6582 GB, free: 8.773 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.155, allocations: 0.538 MB / 0.6587 GB, free: 8.242 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002084/1.157, allocations: 328.3 kB / 0.659 GB, free: 7.918 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01245/1.169, allocations: 5.249 MB / 0.6641 GB, free: 2.371 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004066/1.174, allocations: 2.527 MB / 0.6666 GB, free: 15.81 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006643/1.174, allocations: 175.4 kB / 0.6668 GB, free: 15.64 MB / 490.7 MB Notification: Performance of SimCode: time 3.881e-06/1.174, allocations: 3.938 kB / 0.6668 GB, free: 15.64 MB / 490.7 MB Notification: Performance of Templates: time 0.06282/1.237, allocations: 33.28 MB / 0.6993 GB, free: 14.39 MB / 0.5105 GB