Running command: translateModel(ModelicaTest.MultiBody.Joints.Revolute,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.Revolute") Notification: Performance of loadModel(ModelicaTest): time 2.342/2.342, allocations: 270 MB / 282.7 MB, free: 1.848 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.285e-05/3.301e-05, allocations: 4 kB / 347 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.316, allocations: 61.88 MB / 408.8 MB, free: 10.74 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1777/0.4938, allocations: 103.7 MB / 0.5005 GB, free: 2.902 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003557/0.4942, allocations: 79.95 kB / 0.5006 GB, free: 2.824 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5908/1.085, allocations: 85.96 MB / 0.5845 GB, free: 55.52 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.018e-06/1.085, allocations: 4 kB / 0.5846 GB, free: 55.52 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001456/1.085, allocations: 67.94 kB / 0.5846 GB, free: 55.45 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01015/1.095, allocations: 3.588 MB / 0.5881 GB, free: 51.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/1.095, allocations: 11.97 kB / 0.5881 GB, free: 51.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01748/1.113, allocations: 3.489 MB / 0.5915 GB, free: 48.29 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01157/1.125, allocations: 3.984 MB / 0.5954 GB, free: 44.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002706/1.125, allocations: 287.5 kB / 0.5957 GB, free: 43.98 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/1.127, allocations: 379.8 kB / 0.5961 GB, free: 43.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02127/1.148, allocations: 10 MB / 0.6058 GB, free: 33.18 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001379/1.148, allocations: 19.81 kB / 0.6059 GB, free: 33.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000929/1.149, allocations: 183.8 kB / 0.606 GB, free: 32.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001668/1.151, allocations: 1.18 MB / 0.6072 GB, free: 31.8 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/1.171, allocations: 9.673 MB / 0.6166 GB, free: 22.12 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05716/1.229, allocations: 34.7 MB / 0.6505 GB, free: 2.582 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01267/1.241, allocations: 4.905 MB / 0.6553 GB, free: 13.45 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004394/1.246, allocations: 2.268 MB / 0.6575 GB, free: 11.18 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002425/1.248, allocations: 1.88 MB / 0.6594 GB, free: 8.965 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.387e-05/1.248, allocations: 64.5 kB / 0.6594 GB, free: 8.895 MB / 474.7 MB Notification: Performance of pre-optimization done (n=229): time 7.552e-06/1.248, allocations: 0 / 0.6594 GB, free: 8.895 MB / 474.7 MB Notification: Performance of matching and sorting (n=235): time 0.03658/1.285, allocations: 11.17 MB / 0.6703 GB, free: 13.68 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.169e-05/1.285, allocations: 73.34 kB / 0.6704 GB, free: 13.6 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/1.29, allocations: 2.325 MB / 0.6727 GB, free: 11.25 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003903/1.29, allocations: 61.69 kB / 0.6727 GB, free: 11.18 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002533/1.293, allocations: 2.634 MB / 0.6753 GB, free: 8.512 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001334/1.294, allocations: 0.8518 MB / 0.6761 GB, free: 7.648 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004641/1.295, allocations: 104 kB / 0.6762 GB, free: 7.547 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005315/1.295, allocations: 0.53 MB / 0.6767 GB, free: 7.008 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00463/1.3, allocations: 2.13 MB / 0.6788 GB, free: 4.871 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007798/1.308, allocations: 4.953 MB / 0.6837 GB, free: 14.51 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006896/1.314, allocations: 3.292 MB / 0.6869 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.131e-05/1.315, allocations: 28 kB / 0.6869 GB, free: 11.18 MB / 0.4948 GB Notification: Performance of matching and sorting (n=690) (initialization): time 0.01921/1.334, allocations: 7.404 MB / 0.6941 GB, free: 3.762 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/1.334, allocations: 51.94 kB / 0.6942 GB, free: 3.711 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001384/1.334, allocations: 100 kB / 0.6943 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00313/1.337, allocations: 0.7975 MB / 0.6951 GB, free: 2.812 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00554/1.343, allocations: 1.181 MB / 0.6962 GB, free: 1.629 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007976/1.351, allocations: 4.153 MB / 0.7003 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004615/1.356, allocations: 283.8 kB / 0.7005 GB, free: 13.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001097/1.357, allocations: 300 kB / 0.7008 GB, free: 12.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 455 * Number of states: 0 () * Number of discrete variables: 29 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],axis.arrowLine.twoHeadedArrow,axis.headAtOrigin,axis.color[3],axis.color[2],axis.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 (630): * Single equations (assignments): 623 * Array equations: 6 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001183/1.358, allocations: 493.5 kB / 0.7013 GB, free: 12.28 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006082/1.358, allocations: 264.5 kB / 0.7015 GB, free: 12.02 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01106/1.37, allocations: 4.663 MB / 0.7061 GB, free: 7.332 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001021/1.37, allocations: 47.97 kB / 0.7061 GB, free: 7.285 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.37, allocations: 4 kB / 0.7061 GB, free: 7.281 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.123e-05/1.37, allocations: 7.969 kB / 0.7062 GB, free: 7.273 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3252/1.695, allocations: 10.49 MB / 0.7164 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/1.695, allocations: 6.312 kB / 0.7164 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/1.697, allocations: 366.2 kB / 0.7168 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00262/1.7, allocations: 0.6515 MB / 0.7174 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003718/1.7, allocations: 40.56 kB / 0.7174 GB, free: 136.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005559/1.706, allocations: 3.59 MB / 0.7209 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.425e-06/1.706, allocations: 10.31 kB / 0.7209 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01332/1.719, allocations: 7.609 MB / 0.7284 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007378/1.72, allocations: 308 kB / 0.7287 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005587/1.72, allocations: 43.86 kB / 0.7287 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001588/1.722, allocations: 135.1 kB / 0.7288 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/1.722, allocations: 132.5 kB / 0.729 GB, free: 134 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000243/1.723, allocations: 68.3 kB / 0.729 GB, free: 134 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.003048/1.726, allocations: 1.575 MB / 0.7306 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.132e-06/1.726, allocations: 0 / 0.7306 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005268/1.731, allocations: 0.9376 MB / 0.7315 GB, free: 133.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 30 * 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 (178): * Single equations (assignments): 171 * Array equations: 6 * 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 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005847/1.732, allocations: 192.6 kB / 0.7317 GB, free: 133.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008957/1.741, allocations: 5.09 MB / 0.7366 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.873e-06/1.741, allocations: 0 / 0.7366 GB, free: 133.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.00349/1.744, allocations: 1.975 MB / 0.7386 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001898/1.746, allocations: 322.4 kB / 0.7389 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01718/1.763, allocations: 8.301 MB / 0.747 GB, free: 130.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005046/1.768, allocations: 3.264 MB / 0.7502 GB, free: 129.4 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001466/1.77, allocations: 246.7 kB / 0.7504 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.715e-06/1.77, allocations: 0 / 0.7504 GB, free: 129.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.09127/1.861, allocations: 66.8 MB / 0.8156 GB, free: 79.62 MB / 0.5105 GB