Running command: translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") Notification: Performance of loadModel(PlanarMechanics): time 2.073/2.073, allocations: 234.8 MB / 247 MB, free: 2.082 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.494e-05/3.491e-05, allocations: 4 kB / 302.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1006, allocations: 52.37 MB / 354.6 MB, free: 10.16 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.373/0.4737, allocations: 88.48 MB / 443.1 MB, free: 8.598 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4739, allocations: 79.89 kB / 443.1 MB, free: 8.52 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2374/0.7113, allocations: 62.05 MB / 0.4934 GB, free: 9.938 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.005e-06/0.7114, allocations: 0 / 0.4934 GB, free: 9.938 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001263/0.7115, allocations: 52 kB / 0.4934 GB, free: 9.887 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: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.009554/0.7211, allocations: 2.736 MB / 0.4961 GB, free: 7.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.7211, allocations: 12.59 kB / 0.4961 GB, free: 7.078 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01251/0.7337, allocations: 1.961 MB / 0.498 GB, free: 5.109 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005049/0.7387, allocations: 1.669 MB / 0.4996 GB, free: 3.395 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000378/0.7392, allocations: 225.8 kB / 0.4999 GB, free: 3.172 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001662/0.7408, allocations: 295.9 kB / 0.5001 GB, free: 2.883 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02144/0.7623, allocations: 7.501 MB / 0.5075 GB, free: 11.01 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001542/0.7625, allocations: 23.72 kB / 0.5075 GB, free: 10.99 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001408/0.7639, allocations: 135.9 kB / 0.5076 GB, free: 10.86 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002063/0.766, allocations: 0.896 MB / 0.5085 GB, free: 9.957 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.7845, allocations: 6.829 MB / 0.5152 GB, free: 3.121 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2961/1.081, allocations: 24.12 MB / 0.5387 GB, free: 96.16 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005978/1.087, allocations: 2.098 MB / 0.5408 GB, free: 95.54 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001513/1.088, allocations: 0.6938 MB / 0.5414 GB, free: 95.52 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007067/1.095, allocations: 4.003 MB / 0.5453 GB, free: 93.38 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/1.095, allocations: 43.34 kB / 0.5454 GB, free: 93.34 MB / 442.7 MB Notification: Performance of pre-optimization done (n=114): time 5.255e-06/1.095, allocations: 0 / 0.5454 GB, free: 93.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=117): time 0.01127/1.107, allocations: 3.759 MB / 0.5491 GB, free: 92.52 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.403e-05/1.107, allocations: 64.5 kB / 0.5491 GB, free: 92.46 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005694/1.112, allocations: 2.29 MB / 0.5514 GB, free: 92.19 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001926/1.113, allocations: 41.22 kB / 0.5514 GB, free: 92.16 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001436/1.114, allocations: 2.11 MB / 0.5535 GB, free: 91.02 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005182/1.115, allocations: 469.4 kB / 0.5539 GB, free: 90.76 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003418/1.115, allocations: 69.5 kB / 0.554 GB, free: 90.76 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002572/1.115, allocations: 464.8 kB / 0.5544 GB, free: 90.45 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002328/1.118, allocations: 1.103 MB / 0.5555 GB, free: 90.16 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00344/1.121, allocations: 3.215 MB / 0.5586 GB, free: 86.94 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00357/1.125, allocations: 1.922 MB / 0.5605 GB, free: 86.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.157e-05/1.125, allocations: 19.66 kB / 0.5605 GB, free: 86.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=486) (initialization): time 0.009602/1.134, allocations: 4.08 MB / 0.5645 GB, free: 85.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.727e-05/1.135, allocations: 37.44 kB / 0.5645 GB, free: 85.09 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.042e-05/1.135, allocations: 78.41 kB / 0.5646 GB, free: 85.09 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001274/1.135, allocations: 110.3 kB / 0.5647 GB, free: 85.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003817/1.139, allocations: 0.8461 MB / 0.5656 GB, free: 84.98 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001238/1.139, allocations: 154.4 kB / 0.5657 GB, free: 84.95 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003649/1.142, allocations: 185.3 kB / 0.5659 GB, free: 84.89 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007002/1.143, allocations: 225.5 kB / 0.5661 GB, free: 84.86 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 344 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (458): * Single equations (assignments): 453 * Array equations: 5 * 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.0007291/1.144, allocations: 388.6 kB / 0.5665 GB, free: 84.54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005435/1.144, allocations: 205.2 kB / 0.5667 GB, free: 84.43 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00291/1.147, allocations: 1.326 MB / 0.568 GB, free: 83.93 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002048/1.148, allocations: 33.28 kB / 0.568 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.032e-06/1.148, allocations: 3.953 kB / 0.568 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.396e-05/1.148, allocations: 3.75 kB / 0.568 GB, free: 83.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01056/1.158, allocations: 4.689 MB / 0.5726 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/1.158, allocations: 7.25 kB / 0.5726 GB, free: 82.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001163/1.159, allocations: 180.6 kB / 0.5727 GB, free: 82.03 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/1.16, allocations: 10.88 kB / 0.5728 GB, free: 82.03 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.811e-05/1.16, allocations: 30.23 kB / 0.5728 GB, free: 82.02 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.179e-05/1.16, allocations: 6.906 kB / 0.5728 GB, free: 82.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.309e-06/1.16, allocations: 15.25 kB / 0.5728 GB, free: 82.02 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003833/1.164, allocations: 2.65 MB / 0.5754 GB, free: 80.36 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008195/1.164, allocations: 304.9 kB / 0.5757 GB, free: 80.12 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003711/1.165, allocations: 26.55 kB / 0.5757 GB, free: 80.11 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001105/1.166, allocations: 51.84 kB / 0.5758 GB, free: 80.1 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/1.166, allocations: 67.2 kB / 0.5758 GB, free: 80.08 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000114/1.166, allocations: 41.67 kB / 0.5759 GB, free: 80.07 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002981/1.169, allocations: 1.62 MB / 0.5774 GB, free: 79.43 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.072e-06/1.169, allocations: 0 / 0.5774 GB, free: 79.43 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004149/1.173, allocations: 0.6289 MB / 0.5781 GB, free: 79.36 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 85 * Array equations: 5 * 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.0004096/1.174, allocations: 167.8 kB / 0.5782 GB, free: 79.24 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004935/1.179, allocations: 2.412 MB / 0.5806 GB, free: 78.44 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.343e-06/1.179, allocations: 0 / 0.5806 GB, free: 78.44 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001109/1.18, allocations: 0.5922 MB / 0.5812 GB, free: 78.23 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002107/1.182, allocations: 338.7 kB / 0.5815 GB, free: 78.11 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01237/1.194, allocations: 5.202 MB / 0.5866 GB, free: 75.92 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004305/1.199, allocations: 2.62 MB / 0.5891 GB, free: 74.73 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004272/1.203, allocations: 1.12 MB / 0.5902 GB, free: 74.64 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007589/1.204, allocations: 158.3 kB / 0.5904 GB, free: 74.63 MB / 442.7 MB Notification: Performance of SimCode: time 1.941e-06/1.204, allocations: 0 / 0.5904 GB, free: 74.63 MB / 442.7 MB Notification: Performance of Templates: time 0.05863/1.263, allocations: 20.76 MB / 0.6106 GB, free: 60.73 MB / 442.7 MB