Notification: Performance of FrontEnd - loaded program: time 2.103e-05/2.122e-05, allocations: 4 kB / 337.3 MB, free: 6.848 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2275, allocations: 44.52 MB / 381.8 MB, free: 77.69 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1128/0.3403, allocations: 80.01 MB / 461.9 MB, free: 6.402 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003863/0.3408, allocations: 91.88 kB / 461.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.2229/0.5636, allocations: 50.01 MB / 0.5 GB, free: 3.82 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.031e-06/0.5637, allocations: 0 / 0.5 GB, free: 3.82 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001086/0.5638, allocations: 48 kB / 0.5 GB, free: 3.773 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1094 * Number of variables: 1094 Notification: Performance of Generate backend data structure: time 0.005869/0.5697, allocations: 2.404 MB / 0.5024 GB, free: 1.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.5698, allocations: 8.031 kB / 0.5024 GB, free: 1.305 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1598/0.7296, allocations: 2.022 MB / 0.5043 GB, free: 87.14 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003541/0.7331, allocations: 1.391 MB / 0.5057 GB, free: 86.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002203/0.7334, allocations: 126.8 kB / 0.5058 GB, free: 86.91 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001196/0.7346, allocations: 179.8 kB / 0.506 GB, free: 86.91 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01135/0.746, allocations: 4.133 MB / 0.51 GB, free: 86.89 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0124/0.7584, allocations: 6.827 MB / 0.5167 GB, free: 84.55 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001576/0.7586, allocations: 56.59 kB / 0.5167 GB, free: 84.55 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000496/0.7591, allocations: 26.94 kB / 0.5168 GB, free: 84.55 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001545/0.7607, allocations: 0.7904 MB / 0.5175 GB, free: 84.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03759/0.7983, allocations: 35.68 MB / 0.5524 GB, free: 57.64 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/0.8014, allocations: 1.927 MB / 0.5543 GB, free: 56.47 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001379/0.8028, allocations: 0.8635 MB / 0.5551 GB, free: 56.12 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.804e-05/0.8029, allocations: 18.16 kB / 0.5551 GB, free: 56.12 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.627e-05/0.8029, allocations: 55.92 kB / 0.5552 GB, free: 56.07 MB / 366.1 MB Notification: Performance of pre-optimization done (n=112): time 4.295e-06/0.8029, allocations: 0 / 0.5552 GB, free: 56.07 MB / 366.1 MB Notification: Performance of matching and sorting (n=112): time 0.02663/0.8296, allocations: 5.227 MB / 0.5603 GB, free: 55.4 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.948e-05/0.8297, allocations: 218.8 kB / 0.5605 GB, free: 55.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003829/0.8335, allocations: 2.369 MB / 0.5628 GB, free: 54.25 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001594/0.8337, allocations: 26.08 kB / 0.5628 GB, free: 54.21 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001453/0.8351, allocations: 2.432 MB / 0.5652 GB, free: 52.3 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004938/0.8357, allocations: 0.4901 MB / 0.5657 GB, free: 51.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.8359, allocations: 7.844 kB / 0.5657 GB, free: 51.95 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0003594/0.8363, allocations: 0.5737 MB / 0.5663 GB, free: 51.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/0.8389, allocations: 1.4 MB / 0.5676 GB, free: 51.04 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004087/0.843, allocations: 5.012 MB / 0.5725 GB, free: 45.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004235/0.8473, allocations: 2.683 MB / 0.5751 GB, free: 44.45 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-05/0.8474, allocations: 35.72 kB / 0.5752 GB, free: 44.45 MB / 366.1 MB Notification: Performance of matching and sorting (n=722) (initialization): time 0.01132/0.8587, allocations: 5.505 MB / 0.5806 GB, free: 39.92 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.983e-05/0.8588, allocations: 60 kB / 0.5806 GB, free: 39.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001256/0.859, allocations: 132 kB / 0.5807 GB, free: 39.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001994/0.8592, allocations: 188.8 kB / 0.5809 GB, free: 39.55 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007373/0.8666, allocations: 1.556 MB / 0.5824 GB, free: 38.23 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001943/0.8668, allocations: 256.3 kB / 0.5827 GB, free: 38.01 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005429/0.8723, allocations: 0.6422 MB / 0.5833 GB, free: 37.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001105/0.8734, allocations: 355.4 kB / 0.5836 GB, free: 37.03 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 598 * Number of states: 0 () * Number of discrete variables: 27 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],body4.sphereColor[3],body4.sphereColor[2],body4.sphereColor[1],body3.sphereColor[3],body3.sphereColor[2],body3.sphereColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (698): * Single equations (assignments): 695 * Array equations: 3 * 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.0009627/0.8744, allocations: 420.7 kB / 0.584 GB, free: 36.62 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005459/0.8749, allocations: 237 kB / 0.5843 GB, free: 36.38 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001465/0.8764, allocations: 0.6763 MB / 0.5849 GB, free: 35.8 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-05/0.8765, allocations: 12 kB / 0.5849 GB, free: 35.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.467e-05/0.8765, allocations: 4.281 kB / 0.5849 GB, free: 35.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.469e-05/0.8765, allocations: 6.469 kB / 0.585 GB, free: 35.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005721/0.8823, allocations: 2.583 MB / 0.5875 GB, free: 33.66 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/0.8823, allocations: 3.938 kB / 0.5875 GB, free: 33.65 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003163/0.8855, allocations: 385.2 kB / 0.5878 GB, free: 33.38 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007378/0.8863, allocations: 138.1 kB / 0.588 GB, free: 33.28 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001838/0.8865, allocations: 31.3 kB / 0.588 GB, free: 33.26 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.8885, allocations: 2.646 MB / 0.5906 GB, free: 30.5 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.622e-06/0.8886, allocations: 12.12 kB / 0.5906 GB, free: 30.49 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05222/0.9408, allocations: 14.39 MB / 0.6047 GB, free: 16.78 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007276/0.9416, allocations: 285.8 kB / 0.6049 GB, free: 16.48 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005997/0.9422, allocations: 15.98 kB / 0.6049 GB, free: 16.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002763/0.945, allocations: 43.94 kB / 0.605 GB, free: 16.42 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000265/0.9453, allocations: 67.3 kB / 0.605 GB, free: 16.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001862/0.9455, allocations: 31.98 kB / 0.6051 GB, free: 16.33 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.004398/0.9499, allocations: 1.523 MB / 0.6066 GB, free: 14.8 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.331e-06/0.95, allocations: 0 / 0.6066 GB, free: 14.8 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.01085/0.9608, allocations: 0.9351 MB / 0.6075 GB, free: 13.87 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 24 (body3.r_0[1],body3.r_0[2],body3.r_0[3],body3.v_0[1],body3.v_0[2],body3.v_0[3],body4.r_0[1],body4.r_0[2],body4.r_0[3],body4.v_0[1],body4.v_0[2],body4.v_0[3],body2.r_0[1],body2.r_0[2],body2.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body1.r_0[1],body1.r_0[2],body1.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 3 * 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 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004588/0.9613, allocations: 168.1 kB / 0.6076 GB, free: 13.7 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.006765/0.9681, allocations: 3.159 MB / 0.6107 GB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 7.417e-06/0.9682, allocations: 0 / 0.6107 GB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002166/0.9703, allocations: 0.8895 MB / 0.6116 GB, free: 9.66 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.9718, allocations: 182 kB / 0.6118 GB, free: 9.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.988, allocations: 6.866 MB / 0.6185 GB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003566/0.9916, allocations: 2.457 MB / 0.6209 GB, free: 216 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.006885/0.9986, allocations: 1.753 MB / 0.6226 GB, free: 14.45 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001368/1, allocations: 191.4 kB / 0.6228 GB, free: 14.26 MB / 382.1 MB Notification: Performance of SimCode: time 5.191e-06/1, allocations: 0 / 0.6228 GB, free: 14.26 MB / 382.1 MB Notification: Performance of Templates: time 0.0964/1.096, allocations: 25.84 MB / 0.648 GB, free: 4.645 MB / 398.1 MB