Running command: translateModel(PlanarMechanics.Examples.CraneCrab,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrab") Notification: Performance of loadModel(PlanarMechanics): time 1.937/1.937, allocations: 234.8 MB / 247 MB, free: 1.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.071e-05/3.083e-05, allocations: 4.219 kB / 302.2 MB, free: 14.53 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09474/0.0948, allocations: 52.38 MB / 354.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3792/0.474, allocations: 88.01 MB / 442.6 MB, free: 8.965 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002086/0.4743, allocations: 75.95 kB / 442.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.226/0.7003, allocations: 61.46 MB / 0.4923 GB, free: 10.95 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.268e-06/0.7003, allocations: 4 kB / 0.4923 GB, free: 10.94 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001218/0.7005, allocations: 55.94 kB / 0.4924 GB, free: 10.89 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1144 * Number of variables: 1144 Notification: Performance of Generate backend data structure: time 0.01135/0.7118, allocations: 3.02 MB / 0.4953 GB, free: 7.805 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.7119, allocations: 11.97 kB / 0.4953 GB, free: 7.793 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01185/0.7237, allocations: 1.923 MB / 0.4972 GB, free: 5.863 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004816/0.7286, allocations: 1.676 MB / 0.4988 GB, free: 4.141 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002744/0.7289, allocations: 217.7 kB / 0.4991 GB, free: 3.926 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001205/0.7301, allocations: 283.9 kB / 0.4993 GB, free: 3.648 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01847/0.7486, allocations: 7.395 MB / 0.5065 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001273/0.7488, allocations: 23.78 kB / 0.5066 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006275/0.7494, allocations: 135.8 kB / 0.5067 GB, free: 11.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001739/0.7512, allocations: 0.8647 MB / 0.5075 GB, free: 10.87 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01809/0.7693, allocations: 6.837 MB / 0.5142 GB, free: 4.023 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3075/1.077, allocations: 23.88 MB / 0.5375 GB, free: 95.34 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006924/1.084, allocations: 2.313 MB / 0.5398 GB, free: 94.74 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001839/1.086, allocations: 0.7823 MB / 0.5406 GB, free: 94.73 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009414/1.095, allocations: 4.594 MB / 0.545 GB, free: 92.54 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/1.095, allocations: 48.84 kB / 0.5451 GB, free: 92.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=129): time 6.638e-06/1.095, allocations: 1.469 kB / 0.5451 GB, free: 92.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=153): time 0.01805/1.113, allocations: 6.152 MB / 0.5511 GB, free: 91.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.493e-05/1.113, allocations: 63.59 kB / 0.5512 GB, free: 91.33 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004422/1.118, allocations: 2.28 MB / 0.5534 GB, free: 91.06 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002173/1.118, allocations: 45.33 kB / 0.5534 GB, free: 91.03 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00137/1.119, allocations: 2.046 MB / 0.5554 GB, free: 89.74 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00059/1.12, allocations: 0.5749 MB / 0.556 GB, free: 89.32 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002519/1.12, allocations: 75.72 kB / 0.5561 GB, free: 89.26 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002483/1.121, allocations: 482.1 kB / 0.5565 GB, free: 88.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002606/1.123, allocations: 1.217 MB / 0.5577 GB, free: 88.48 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003678/1.127, allocations: 3.268 MB / 0.5609 GB, free: 85.3 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003886/1.131, allocations: 2.052 MB / 0.5629 GB, free: 84.7 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-05/1.131, allocations: 21.94 kB / 0.5629 GB, free: 84.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=507) (initialization): time 0.01068/1.142, allocations: 4.485 MB / 0.5673 GB, free: 83.28 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.337e-05/1.142, allocations: 35.22 kB / 0.5673 GB, free: 83.28 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-05/1.142, allocations: 74.56 kB / 0.5674 GB, free: 83.28 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/1.143, allocations: 326.7 kB / 0.5677 GB, free: 83.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004005/1.147, allocations: 0.8558 MB / 0.5686 GB, free: 83.12 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005086/1.152, allocations: 3.324 MB / 0.5718 GB, free: 80.99 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003958/1.156, allocations: 197.6 kB / 0.572 GB, free: 80.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006806/1.157, allocations: 230.8 kB / 0.5722 GB, free: 80.89 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 333 * Number of states: 0 () * Number of discrete variables: 15 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (463): * Single equations (assignments): 458 * Array equations: 4 * 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 {(2,100.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006628/1.157, allocations: 379.8 kB / 0.5726 GB, free: 80.57 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004798/1.158, allocations: 215.6 kB / 0.5728 GB, free: 80.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003973/1.162, allocations: 1.941 MB / 0.5747 GB, free: 79.73 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001476/1.162, allocations: 28.3 kB / 0.5747 GB, free: 79.73 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.952e-06/1.162, allocations: 0 / 0.5747 GB, free: 79.73 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.239e-05/1.162, allocations: 12.11 kB / 0.5747 GB, free: 79.73 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01283/1.175, allocations: 5.615 MB / 0.5802 GB, free: 77.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/1.175, allocations: 3.219 kB / 0.5802 GB, free: 77.57 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001237/1.176, allocations: 204 kB / 0.5804 GB, free: 77.55 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008431/1.177, allocations: 219.2 kB / 0.5806 GB, free: 77.5 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001442/1.177, allocations: 29.41 kB / 0.5806 GB, free: 77.48 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/1.181, allocations: 2.691 MB / 0.5833 GB, free: 75.66 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.359e-06/1.181, allocations: 11.16 kB / 0.5833 GB, free: 75.66 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005348/1.186, allocations: 3.191 MB / 0.5864 GB, free: 74.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008545/1.187, allocations: 314 kB / 0.5867 GB, free: 73.88 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003951/1.188, allocations: 31.88 kB / 0.5867 GB, free: 73.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001143/1.189, allocations: 64.33 kB / 0.5868 GB, free: 73.84 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/1.189, allocations: 87.61 kB / 0.5869 GB, free: 73.82 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.189, allocations: 43.56 kB / 0.5869 GB, free: 73.81 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003006/1.192, allocations: 1.615 MB / 0.5885 GB, free: 73.17 MB / 442.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.192, allocations: 0 / 0.5885 GB, free: 73.17 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00401/1.196, allocations: 0.693 MB / 0.5892 GB, free: 73.09 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 4 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 107 * Array equations: 4 * 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 {(2,100.0%) 15} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003717/1.197, allocations: 161.5 kB / 0.5893 GB, free: 72.96 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005596/1.202, allocations: 2.917 MB / 0.5922 GB, free: 71.91 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.194e-06/1.202, allocations: 3.688 kB / 0.5922 GB, free: 71.91 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001808/1.204, allocations: 0.9645 MB / 0.5931 GB, free: 71.51 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002157/1.206, allocations: 352.4 kB / 0.5934 GB, free: 71.38 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01104/1.217, allocations: 5.229 MB / 0.5986 GB, free: 67.25 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00335/1.221, allocations: 2.621 MB / 0.6011 GB, free: 65.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003888/1.225, allocations: 1.175 MB / 0.6023 GB, free: 64.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006428/1.225, allocations: 170.1 kB / 0.6024 GB, free: 64.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.76e-06/1.225, allocations: 0 / 0.6024 GB, free: 64.28 MB / 442.7 MB Notification: Performance of Templates: time 0.06332/1.289, allocations: 23.44 MB / 0.6253 GB, free: 45.05 MB / 442.7 MB