Running command: translateModel(ModelicaTest.MultiBody.Joints.JointSSR,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadModel(ModelicaTest): time 2.375/2.375, allocations: 270 MB / 282.7 MB, free: 1.781 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.003e-05/3.013e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3664/0.3665, allocations: 61.89 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.163/0.5295, allocations: 108.7 MB / 0.5055 GB, free: 13.85 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002408/0.5298, allocations: 75.97 kB / 0.5055 GB, free: 13.77 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4656/0.9954, allocations: 54.43 MB / 0.5587 GB, free: 82.54 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.152e-06/0.9954, allocations: 0 / 0.5587 GB, free: 82.54 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001129/0.9955, allocations: 56 kB / 0.5587 GB, free: 82.48 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: 822 * Number of variables: 822 Notification: Performance of Generate backend data structure: time 0.006805/1.002, allocations: 2.445 MB / 0.5611 GB, free: 79.98 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/1.002, allocations: 8.031 kB / 0.5611 GB, free: 79.97 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002771/1.005, allocations: 444.1 kB / 0.5616 GB, free: 79.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003853/1.009, allocations: 1.489 MB / 0.563 GB, free: 78 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001839/1.009, allocations: 205.1 kB / 0.5632 GB, free: 77.8 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007808/1.01, allocations: 252 kB / 0.5635 GB, free: 77.55 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01595/1.026, allocations: 6.259 MB / 0.5696 GB, free: 70.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.283e-05/1.026, allocations: 11.88 kB / 0.5696 GB, free: 70.97 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/1.027, allocations: 116 kB / 0.5697 GB, free: 70.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000675/1.027, allocations: 456 kB / 0.5701 GB, free: 70.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01413/1.041, allocations: 5.219 MB / 0.5752 GB, free: 65.18 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02612/1.068, allocations: 20.13 MB / 0.5949 GB, free: 44.5 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008262/1.076, allocations: 1.788 MB / 0.5966 GB, free: 42.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/1.077, allocations: 0.6553 MB / 0.5973 GB, free: 42.04 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006587/1.084, allocations: 4.724 MB / 0.6019 GB, free: 36.91 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/1.084, allocations: 43.16 kB / 0.6019 GB, free: 36.85 MB / 442.7 MB Notification: Performance of pre-optimization done (n=70): time 4.219e-06/1.084, allocations: 0 / 0.6019 GB, free: 36.85 MB / 442.7 MB Notification: Performance of matching and sorting (n=110): time 0.03485/1.119, allocations: 7.067 MB / 0.6088 GB, free: 29.78 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.407e-05/1.119, allocations: 64.41 kB / 0.6089 GB, free: 29.7 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002511/1.121, allocations: 1.611 MB / 0.6105 GB, free: 28.09 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/1.121, allocations: 41.7 kB / 0.6105 GB, free: 28.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007529/1.122, allocations: 1.535 MB / 0.612 GB, free: 26.49 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003234/1.122, allocations: 414.5 kB / 0.6124 GB, free: 26.08 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001645/1.123, allocations: 59.94 kB / 0.6125 GB, free: 26.02 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/1.123, allocations: 420.5 kB / 0.6129 GB, free: 25.6 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001743/1.125, allocations: 0.9817 MB / 0.6138 GB, free: 24.62 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002391/1.127, allocations: 2.462 MB / 0.6162 GB, free: 21.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002509/1.129, allocations: 1.515 MB / 0.6177 GB, free: 19.89 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.657e-05/1.13, allocations: 16 kB / 0.6177 GB, free: 19.88 MB / 442.7 MB Notification: Performance of matching and sorting (n=353) (initialization): time 0.006145/1.136, allocations: 3.256 MB / 0.6209 GB, free: 16.62 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.773e-05/1.136, allocations: 28 kB / 0.6209 GB, free: 16.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-05/1.136, allocations: 55.95 kB / 0.621 GB, free: 16.54 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.882e-05/1.136, allocations: 80 kB / 0.621 GB, free: 16.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/1.139, allocations: 0.6824 MB / 0.6217 GB, free: 15.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.284e-05/1.139, allocations: 107.6 kB / 0.6218 GB, free: 15.67 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/1.141, allocations: 155.9 kB / 0.622 GB, free: 15.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/1.142, allocations: 163.9 kB / 0.6221 GB, free: 15.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 241 * Number of states: 0 () * Number of discrete variables: 38 (jointSSR.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],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (353): * Single equations (assignments): 353 * 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.0004696/1.142, allocations: 327.6 kB / 0.6224 GB, free: 15.03 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/1.142, allocations: 165.8 kB / 0.6226 GB, free: 14.87 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/1.146, allocations: 1.722 MB / 0.6243 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.457e-05/1.146, allocations: 15.95 kB / 0.6243 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/1.146, allocations: 0 / 0.6243 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/1.146, allocations: 3.984 kB / 0.6243 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009964/1.156, allocations: 5.588 MB / 0.6297 GB, free: 7.262 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.04e-05/1.156, allocations: 15.98 kB / 0.6298 GB, free: 7.246 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001199/1.157, allocations: 251.6 kB / 0.63 GB, free: 7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.319e-05/1.157, allocations: 16 kB / 0.63 GB, free: 6.984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-05/1.157, allocations: 32.5 kB / 0.6301 GB, free: 6.953 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.967e-05/1.157, allocations: 31.86 kB / 0.6301 GB, free: 6.922 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/1.157, allocations: 19.89 kB / 0.6301 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002459/1.16, allocations: 2.531 MB / 0.6326 GB, free: 3.762 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004092/1.16, allocations: 258.8 kB / 0.6328 GB, free: 3.488 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002525/1.16, allocations: 31.98 kB / 0.6328 GB, free: 3.457 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009581/1.161, allocations: 63.94 kB / 0.6329 GB, free: 3.395 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/1.161, allocations: 100.2 kB / 0.633 GB, free: 3.297 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.792e-05/1.162, allocations: 44 kB / 0.633 GB, free: 3.254 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001888/1.163, allocations: 1.172 MB / 0.6342 GB, free: 2.09 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.69e-07/1.163, allocations: 0 / 0.6342 GB, free: 2.09 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002583/1.166, allocations: 0.5038 MB / 0.6347 GB, free: 1.586 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 51 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (110): * Single equations (assignments): 110 * 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.0003706/1.166, allocations: 192.2 kB / 0.6349 GB, free: 1.391 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003964/1.17, allocations: 2.088 MB / 0.6369 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 8.672e-06/1.17, allocations: 0 / 0.6369 GB, free: 15.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001257/1.172, allocations: 0.583 MB / 0.6375 GB, free: 14.74 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001531/1.173, allocations: 242.2 kB / 0.6377 GB, free: 14.5 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01041/1.184, allocations: 4.21 MB / 0.6418 GB, free: 10.09 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003138/1.187, allocations: 2.118 MB / 0.6439 GB, free: 7.934 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008187/1.188, allocations: 147.4 kB / 0.644 GB, free: 7.789 MB / 458.7 MB Notification: Performance of SimCode: time 1.885e-06/1.188, allocations: 3.938 kB / 0.644 GB, free: 7.785 MB / 458.7 MB Notification: Performance of Templates: time 0.05399/1.242, allocations: 28.92 MB / 0.6723 GB, free: 10.89 MB / 490.7 MB