Running command: translateModel(ModelicaTest.MultiBody.Joints.JointSSP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadModel(ModelicaTest): time 2.325/2.325, allocations: 270 MB / 282.7 MB, free: 1.773 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.21e-05/3.217e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3219/0.3219, allocations: 61.88 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.4862, allocations: 107.9 MB / 0.5046 GB, free: 14.74 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002443/0.4865, allocations: 71.97 kB / 0.5047 GB, free: 14.67 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4523/0.9388, allocations: 52.56 MB / 0.556 GB, free: 85.25 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.276e-06/0.9389, allocations: 0 / 0.556 GB, free: 85.25 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.261e-05/0.939, allocations: 48 kB / 0.556 GB, free: 85.2 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: 811 * Number of variables: 811 Notification: Performance of Generate backend data structure: time 0.004274/0.9432, allocations: 2.232 MB / 0.5582 GB, free: 82.91 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.992e-05/0.9433, allocations: 12.03 kB / 0.5582 GB, free: 82.9 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002281/0.9456, allocations: 440.1 kB / 0.5587 GB, free: 82.47 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003106/0.9487, allocations: 1.458 MB / 0.5601 GB, free: 80.96 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001644/0.9489, allocations: 201.3 kB / 0.5603 GB, free: 80.77 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005126/0.9494, allocations: 263.9 kB / 0.5605 GB, free: 80.51 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01214/0.9616, allocations: 5.532 MB / 0.5659 GB, free: 74.66 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.678e-05/0.9617, allocations: 19.78 kB / 0.5659 GB, free: 74.64 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004153/0.9622, allocations: 116 kB / 0.5661 GB, free: 74.53 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005887/0.9628, allocations: 411.5 kB / 0.5664 GB, free: 74.13 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.9742, allocations: 4.254 MB / 0.5706 GB, free: 69.87 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02285/0.9971, allocations: 18.48 MB / 0.5886 GB, free: 50.88 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004815/1.002, allocations: 1.205 MB / 0.5898 GB, free: 49.66 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006611/1.003, allocations: 374.4 kB / 0.5902 GB, free: 49.3 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001573/1.004, allocations: 2.062 MB / 0.5922 GB, free: 46.9 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.14e-05/1.004, allocations: 39.12 kB / 0.5922 GB, free: 46.86 MB / 442.7 MB Notification: Performance of pre-optimization done (n=65): time 3.973e-06/1.004, allocations: 3.938 kB / 0.5922 GB, free: 46.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=109): time 0.0231/1.027, allocations: 4.955 MB / 0.5971 GB, free: 41.89 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.028, allocations: 64.41 kB / 0.5971 GB, free: 41.81 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/1.03, allocations: 1.517 MB / 0.5986 GB, free: 40.29 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.51e-05/1.03, allocations: 41.7 kB / 0.5987 GB, free: 40.24 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007552/1.031, allocations: 1.504 MB / 0.6001 GB, free: 38.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002943/1.031, allocations: 418.5 kB / 0.6005 GB, free: 38.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/1.031, allocations: 52 kB / 0.6006 GB, free: 38.25 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001634/1.031, allocations: 420.3 kB / 0.601 GB, free: 37.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001304/1.033, allocations: 0.7355 MB / 0.6017 GB, free: 37.09 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001898/1.035, allocations: 2.157 MB / 0.6038 GB, free: 34.23 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001928/1.037, allocations: 1.273 MB / 0.605 GB, free: 32.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.72e-05/1.037, allocations: 16 kB / 0.6051 GB, free: 32.94 MB / 442.7 MB Notification: Performance of matching and sorting (n=341) (initialization): time 0.005059/1.042, allocations: 2.725 MB / 0.6077 GB, free: 30.21 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.678e-05/1.042, allocations: 31.98 kB / 0.6077 GB, free: 30.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.871e-05/1.042, allocations: 52 kB / 0.6078 GB, free: 30.12 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.681e-05/1.042, allocations: 76 kB / 0.6079 GB, free: 30.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002291/1.044, allocations: 0.6043 MB / 0.6085 GB, free: 29.45 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-05/1.044, allocations: 99.64 kB / 0.6086 GB, free: 29.35 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00189/1.046, allocations: 120.2 kB / 0.6087 GB, free: 29.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002457/1.046, allocations: 144 kB / 0.6088 GB, free: 29.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 231 * Number of states: 0 () * Number of discrete variables: 38 (jointSSP.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],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (341): * Single equations (assignments): 341 * 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.0003705/1.047, allocations: 323.6 kB / 0.6091 GB, free: 28.77 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002306/1.047, allocations: 161.9 kB / 0.6093 GB, free: 28.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002197/1.049, allocations: 1.218 MB / 0.6105 GB, free: 27.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.2e-05/1.049, allocations: 12 kB / 0.6105 GB, free: 27.37 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.201e-06/1.049, allocations: 3.953 kB / 0.6105 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.049, allocations: 3.984 kB / 0.6105 GB, free: 27.36 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009731/1.059, allocations: 6.142 MB / 0.6165 GB, free: 20.83 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-05/1.059, allocations: 20 kB / 0.6165 GB, free: 20.81 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008377/1.06, allocations: 207.6 kB / 0.6167 GB, free: 20.61 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.328e-05/1.06, allocations: 28 kB / 0.6167 GB, free: 20.58 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/1.06, allocations: 44 kB / 0.6168 GB, free: 20.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.808e-05/1.06, allocations: 40.27 kB / 0.6168 GB, free: 20.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.233e-05/1.06, allocations: 39.77 kB / 0.6168 GB, free: 20.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002188/1.062, allocations: 3.113 MB / 0.6199 GB, free: 16.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004073/1.063, allocations: 262.9 kB / 0.6201 GB, free: 15.96 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002296/1.063, allocations: 43.98 kB / 0.6202 GB, free: 15.91 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009236/1.064, allocations: 39.98 kB / 0.6202 GB, free: 15.88 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001515/1.064, allocations: 139.4 kB / 0.6203 GB, free: 15.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.48e-05/1.064, allocations: 56 kB / 0.6204 GB, free: 15.68 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001821/1.066, allocations: 1.111 MB / 0.6215 GB, free: 14.58 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.98e-07/1.066, allocations: 0 / 0.6215 GB, free: 14.58 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002603/1.069, allocations: 476.6 kB / 0.6219 GB, free: 14.11 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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.0003242/1.069, allocations: 202.6 kB / 0.6221 GB, free: 13.9 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002769/1.072, allocations: 1.627 MB / 0.6237 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.878e-06/1.072, allocations: 5 kB / 0.6237 GB, free: 12.29 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007128/1.073, allocations: 460.1 kB / 0.6242 GB, free: 11.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/1.074, allocations: 249.4 kB / 0.6244 GB, free: 11.6 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007561/1.082, allocations: 4.276 MB / 0.6286 GB, free: 7 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002354/1.084, allocations: 2.139 MB / 0.6307 GB, free: 4.828 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005091/1.085, allocations: 139.4 kB / 0.6308 GB, free: 4.691 MB / 442.7 MB Notification: Performance of SimCode: time 1.779e-06/1.085, allocations: 0 / 0.6308 GB, free: 4.691 MB / 442.7 MB Notification: Performance of Templates: time 0.04759/1.132, allocations: 26.56 MB / 0.6567 GB, free: 10.13 MB / 474.7 MB