Running command: translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") Notification: Performance of loadModel(PlanarMechanics): time 2.11/2.11, allocations: 234.8 MB / 247 MB, free: 2.066 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.592e-05/3.607e-05, allocations: 4 kB / 302.2 MB, free: 14.6 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0956/0.09567, allocations: 52.37 MB / 354.6 MB, free: 10.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3781/0.4738, allocations: 90.22 MB / 444.8 MB, free: 6.871 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/0.4741, allocations: 71.97 kB / 444.9 MB, free: 6.801 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2609/0.735, allocations: 68.47 MB / 0.5013 GB, free: 1.766 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.188e-06/0.7351, allocations: 3.938 kB / 0.5013 GB, free: 1.762 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000156/0.7352, allocations: 60 kB / 0.5014 GB, free: 1.703 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.01055/0.7458, allocations: 2.988 MB / 0.5043 GB, free: 14.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.7459, allocations: 15.97 kB / 0.5043 GB, free: 14.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01252/0.7584, allocations: 2.012 MB / 0.5063 GB, free: 12.62 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005631/0.7641, allocations: 1.787 MB / 0.508 GB, free: 10.79 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004243/0.7646, allocations: 258.5 kB / 0.5083 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001827/0.7664, allocations: 327.8 kB / 0.5086 GB, free: 10.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02314/0.7896, allocations: 8.08 MB / 0.5165 GB, free: 1.719 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001804/0.7898, allocations: 27.72 kB / 0.5165 GB, free: 1.691 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001556/0.7914, allocations: 147.9 kB / 0.5166 GB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00219/0.7936, allocations: 0.9629 MB / 0.5176 GB, free: 0.582 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2749/1.069, allocations: 7.18 MB / 0.5246 GB, free: 104 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0465/1.115, allocations: 26.98 MB / 0.5509 GB, free: 91.46 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00555/1.121, allocations: 2.096 MB / 0.553 GB, free: 90.36 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/1.123, allocations: 0.9048 MB / 0.5539 GB, free: 90.05 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01169/1.134, allocations: 5.502 MB / 0.5592 GB, free: 86.74 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/1.135, allocations: 41.16 kB / 0.5593 GB, free: 86.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=119): time 4.772e-06/1.135, allocations: 0 / 0.5593 GB, free: 86.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=135): time 0.01533/1.15, allocations: 6.1 MB / 0.5652 GB, free: 84 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.225e-05/1.15, allocations: 70.69 kB / 0.5653 GB, free: 83.93 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/1.155, allocations: 2.579 MB / 0.5678 GB, free: 82.94 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001971/1.155, allocations: 44.95 kB / 0.5679 GB, free: 82.9 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001492/1.157, allocations: 2.352 MB / 0.5702 GB, free: 81.1 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005371/1.157, allocations: 0.5202 MB / 0.5707 GB, free: 80.72 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003079/1.158, allocations: 82.28 kB / 0.5707 GB, free: 80.66 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002612/1.158, allocations: 493.7 kB / 0.5712 GB, free: 80.28 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002695/1.161, allocations: 1.264 MB / 0.5724 GB, free: 79.84 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004115/1.165, allocations: 3.662 MB / 0.576 GB, free: 76.16 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004285/1.169, allocations: 2.167 MB / 0.5781 GB, free: 75.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7e-05/1.169, allocations: 21.53 kB / 0.5782 GB, free: 75.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=551) (initialization): time 0.01208/1.181, allocations: 5.196 MB / 0.5832 GB, free: 73.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.388e-05/1.181, allocations: 48.38 kB / 0.5833 GB, free: 73.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.639e-05/1.181, allocations: 82.91 kB / 0.5834 GB, free: 73.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000954/1.182, allocations: 378 kB / 0.5837 GB, free: 73.27 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004338/1.187, allocations: 0.9153 MB / 0.5846 GB, free: 73.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006827/1.194, allocations: 8.212 MB / 0.5926 GB, free: 65.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/1.198, allocations: 219.5 kB / 0.5928 GB, free: 65.67 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007856/1.199, allocations: 256.4 kB / 0.5931 GB, free: 65.63 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 391 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[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 (504): * Single equations (assignments): 494 * 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: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(2,100.0%) 11,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007144/1.2, allocations: 431.4 kB / 0.5935 GB, free: 65.28 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004774/1.2, allocations: 235 kB / 0.5937 GB, free: 65.15 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003974/1.204, allocations: 2.139 MB / 0.5958 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001716/1.204, allocations: 26.75 kB / 0.5958 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.022e-05/1.204, allocations: 11.09 kB / 0.5958 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.858e-05/1.204, allocations: 5.297 kB / 0.5959 GB, free: 64.05 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.216, allocations: 5.62 MB / 0.6013 GB, free: 61.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/1.216, allocations: 7.844 kB / 0.6013 GB, free: 61.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001074/1.217, allocations: 172.6 kB / 0.6015 GB, free: 61.76 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005706/1.218, allocations: 153.5 kB / 0.6017 GB, free: 61.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001319/1.218, allocations: 31.83 kB / 0.6017 GB, free: 61.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/1.222, allocations: 4.657 MB / 0.6062 GB, free: 57.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.411e-06/1.222, allocations: 7.938 kB / 0.6062 GB, free: 57.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005087/1.227, allocations: 3.104 MB / 0.6093 GB, free: 54.12 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009563/1.228, allocations: 339.4 kB / 0.6096 GB, free: 53.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004721/1.229, allocations: 21.48 kB / 0.6096 GB, free: 53.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/1.23, allocations: 64.84 kB / 0.6097 GB, free: 53.73 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001793/1.23, allocations: 83.42 kB / 0.6098 GB, free: 53.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001181/1.23, allocations: 40 kB / 0.6098 GB, free: 53.64 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003677/1.234, allocations: 1.81 MB / 0.6116 GB, free: 52.01 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.235e-06/1.234, allocations: 0 / 0.6116 GB, free: 52.01 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005118/1.239, allocations: 0.7293 MB / 0.6123 GB, free: 51.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 92 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 6,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000491/1.24, allocations: 180.9 kB / 0.6124 GB, free: 51.12 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006233/1.246, allocations: 3.379 MB / 0.6157 GB, free: 47.96 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.61e-06/1.246, allocations: 0 / 0.6157 GB, free: 47.96 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/1.248, allocations: 1.045 MB / 0.6168 GB, free: 46.97 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/1.25, allocations: 372.1 kB / 0.6171 GB, free: 46.68 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01288/1.263, allocations: 5.408 MB / 0.6224 GB, free: 41.77 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004751/1.268, allocations: 2.822 MB / 0.6252 GB, free: 39.57 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004325/1.272, allocations: 1.214 MB / 0.6263 GB, free: 38.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007051/1.273, allocations: 178.3 kB / 0.6265 GB, free: 38.64 MB / 442.7 MB Notification: Performance of SimCode: time 1.998e-06/1.273, allocations: 0 / 0.6265 GB, free: 38.64 MB / 442.7 MB Notification: Performance of Templates: time 0.06737/1.34, allocations: 24.38 MB / 0.6503 GB, free: 17.23 MB / 442.7 MB