Running command: translateModel(PlanarMechanics.Examples.CraneCrabTo3D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.CraneCrabTo3D") Notification: Performance of loadModel(PlanarMechanics): time 2.247/2.247, allocations: 234.8 MB / 247 MB, free: 2.047 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.196e-05, allocations: 0 / 302.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09612/0.09617, allocations: 52.37 MB / 354.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3864/0.4826, allocations: 101.6 MB / 456.2 MB, free: 11.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.4829, allocations: 73.19 kB / 456.3 MB, free: 11.35 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7092/1.192, allocations: 119.8 MB / 0.5626 GB, free: 98.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.967e-06/1.192, allocations: 0 / 0.5626 GB, free: 98.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002547/1.192, allocations: 99 kB / 0.5627 GB, free: 98.12 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: 2075 * Number of variables: 2075 Notification: Performance of Generate backend data structure: time 0.0192/1.212, allocations: 5.336 MB / 0.5679 GB, free: 95.89 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/1.212, allocations: 7.5 kB / 0.5679 GB, free: 95.89 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02392/1.236, allocations: 3.887 MB / 0.5717 GB, free: 95.49 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0154/1.251, allocations: 4.953 MB / 0.5766 GB, free: 94.61 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004873/1.252, allocations: 403.6 kB / 0.5769 GB, free: 94.59 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002675/1.254, allocations: 0.5165 MB / 0.5774 GB, free: 94.5 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03429/1.289, allocations: 13.85 MB / 0.591 GB, free: 85.48 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002887/1.289, allocations: 63.41 kB / 0.591 GB, free: 85.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002484/1.291, allocations: 259.2 kB / 0.5913 GB, free: 85.21 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002662/1.294, allocations: 1.531 MB / 0.5928 GB, free: 83.67 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02662/1.321, allocations: 11.83 MB / 0.6043 GB, free: 71.83 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07726/1.398, allocations: 58.94 MB / 0.6619 GB, free: 11.55 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01416/1.412, allocations: 5.022 MB / 0.6668 GB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003462/1.416, allocations: 1.762 MB / 0.6685 GB, free: 4.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/1.436, allocations: 8.007 MB / 0.6763 GB, free: 12.24 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.276e-05/1.436, allocations: 63.77 kB / 0.6764 GB, free: 12.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=239): time 7.39e-06/1.436, allocations: 0 / 0.6764 GB, free: 12.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=269): time 0.3181/1.754, allocations: 13.06 MB / 0.6891 GB, free: 104.9 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.758e-05/1.754, allocations: 156.7 kB / 0.6893 GB, free: 104.7 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01233/1.766, allocations: 4.72 MB / 0.6939 GB, free: 104.4 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000421/1.767, allocations: 63.83 kB / 0.694 GB, free: 104.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003626/1.77, allocations: 4.119 MB / 0.698 GB, free: 103 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001366/1.772, allocations: 1.033 MB / 0.699 GB, free: 102.4 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007956/1.773, allocations: 161.3 kB / 0.6992 GB, free: 102.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006638/1.773, allocations: 0.6534 MB / 0.6998 GB, free: 102.1 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006434/1.78, allocations: 2.403 MB / 0.7021 GB, free: 102.1 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009584/1.789, allocations: 7.142 MB / 0.7091 GB, free: 95.94 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009103/1.799, allocations: 4.232 MB / 0.7132 GB, free: 95.89 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002931/1.799, allocations: 48.03 kB / 0.7133 GB, free: 95.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=1071) (initialization): time 0.02406/1.823, allocations: 9.155 MB / 0.7222 GB, free: 93.62 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001768/1.823, allocations: 82.58 kB / 0.7223 GB, free: 93.62 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002351/1.823, allocations: 168.7 kB / 0.7225 GB, free: 93.62 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001455/1.825, allocations: 493.8 kB / 0.7229 GB, free: 93.55 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0084/1.833, allocations: 1.857 MB / 0.7248 GB, free: 93.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006834/1.84, allocations: 4.832 MB / 0.7295 GB, free: 89.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008594/1.849, allocations: 471.2 kB / 0.7299 GB, free: 89.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001793/1.851, allocations: 487.4 kB / 0.7304 GB, free: 89.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 773 * Number of states: 0 () * Number of discrete variables: 36 (fixedRotation3D.color[3],fixedRotation3D.color[2],fixedRotation3D.color[1],body3D.sphereColor[3],body3D.sphereColor[2],body3D.sphereColor[1],prismatic3D.boxColor[3],prismatic3D.boxColor[2],prismatic3D.boxColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (1003): * Single equations (assignments): 995 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(3,88.9%) 16,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002171/1.853, allocations: 0.7084 MB / 0.7311 GB, free: 89.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001096/1.854, allocations: 460.5 kB / 0.7315 GB, free: 88.79 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0068/1.861, allocations: 2.901 MB / 0.7344 GB, free: 87.68 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.316e-05/1.861, allocations: 34.03 kB / 0.7344 GB, free: 87.68 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-05/1.861, allocations: 4.438 kB / 0.7344 GB, free: 87.68 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.788e-05/1.861, allocations: 11.3 kB / 0.7344 GB, free: 87.68 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02278/1.884, allocations: 8.934 MB / 0.7431 GB, free: 84.3 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.502e-05/1.884, allocations: 5.812 kB / 0.7431 GB, free: 84.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00241/1.886, allocations: 374.6 kB / 0.7435 GB, free: 84.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001007/1.887, allocations: 246.2 kB / 0.7437 GB, free: 84.21 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003954/1.888, allocations: 50.92 kB / 0.7438 GB, free: 84.19 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004773/1.893, allocations: 4.017 MB / 0.7477 GB, free: 81.04 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.076e-05/1.893, allocations: 16.86 kB / 0.7477 GB, free: 81.04 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01054/1.903, allocations: 6.493 MB / 0.7541 GB, free: 77.4 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.905, allocations: 0.5245 MB / 0.7546 GB, free: 77.01 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001156/1.906, allocations: 46.55 kB / 0.7546 GB, free: 76.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003205/1.909, allocations: 119.9 kB / 0.7547 GB, free: 76.96 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005978/1.91, allocations: 155.5 kB / 0.7549 GB, free: 76.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002394/1.91, allocations: 81.62 kB / 0.755 GB, free: 76.91 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007744/1.918, allocations: 3.295 MB / 0.7582 GB, free: 75.75 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.45e-06/1.918, allocations: 0 / 0.7582 GB, free: 75.75 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008831/1.927, allocations: 1.265 MB / 0.7594 GB, free: 75.6 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (revolute.phi,revolute.w,damper1D.s_rel,damper1D.v_rel,prismatic3D.s,prismatic3D.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (204): * Single equations (assignments): 196 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 15,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007183/1.928, allocations: 203.9 kB / 0.7596 GB, free: 75.45 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01191/1.939, allocations: 5.731 MB / 0.7652 GB, free: 73.43 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.394e-06/1.94, allocations: 0 / 0.7652 GB, free: 73.43 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003312/1.943, allocations: 1.727 MB / 0.7669 GB, free: 72.08 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004087/1.947, allocations: 0.5748 MB / 0.7674 GB, free: 71.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0233/1.97, allocations: 10.03 MB / 0.7772 GB, free: 62.55 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008621/1.979, allocations: 4.354 MB / 0.7815 GB, free: 59.29 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.009209/1.988, allocations: 2.716 MB / 0.7841 GB, free: 57.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00147/1.99, allocations: 328 kB / 0.7845 GB, free: 57.3 MB / 458.7 MB Notification: Performance of SimCode: time 3.022e-06/1.99, allocations: 0 / 0.7845 GB, free: 57.3 MB / 458.7 MB Notification: Performance of Templates: time 0.1146/2.104, allocations: 41.56 MB / 0.825 GB, free: 22.14 MB / 458.7 MB