Running command: translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") Notification: Performance of loadModel(PlanarMechanics): time 1.935/1.935, allocations: 234.8 MB / 247 MB, free: 1.922 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.915e-05/2.928e-05, allocations: 0 / 302.2 MB, free: 14.52 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09446/0.09452, allocations: 52.38 MB / 354.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3904/0.485, allocations: 95.62 MB / 450.2 MB, free: 1.355 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000211/0.4853, allocations: 83.95 kB / 450.3 MB, free: 1.273 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6538/1.139, allocations: 110.5 MB / 0.5477 GB, free: 97.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.827e-06/1.139, allocations: 0 / 0.5477 GB, free: 97.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001889/1.139, allocations: 88.56 kB / 0.5477 GB, free: 97.14 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: 2108 * Number of variables: 2108 Notification: Performance of Generate backend data structure: time 0.018/1.157, allocations: 4.931 MB / 0.5526 GB, free: 95.05 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.137e-05/1.157, allocations: 7.406 kB / 0.5526 GB, free: 95.05 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02283/1.18, allocations: 3.739 MB / 0.5562 GB, free: 94.67 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007841/1.188, allocations: 2.926 MB / 0.5591 GB, free: 93.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004687/1.189, allocations: 403 kB / 0.5595 GB, free: 93.96 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002692/1.191, allocations: 0.5003 MB / 0.56 GB, free: 93.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0327/1.224, allocations: 14.27 MB / 0.5739 GB, free: 88.77 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001893/1.224, allocations: 59.53 kB / 0.5739 GB, free: 88.73 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001617/1.226, allocations: 249.7 kB / 0.5742 GB, free: 88.61 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002822/1.229, allocations: 1.635 MB / 0.5758 GB, free: 88.27 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02964/1.258, allocations: 12.64 MB / 0.5881 GB, free: 83.9 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07124/1.33, allocations: 57.61 MB / 0.6444 GB, free: 28.23 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009116/1.339, allocations: 4.041 MB / 0.6483 GB, free: 23.93 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002532/1.341, allocations: 1.399 MB / 0.6497 GB, free: 22.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01112/1.353, allocations: 6.422 MB / 0.656 GB, free: 15.65 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.88e-05/1.353, allocations: 55.88 kB / 0.656 GB, free: 15.59 MB / 442.7 MB Notification: Performance of pre-optimization done (n=217): time 6.987e-06/1.353, allocations: 0 / 0.656 GB, free: 15.59 MB / 442.7 MB Notification: Performance of matching and sorting (n=231): time 0.02085/1.374, allocations: 8.358 MB / 0.6642 GB, free: 7.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.209e-05/1.374, allocations: 157.8 kB / 0.6643 GB, free: 6.992 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008657/1.382, allocations: 4.486 MB / 0.6687 GB, free: 2.5 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003436/1.383, allocations: 53.7 kB / 0.6688 GB, free: 2.441 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003469/1.386, allocations: 4.028 MB / 0.6727 GB, free: 14.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001383/1.388, allocations: 0.8909 MB / 0.6736 GB, free: 13.53 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007641/1.388, allocations: 152 kB / 0.6737 GB, free: 13.38 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0006999/1.389, allocations: 0.6446 MB / 0.6743 GB, free: 12.73 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005604/1.395, allocations: 2.362 MB / 0.6766 GB, free: 10.36 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01088/1.406, allocations: 7.182 MB / 0.6837 GB, free: 0.7422 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2764/1.682, allocations: 4.246 MB / 0.6878 GB, free: 96 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001408/1.682, allocations: 49.56 kB / 0.6879 GB, free: 96 MB / 458.7 MB Notification: Performance of matching and sorting (n=1031) (initialization): time 0.02253/1.705, allocations: 8.932 MB / 0.6966 GB, free: 95.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001621/1.705, allocations: 79.94 kB / 0.6967 GB, free: 95.33 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002746/1.705, allocations: 172.8 kB / 0.6968 GB, free: 95.33 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001074/1.706, allocations: 382.5 kB / 0.6972 GB, free: 95.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00812/1.715, allocations: 1.799 MB / 0.6989 GB, free: 95.16 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004097/1.719, allocations: 2.804 MB / 0.7017 GB, free: 93.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00771/1.726, allocations: 416.3 kB / 0.7021 GB, free: 93.72 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001751/1.728, allocations: 493.9 kB / 0.7025 GB, free: 93.72 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 790 * Number of states: 0 () * Number of discrete variables: 29 (worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],cutForce.world.gravityArrowColor[3],cutForce.world.gravityArrowColor[2],cutForce.world.gravityArrowColor[1],cutForce.world.axisColor_x[3],cutForce.world.axisColor_x[2],cutForce.world.axisColor_x[1],cutForce.world.groundColor[3],cutForce.world.groundColor[2],cutForce.world.groundColor[1],cutForce.world.gravitySphereColor[3],cutForce.world.gravitySphereColor[2],cutForce.world.gravitySphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (969): * Single equations (assignments): 961 * Array equations: 7 * 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.001739/1.73, allocations: 0.6969 MB / 0.7032 GB, free: 93.45 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008404/1.731, allocations: 406.5 kB / 0.7036 GB, free: 93.45 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005624/1.736, allocations: 2.449 MB / 0.706 GB, free: 93.3 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001811/1.737, allocations: 42.28 kB / 0.706 GB, free: 93.3 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.135e-05/1.737, allocations: 4.422 kB / 0.706 GB, free: 93.3 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.652e-05/1.737, allocations: 8.109 kB / 0.7061 GB, free: 93.3 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02016/1.757, allocations: 8.422 MB / 0.7143 GB, free: 92.54 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.149e-05/1.757, allocations: 7.719 kB / 0.7143 GB, free: 92.54 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00188/1.759, allocations: 334.1 kB / 0.7146 GB, free: 92.52 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004912/1.759, allocations: 133.6 kB / 0.7147 GB, free: 92.52 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002319/1.76, allocations: 50.19 kB / 0.7148 GB, free: 92.51 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002896/1.763, allocations: 2.269 MB / 0.717 GB, free: 91.18 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.794e-06/1.763, allocations: 9.797 kB / 0.717 GB, free: 91.18 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008967/1.772, allocations: 5.661 MB / 0.7225 GB, free: 88.29 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001401/1.773, allocations: 496.3 kB / 0.723 GB, free: 87.93 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001011/1.774, allocations: 36.95 kB / 0.723 GB, free: 87.91 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002534/1.777, allocations: 104.6 kB / 0.7231 GB, free: 87.89 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005126/1.777, allocations: 133.3 kB / 0.7233 GB, free: 87.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/1.777, allocations: 69.14 kB / 0.7233 GB, free: 87.84 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.01106/1.789, allocations: 3.117 MB / 0.7264 GB, free: 86.68 MB / 458.7 MB Notification: Performance of sort global known variables: time 2.118e-06/1.789, allocations: 0 / 0.7264 GB, free: 86.68 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01424/1.803, allocations: 1.175 MB / 0.7275 GB, free: 86.54 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * 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 (171): * Single equations (assignments): 163 * Array equations: 7 * 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%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007844/1.804, allocations: 195.5 kB / 0.7277 GB, free: 86.41 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0199/1.824, allocations: 5.372 MB / 0.733 GB, free: 84.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.38e-05/1.824, allocations: 4.594 kB / 0.733 GB, free: 84.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004917/1.829, allocations: 1.467 MB / 0.7344 GB, free: 83.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006374/1.835, allocations: 0.5201 MB / 0.7349 GB, free: 83.73 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03691/1.872, allocations: 9.429 MB / 0.7441 GB, free: 80.17 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0121/1.884, allocations: 4.237 MB / 0.7483 GB, free: 78.54 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008724/1.893, allocations: 2.472 MB / 0.7507 GB, free: 78.35 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001291/1.894, allocations: 302.2 kB / 0.751 GB, free: 78.33 MB / 458.7 MB Notification: Performance of SimCode: time 1.74e-06/1.894, allocations: 0 / 0.751 GB, free: 78.33 MB / 458.7 MB Notification: Performance of Templates: time 0.1128/2.007, allocations: 37.15 MB / 0.7872 GB, free: 52.64 MB / 458.7 MB