Running command: translateModel(PlanarMechanics.Examples.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") Notification: Performance of loadModel(PlanarMechanics): time 1.948/1.948, allocations: 234.8 MB / 247 MB, free: 2.043 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.326e-05/3.336e-05, allocations: 0 / 302.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09624/0.0963, allocations: 52.37 MB / 354.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3939/0.4902, allocations: 96.27 MB / 450.9 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002075/0.4905, allocations: 77.41 kB / 450.9 MB, free: 0.707 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6588/1.149, allocations: 109.2 MB / 0.547 GB, free: 95.56 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.419e-06/1.149, allocations: 0 / 0.547 GB, free: 95.56 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001955/1.15, allocations: 92.77 kB / 0.5471 GB, free: 95.56 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: 2088 * Number of variables: 2088 Notification: Performance of Generate backend data structure: time 0.01563/1.165, allocations: 4.768 MB / 0.5517 GB, free: 93.49 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/1.165, allocations: 11.66 kB / 0.5518 GB, free: 93.49 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02204/1.187, allocations: 3.698 MB / 0.5554 GB, free: 93.11 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007797/1.195, allocations: 2.858 MB / 0.5582 GB, free: 92.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004607/1.196, allocations: 397.3 kB / 0.5585 GB, free: 92.47 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0026/1.198, allocations: 0.5113 MB / 0.559 GB, free: 92.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03064/1.229, allocations: 13.92 MB / 0.5726 GB, free: 87.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002204/1.229, allocations: 63.16 kB / 0.5727 GB, free: 87.47 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001723/1.231, allocations: 255.2 kB / 0.5729 GB, free: 87.35 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002691/1.234, allocations: 1.592 MB / 0.5745 GB, free: 87.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02791/1.262, allocations: 11.92 MB / 0.5861 GB, free: 82.92 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07125/1.333, allocations: 57.83 MB / 0.6426 GB, free: 28.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009144/1.342, allocations: 3.82 MB / 0.6463 GB, free: 24.73 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/1.347, allocations: 1.309 MB / 0.6476 GB, free: 23.41 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02135/1.368, allocations: 6.831 MB / 0.6543 GB, free: 16.12 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.165e-05/1.368, allocations: 59.48 kB / 0.6543 GB, free: 16.05 MB / 442.7 MB Notification: Performance of pre-optimization done (n=206): time 1.159e-05/1.368, allocations: 0 / 0.6543 GB, free: 16.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=228): time 0.04546/1.414, allocations: 10.59 MB / 0.6647 GB, free: 5.336 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.323e-05/1.414, allocations: 149.8 kB / 0.6648 GB, free: 5.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01463/1.428, allocations: 4.749 MB / 0.6695 GB, free: 416 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003157/1.429, allocations: 57.7 kB / 0.6695 GB, free: 352 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00697/1.436, allocations: 4.11 MB / 0.6735 GB, free: 12.28 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002057/1.438, allocations: 0.8885 MB / 0.6744 GB, free: 11.39 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/1.439, allocations: 163.3 kB / 0.6746 GB, free: 11.23 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.001209/1.44, allocations: 0.6533 MB / 0.6752 GB, free: 10.57 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007463/1.448, allocations: 2.394 MB / 0.6775 GB, free: 8.172 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3173/1.765, allocations: 7.449 MB / 0.6848 GB, free: 94.3 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00956/1.775, allocations: 4.332 MB / 0.689 GB, free: 94.28 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002164/1.775, allocations: 53.45 kB / 0.6891 GB, free: 94.28 MB / 458.7 MB Notification: Performance of matching and sorting (n=1078) (initialization): time 0.02465/1.8, allocations: 9.224 MB / 0.6981 GB, free: 93.64 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002171/1.8, allocations: 90.64 kB / 0.6982 GB, free: 93.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003499/1.8, allocations: 192.9 kB / 0.6984 GB, free: 93.63 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001453/1.802, allocations: 484 kB / 0.6988 GB, free: 93.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009183/1.811, allocations: 1.858 MB / 0.7006 GB, free: 93.45 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006019/1.817, allocations: 3.553 MB / 0.7041 GB, free: 91.98 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008081/1.825, allocations: 412.3 kB / 0.7045 GB, free: 91.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001582/1.827, allocations: 0.4991 MB / 0.705 GB, free: 91.98 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 832 * Number of states: 0 () * Number of discrete variables: 44 (distance.arrow.arrowLine.twoHeadedArrow,distance.arrow.headAtOrigin,distance.arrowColor[3],distance.arrowColor[2],distance.arrowColor[1],distance.world.gravityArrowColor[3],distance.world.gravityArrowColor[2],distance.world.gravityArrowColor[1],distance.world.axisColor_x[3],distance.world.axisColor_x[2],distance.world.axisColor_x[1],distance.world.groundColor[3],distance.world.groundColor[2],distance.world.groundColor[1],distance.world.gravitySphereColor[3],distance.world.gravitySphereColor[2],distance.world.gravitySphereColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[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 (1009): * Single equations (assignments): 1000 * Array equations: 8 * 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 {(3,88.9%) 16} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001419/1.828, allocations: 0.7381 MB / 0.7057 GB, free: 91.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007279/1.829, allocations: 431.7 kB / 0.7061 GB, free: 91.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00489/1.834, allocations: 2.396 MB / 0.7085 GB, free: 91.53 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002117/1.834, allocations: 39.72 kB / 0.7085 GB, free: 91.53 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.451e-05/1.834, allocations: 7.641 kB / 0.7085 GB, free: 91.53 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.417e-05/1.834, allocations: 11.25 kB / 0.7085 GB, free: 91.53 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01838/1.853, allocations: 8.063 MB / 0.7164 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.947e-05/1.853, allocations: 3.656 kB / 0.7164 GB, free: 90.75 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001852/1.855, allocations: 295.6 kB / 0.7167 GB, free: 90.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008566/1.855, allocations: 225.2 kB / 0.7169 GB, free: 90.68 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001904/1.856, allocations: 43.09 kB / 0.7169 GB, free: 90.66 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003636/1.859, allocations: 2.703 MB / 0.7196 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.838e-06/1.859, allocations: 8.125 kB / 0.7196 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008291/1.868, allocations: 5.364 MB / 0.7248 GB, free: 86.22 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001441/1.869, allocations: 0.5108 MB / 0.7253 GB, free: 85.84 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007525/1.87, allocations: 37.12 kB / 0.7254 GB, free: 85.82 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002144/1.872, allocations: 88.94 kB / 0.7254 GB, free: 85.8 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/1.872, allocations: 124.5 kB / 0.7256 GB, free: 85.78 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002003/1.873, allocations: 71.22 kB / 0.7256 GB, free: 85.77 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.007398/1.88, allocations: 3.291 MB / 0.7288 GB, free: 84.56 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.082e-06/1.88, allocations: 1.859 kB / 0.7288 GB, free: 84.56 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.008443/1.889, allocations: 1.214 MB / 0.73 GB, free: 84.41 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 4 (revolute.phi,revolute.w,prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (162): * Single equations (assignments): 153 * Array equations: 8 * 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.0004801/1.889, allocations: 185 kB / 0.7302 GB, free: 84.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01117/1.9, allocations: 5.473 MB / 0.7356 GB, free: 82.38 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.574e-06/1.9, allocations: 8.094 kB / 0.7356 GB, free: 82.37 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002563/1.903, allocations: 1.382 MB / 0.7369 GB, free: 81.82 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.906, allocations: 0.5442 MB / 0.7374 GB, free: 81.58 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0248/1.931, allocations: 9.311 MB / 0.7465 GB, free: 78.01 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00972/1.941, allocations: 4.177 MB / 0.7506 GB, free: 76.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.008862/1.95, allocations: 2.538 MB / 0.7531 GB, free: 76.23 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001253/1.951, allocations: 310.1 kB / 0.7534 GB, free: 76.21 MB / 458.7 MB Notification: Performance of SimCode: time 1.776e-06/1.951, allocations: 0 / 0.7534 GB, free: 76.21 MB / 458.7 MB Notification: Performance of Templates: time 0.1134/2.064, allocations: 38.37 MB / 0.7909 GB, free: 48.66 MB / 458.7 MB